[Libav-user] is it possible to get a decode error

jing zhang zhangjing.lm at gmail.com
Thu Jul 13 04:31:42 EEST 2017


Hi,

Try set your own log callback (use av_log_set_callback), and check errors
in your call back function.

zj

2017-07-12 19:13 GMT+08:00 Anton Shekhovtsov <shekh.anton at gmail.com>:

> I expected avcodec_receive_frame to return any kind of error code when
> something goes wrong with a decoding. However it always returns success, I
> can only guess there is something wrong by side effects (decoded frame not
> updated, messages in log).
> Is this feature supported?
>
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20170713/6b3e2eff/attachment.html>


More information about the Libav-user mailing list