Just return AVERROR_EXTERNAL immediately when encode error.
The other logic should keep the old behavior before commit 7c05b7951
.
Suggested-By: Zhao Zhili <zhilizhao@tencent.com>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
pull/388/head
parent
4ab04fdfb5
commit
627543f58a
1 changed files with 2 additions and 3 deletions
Loading…
Reference in new issue