#include <ffmpeg/avformat.h>

/* compile with
 * gcc -o testcase testcase.c -lavformat -lavcodec -lavutil -lm -lz
 */

int main( )
{
    AVFormatContext *ic;
    int i;

    av_register_all();

    for( i = 0 ; i < 10 ; i++ )
    {
        av_open_input_file (&ic, "0015_05.wmv", NULL, 0, NULL);
        av_find_stream_info(ic);
        av_close_input_file(ic);
    }

    return 0;
}
