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

Showing the changes to libavcodec/avcodec.c (1 of 1 file). Show all

Unified · Split

libavcodec/avcodec.c+0−3
@@ -390,9 +390,6 @@ void avcodec_flush_buffers(AVCodecContext *avctx) · 389 unmodified lines
390 "that doesn't support it\n");390 "that doesn't support it\n");
391 return;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 avci->draining = 0;395 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