[FFmpeg-devel] [PATCH]VDPAU support for MPEG-4 ASP

Carl Eugen Hoyos cehoyos
Sun Sep 6 01:33:24 CEST 2009


Diego Biurrun <diego <at> biurrun.de> writes:

> > --- libavcodec/vdpau.c	(revision 19754)
> > +    if (   CONFIG_MPEG4_VDPAU_DECODER
> > +        && (avctx->pix_fmt == PIX_FMT_NONE)
> > +        && (s->avctx->codec->capabilities & CODEC_CAP_HWACCEL_VDPAU)) {
> 
> Is that meant to be && on the last line?

I don't think so.

> Also, the parentheses are unnecessary

Fixed locally.

> and the indentation is weird.

It is the (weird) indentation used 14 lines above and 12 lines below the patch,
so I will not change it.

Carl Eugen




More information about the ffmpeg-devel mailing list