[libav-bugs] [Bug 580] av_guess_codec ignores parameters and returns surprising values

bugzilla at libav.org bugzilla at libav.org
Mon Oct 28 22:02:40 CET 2013


--- Comment #7 from Anton Khirnov <anton at khirnov.net> 2013-10-28 22:02:39 CET ---
(In reply to comment #6)
> (In reply to comment #5)
> > 
> > Well i don't think it makes much sense to duplicate
> > avcodec_find_encoder_by_name() here. What would make slightly more sense to me
> > would be that only one of the first 4 parameters can be non-trivial and is used
> > to guess a container like av_guess_format does. The default codec of the
> > specified type for that container is then returned.
> How about keeping current functionality, documenting it, and deprecating the
> parameters that are ignored?

Well you cannot remove parameters from a function without breaking
compatibility. So might as well use them.

Configure bugmail: https://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the libav-bugs mailing list