diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-09-24 06:28:04 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-09-26 13:29:29 +0200 |
commit | 29e23ac71dd146df054e4e2fcef1dcef6a56454f (patch) | |
tree | 008b3cb604c2b62bdc7958aeea109e6844ba369c /libavcodec | |
parent | d6176eeeec1458ea2c9a027d394619c754086827 (diff) | |
download | ffmpeg-29e23ac71dd146df054e4e2fcef1dcef6a56454f.tar.gz |
avcodec/avcodec: Remove redundant assert
It is now checked by FATE that no encoder capable of flushing
uses frame threads, so this now redundant runtime check can
be removed.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/avcodec.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/avcodec.c b/libavcodec/avcodec.c index 97eb1ec431..5d85ed234b 100644 --- a/libavcodec/avcodec.c +++ b/libavcodec/avcodec.c @@ -390,9 +390,6 @@ void avcodec_flush_buffers(AVCodecContext *avctx) "that doesn't support it\n"); return; } - - // We haven't implemented flushing for frame-threaded encoders. - av_assert0(!(caps & AV_CODEC_CAP_FRAME_THREADS)); } avci->draining = 0; |