[FFmpeg-devel] avformat_open_input

Liangcheng Fu kevinfu1985 at gmail.com
Thu Oct 31 06:52:40 CET 2013


i'm in the process of studying the frame work of ffmpeg and i encountered a
problem about understanding the source part which in function
"avformat_open_input" in libavformat:

/* check filename in case an image number is expected */

   if (s->iformat->flags & AVFMT_NEEDNUMBER) {

       if (!av_filename_number_test(filename)) {

           ret = AVERROR(EINVAL);

           goto fail;
       }
what does this part mean and why an image number is expected?
any advice will be appreciated!
Thank you!


More information about the ffmpeg-devel mailing list