It is now checked by FATE that no encoder capable of flushing uses frame threads, so this now redundant runtime check can be removed.
Unified · Split
| @@ -390,9 +390,6 @@ void avcodec_flush_buffers(AVCodecContext *avctx) · 389 unmodified lines | ||
| 390 | 390 | "that doesn't support it\n"); |
| 391 | 391 | return; |
| 392 | 392 | } |
| 393 | − | |
| 394 | − // We haven't implemented flushing for frame-threaded encoders. | |
| 395 | − av_assert0(!(caps & AV_CODEC_CAP_FRAME_THREADS)); | |
| 396 | 393 | } |
| 397 | 394 | |
| 398 | 395 | avci->draining = 0; |