[FFmpeg-devel] [PATCH] libavcodec: add h.264 dxva2 decoder to ffmpeg

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Dec 26 13:13:19 CET 2012

Wei Gao <highgod0401 <at> gmail.com> writes:

> diff --git a/libavcodec/allcodecs.c b/libavcodec/allcodecs.c
> index 4743bb1..95c2c82 100644
> --- a/libavcodec/allcodecs.c
> +++ b/libavcodec/allcodecs.c
> @@ -139,6 +139,7 @@ void avcodec_register_all(void)
>      REGISTER_DECODER (H264_CRYSTALHD, h264_crystalhd);
>      REGISTER_DECODER (H264_VDA, h264_vda);
>      REGISTER_DECODER (H264_VDPAU, h264_vdpau);
> + REGISTER_DECODER (H264_DXVA2, h264_dxva2);

I hope it is self-explanatory why this hunk is not acceptable 
as-is (inconsistent indentation).

Please use tools/patcheck and/or read 
http://ffmpeg.org/developer.html#Coding-Rules to find the 
most obvious style problems in your patch.

Carl Eugen

More information about the ffmpeg-devel mailing list