On 10/03/15 02:28, Vittorio Giovara wrote:

> +    /* Prepare everything needed for JPEG decoding */
> +    codec = avcodec_find_decoder(AV_CODEC_ID_MJPEG);
> +    if (!codec)
> +        return AVERROR_DECODER_NOT_FOUND;


Maybe BUG is a better error, the rest seems ok.

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

Reply via email to