mirror of https://git.ffmpeg.org/ffmpeg.git
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>
This commit is contained in:
parent
d6176eeeec
commit
29e23ac71d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue