On Fri, Jan 11, 2013 at 11:28:01PM +0200, Rémi Denis-Courmont wrote:
> --- /dev/null
> +++ b/libavcodec/vdpau_h264.c
> @@ -0,0 +1,194 @@
> +            rf2 = &info->referenceFrames[0];
> +            while (rf2 != rf) {
> +                if ((rf2->surface == surface_ref)
> +                    && (rf2->is_long_term == pic->long_ref)
> +                    && (rf2->frame_idx == pic_frame_idx))

nit: Move the && to the end of the line and align.

> +            if (rf2 != rf) {
> +                rf2->top_is_reference |= (pic->f.reference & PICT_TOP_FIELD) 
> ? VDP_TRUE : VDP_FALSE;
> +                rf2->bottom_is_reference |= (pic->f.reference & 
> PICT_BOTTOM_FIELD) ? VDP_TRUE : VDP_FALSE;

nit: align the |=

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

Reply via email to