pixdesc: Include more functions in FF_DISABLE_DEPRECATION_WARNINGS
authorTimothy Gu <timothygu99@gmail.com>
Sat, 7 Feb 2015 04:16:10 +0000 (20:16 -0800)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 7 Feb 2015 13:27:13 +0000 (14:27 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavutil/pixdesc.c

index 648d014..d52e9b6 100644 (file)
@@ -2049,7 +2049,6 @@ enum AVPixelFormat av_pix_fmt_desc_get_id(const AVPixFmtDescriptor *desc)
 
     return desc - av_pix_fmt_descriptors;
 }
-FF_ENABLE_DEPRECATION_WARNINGS
 
 int av_pix_fmt_get_chroma_sub_sample(enum AVPixelFormat pix_fmt,
                                      int *h_shift, int *v_shift)
@@ -2118,6 +2117,7 @@ void ff_check_pixfmt_descriptors(void){
         }
     }
 }
+FF_ENABLE_DEPRECATION_WARNINGS
 
 
 enum AVPixelFormat av_pix_fmt_swap_endianness(enum AVPixelFormat pix_fmt)