Mercurial > libavcodec.hg
changeset 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 | 108e7da64995 |
children | e8a29b278ebf |
files | h264.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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;