diff options
author | Anton Khirnov <anton@khirnov.net> | 2022-03-23 14:11:03 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-04-13 12:13:15 +0200 |
commit | 7efa6418b83ae123770c6930f492edb87cd19274 (patch) | |
tree | 098a910685f0e9c920c18b54413a011b6a8008fb /libavcodec/libopencore-amr.c | |
parent | 4a7c8bb3d8cc793dab8baf110c1562980c4a3165 (diff) | |
download | ffmpeg-7efa6418b83ae123770c6930f492edb87cd19274.tar.gz |
lavc/avcodec: simplify codec id/type validity checking
On entry to avcodec_open2(), the AVCodecContext type and id either have
to be UNKNOWN/NONE or have to match the codec to be used.
Diffstat (limited to 'libavcodec/libopencore-amr.c')
0 files changed, 0 insertions, 0 deletions