[FFmpeg-trac] #4706(avformat:new): av_guess_codec ignores short_name, filename, and mime_type

FFmpeg trac at avcodec.org
Thu Jul 9 08:57:59 CEST 2015


#4706: av_guess_codec ignores short_name, filename, and mime_type
------------------------------------+------------------------------------
             Reporter:  andrewrk    |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------

Comment (by cehoyos):

 Iiuc, you argue that the parameter short_name of av_guess_codec() should
 have precedence over the parameter fmt. Why do you think so? The function
 is there for over ten years, and its (arguably undocumented) behaviour was
 always that the fmt parameter has precendence.
 Or to say it differently: Why don't you pass "test.flac" to
 av_guess_format?

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4706#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list