[FFmpeg-trac] #618(avformat:new): avformat_open_input() error reporting can be misleading

FFmpeg trac at avcodec.org
Sun Nov 6 21:20:44 CET 2011


#618: avformat_open_input() error reporting can be misleading
----------------------------------+---------------------------------------
             Reporter:  teratorn  |                     Type:  enhancement
               Status:  new       |                 Priority:  normal
            Component:  avformat  |                  Version:  git-master
             Keywords:            |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+---------------------------------------
 Attemping to use avformat_open_input() without having called
 av_register_all() first results in ENOENT "No such file or directory". As
 an ffmpeg newcomer this was very confusing and I had to dig in to the guts
 of libavformat with a debugger before I figured out what was going on.

 Attached is a patch that introduces a new error code with an informative
 error message for this case.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/618>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list