[FFmpeg-devel] [PATCH] add support for "Forward Uncompressed" (issue1467)

Michael Niedermayer michaelni
Tue Oct 13 12:45:32 CEST 2009


On Tue, Oct 13, 2009 at 11:11:08AM +0200, Reimar D?ffinger wrote:
> Hello,
> another custom uncompressed codec.

[...]
> +static av_cold int decode_init(AVCodecContext *avctx)
> +{
> +    if (avctx->width & 1) {
> +        av_log(avctx, AV_LOG_ERROR, "FRWU needs even width\n");
> +        return -1;
> +    }

> +    if (avcodec_check_dimensions(avctx, avctx->width, avctx->height) < 0)
> +        return -1;

dont we check that in common code already?

also can interlaced_frame/top_field_first be set better than not set?

except that probably ok


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

Into a blind darkness they enter who follow after the Ignorance,
they as if into a greater darkness enter who devote themselves
to the Knowledge alone. -- Isha Upanishad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20091013/df72df64/attachment.pgp>



More information about the ffmpeg-devel mailing list