Reimar Döffinger
7ade06cc2e
check sample_fmt in avcodec_open
...
check AVCodecContext->sample_fmt against AVCodec->sample_fmts[] to ensure
that the encoder supports the specified sample format. Error out if it doesn't.
Previously, it would continue and output garbage. Fixes issue 2587.
(cherry picked from commit 2cfa2d9258 )
2011-02-11 02:54:08 +01:00
..
2011-02-09 03:31:21 +01:00
2011-02-04 03:08:09 +01:00
2011-02-09 03:33:55 +01:00
2011-02-04 03:08:09 +01:00
2011-02-04 03:10:12 +01:00
2011-02-06 20:31:47 +01:00
2011-02-04 03:08:09 +01:00
2011-02-04 03:08:09 +01:00
2011-02-04 03:08:10 +01:00
2011-02-09 03:31:18 +01:00
2011-02-04 03:10:12 +01:00
2011-02-06 20:31:47 +01:00
2011-02-06 20:31:47 +01:00
2011-02-11 02:54:08 +01:00
2011-02-04 03:08:09 +01:00
2011-02-06 20:31:47 +01:00
2011-02-06 20:31:47 +01:00
2011-02-04 03:08:09 +01:00
2011-02-04 03:08:09 +01:00
2011-02-07 16:56:49 +01:00
2011-02-04 03:10:10 +01:00
2011-02-04 03:08:09 +01:00
2011-02-04 03:08:09 +01:00
2011-02-02 03:40:50 +01:00
2011-02-02 03:40:50 +01:00
2011-02-09 03:33:54 +01:00
2011-02-02 03:40:50 +01:00
2011-02-06 20:31:47 +01:00
2011-02-04 03:10:12 +01:00
2011-02-09 03:33:55 +01:00
2011-02-06 20:31:44 +01:00
2011-02-09 03:31:18 +01:00
2011-02-06 20:31:47 +01:00
2011-02-06 20:31:47 +01:00
2011-02-06 20:31:47 +01:00
2011-02-06 20:31:47 +01:00
2011-02-09 03:33:54 +01:00
2011-02-06 20:31:46 +01:00
2011-02-04 03:08:09 +01:00
2011-02-11 02:53:58 +01:00
2011-02-11 02:54:08 +01:00
2011-02-06 20:31:47 +01:00
2011-02-11 02:54:08 +01:00
2011-02-04 03:10:10 +01:00
2011-02-04 03:10:10 +01:00
2011-02-11 02:54:08 +01:00
2011-02-09 03:33:54 +01:00
2011-02-06 20:31:47 +01:00
2011-02-08 21:26:39 +01:00
2011-02-11 02:54:08 +01:00
2011-02-09 03:33:55 +01:00
2011-02-06 20:31:43 +01:00
2011-02-09 03:31:21 +01:00
2011-02-09 03:31:21 +01:00
2011-02-11 02:54:08 +01:00
2011-02-06 20:31:47 +01:00
2011-02-04 03:08:09 +01:00
2011-02-04 03:08:09 +01:00
2011-02-04 03:08:09 +01:00
2011-02-09 03:31:18 +01:00
2011-02-09 03:31:18 +01:00