diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-12-23 22:56:11 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-01-04 16:28:55 +0100 |
commit | ee41c60373fcb8b1d49929367e564020361838da (patch) | |
tree | 6eecfeeae1e4ed242bc2e7b2758c85672444775d /libavcodec/amrnbdata.h | |
parent | 5de7bce12e9469911a743cb3dcfb86776ccbf57c (diff) | |
download | ffmpeg-ee41c60373fcb8b1d49929367e564020361838da.tar.gz |
avcodec/mpegvideo: Remove always-false check
An AVCodecContext's private data is always allocated
in avcodec_open2() and calling avcodec_flush_buffers()
on an unopened AVCodecContext (or an already closed one)
is not allowed (and will crash before the decoder's flush
function is even called).
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/amrnbdata.h')
0 files changed, 0 insertions, 0 deletions