aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mediacodecdec_common.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-12-23 22:56:11 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-01-04 16:28:55 +0100
commitee41c60373fcb8b1d49929367e564020361838da (patch)
tree6eecfeeae1e4ed242bc2e7b2758c85672444775d /libavcodec/mediacodecdec_common.h
parent5de7bce12e9469911a743cb3dcfb86776ccbf57c (diff)
downloadffmpeg-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/mediacodecdec_common.h')
0 files changed, 0 insertions, 0 deletions