# HG changeset patch # User diego # Date 1278402035 0 # Node ID 900b6c2523dc0a7ed53174e6bf259f5665a6e10c # Parent 108e7da64995a936e30837971f2d52f2145f99ef Add av_unused to decode_mb_skip declaration to fix the following warning: libavcodec/h264.h:1260: warning: ¡Ædecode_mb_skip¡Ç defined but not used patch by Eli Friedman, eli.friedman gmail com diff -r 108e7da64995 -r 900b6c2523dc h264.h --- a/h264.h Tue Jul 06 00:06:15 2010 +0000 +++ b/h264.h Tue Jul 06 07:40:35 2010 +0000 @@ -1257,7 +1257,7 @@ /** * 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;