Mercurial > libavcodec.hg
comparison h264.h @ 12096:900b6c2523dc libavcodec
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
author | diego |
---|---|
date | Tue, 06 Jul 2010 07:40:35 +0000 |
parents | 05f91a88f986 |
children |
comparison
equal
deleted
inserted
replaced
12095:108e7da64995 | 12096:900b6c2523dc |
---|---|
1255 } | 1255 } |
1256 | 1256 |
1257 /** | 1257 /** |
1258 * decodes a P_SKIP or B_SKIP macroblock | 1258 * decodes a P_SKIP or B_SKIP macroblock |
1259 */ | 1259 */ |
1260 static void decode_mb_skip(H264Context *h){ | 1260 static void av_unused decode_mb_skip(H264Context *h){ |
1261 MpegEncContext * const s = &h->s; | 1261 MpegEncContext * const s = &h->s; |
1262 const int mb_xy= h->mb_xy; | 1262 const int mb_xy= h->mb_xy; |
1263 int mb_type=0; | 1263 int mb_type=0; |
1264 | 1264 |
1265 memset(h->non_zero_count[mb_xy], 0, 32); | 1265 memset(h->non_zero_count[mb_xy], 0, 32); |