[FFmpeg-cvslog] pixdesc: Include more functions in FF_DISABLE_DEPRECATION_WARNINGS

Timothy Gu git at videolan.org
Sat Feb 7 15:13:14 CET 2015


ffmpeg | branch: master | Timothy Gu <timothygu99 at gmail.com> | Fri Feb  6 20:16:10 2015 -0800| [1de742145f58b362736e01d6cd0c66c58d6f7533] | committer: Michael Niedermayer

pixdesc: Include more functions in FF_DISABLE_DEPRECATION_WARNINGS

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1de742145f58b362736e01d6cd0c66c58d6f7533
---

 libavutil/pixdesc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c
index 648d014..d52e9b6 100644
--- a/libavutil/pixdesc.c
+++ b/libavutil/pixdesc.c
@@ -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)



More information about the ffmpeg-cvslog mailing list