[FFmpeg-devel] [PATCH] lavc/options: set all codec options to defaults

Michael Niedermayer michaelni at gmx.at
Wed Nov 12 23:05:03 CET 2014


On Tue, Nov 11, 2014 at 06:30:39PM +0100, Lukasz Marek wrote:
> avcodec_get_context_defaults3() sets only specific options to default the values.
> This commit force all options to be set to the defaults.
> This improves effectiveness of new ffm format.
> In particular it fixes "bt" option being out of range when context is created for
> non-video media type. (it is 0, when min=1)

why do video fields matter for a non video stream ?

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Republics decline into democracies and democracies degenerate into
despotisms. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141112/16a6bc49/attachment.asc>


More information about the ffmpeg-devel mailing list