Add av_unused to decode_mb_skip declaration to fix the following warning:
authorEli Friedman <eli.friedman@gmail.com>
Tue, 6 Jul 2010 07:40:35 +0000 (07:40 +0000)
committerDiego Biurrun <diego@biurrun.de>
Tue, 6 Jul 2010 07:40:35 +0000 (07:40 +0000)
libavcodec/h264.h:1260: warning: ‘decode_mb_skip’ defined but not used
patch by Eli Friedman, eli.friedman gmail com

Originally committed as revision 24069 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h264.h

index 3f0996acfaa30c43502079b112080410f8bccfd2..7158d9748e0778913fe893faa94fa6a639c557ca 100644 (file)
@@ -1257,7 +1257,7 @@ static inline int get_dct8x8_allowed(H264Context *h){
 /**
  * decodes a P_SKIP or B_SKIP macroblock
  */
-static void decode_mb_skip(H264Context *h){
+static void av_unused decode_mb_skip(H264Context *h){
     MpegEncContext * const s = &h->s;
     const int mb_xy= h->mb_xy;
     int mb_type=0;