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

FFmpeg trac at avcodec.org
Thu Jul 9 11:31:08 CEST 2015


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

Comment (by andrewrk):

 > Your code looks as if you had issues with avcodec_find_encoder_by_name()
 though: Which issues did you see?

 I'm sorry, I don't remember.

 > Why should this codec be overwritten if this is neither the documented
 behaviour of av_guess_codec() nor the behaviour since this function
 exists?

 I think what you said about this function being very old is reasonable. I
 would be satisfied with a resolution of updating the documentation for
 av_guess_codec to make it more clear what the role of the function is.

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


More information about the FFmpeg-trac mailing list