History

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.

Andreas Rheinhardt committed 5 years ago

Commit 29e23ac1 parent d6176ee1 file · +0 −3Browse files

Unified · Split

libavcodec/avcodec.c+0−3
@@ -390,9 +390,6 @@ void avcodec_flush_buffers(AVCodecContext *avctx) · 389 unmodified lines
390390 "that doesn't support it\n");
391391 return;
392392 }
393−
394− // We haven't implemented flushing for frame-threaded encoders.
395− av_assert0(!(caps & AV_CODEC_CAP_FRAME_THREADS));
396393 }
397394
398395 avci->draining = 0;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t