On Fri, Jan 01, 2016 at 08:16:12PM +0000, Rostislav Pehlivanov wrote:
[...]

> +static av_cold int daala_decode_init(AVCodecContext *avctx)
> +{
> +    int i, r_w, r_h, err = 0;
> +    DaalaContext *s = avctx->priv_data;
> +
> +    /* Inits a default QM, if the file isn't using the default it will be 
> reinit */
> +    s->last_qm = 1;
> +    daala_init_qmatrix(s->pvq.qmatrix, s->pvq.qmatrix_inv, s->last_qm);
> +
> +    s->fmt = find_pix_fmt(avctx->pix_fmt);
> +    if (!s->fmt) {
> +        av_log(avctx, AV_LOG_ERROR, "Unsupported pixel format - %s!\n",
> +               av_get_pix_fmt_name(avctx->pix_fmt));

> +        return AVERROR(ENOTSUP);

this would fail on beos acording to doc/errno.txt

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is what and why we do it that matters, not just one of them.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to