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

bugzilla at libav.org bugzilla at libav.org
Mon Oct 28 21:55:34 CET 2013


https://bugzilla.libav.org/show_bug.cgi?id=580

--- Comment #6 from Andrew Kelley <superjoe30 at gmail.com> 2013-10-28 21:55:34 CET ---
(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?

-- 
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