<div dir="ltr"><pre>I'm having trouble with av_find_stream_info(). It always says that the
nb_streams is 0. Why is this?.
Basically, my code consists of the classic arrangement:

av_register_all (),
av_open_input_file () and then 
av_find_stream_info ()

av_find_stream_info() doesn't fail, but the nb_streams field of the
AVFormatContext structure is always zero. I've tried different input
mpeg files and an avi file but it always returns '0'.

Anybody got any ideas?. I'm using version 5.1 avformat & avcodec.

Thanks in advance,</pre></div>