As explained in https://wiki.libav.org/GitCommit

adts: Return meaningful errors

Would be enough as patch message.

On 13/03/14 21:32, Patrice Clement wrote:
> ---

>      if (avc->extradata_size > 0 &&
>              adts_decode_extradata(s, adts, avc->extradata, 
> avc->extradata_size) < 0)
> -        return -1;
> +        return AVERROR_INVALIDDATA;


Would be better forwarding the error so:

if (avc->extradata_size > 0 &&
    (ret = adts_decode_extradata(s, adts, avc->extradata,
avc->extradata_size)) < 0)
   return ret;


Thanks a lot =)

lu
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to