From 9049fa54796ccd7ad9a04742617d885fb8926af4 Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Tue, 6 Jul 2010 07:40:35 +0000 Subject: [PATCH] =?UTF-8?q?Add=20av=5Funused=20to=20decode=5Fmb=5Fskip=20d?= =?UTF-8?q?eclaration=20to=20fix=20the=20following=20warning:=20libavcodec?= =?UTF-8?q?/h264.h:1260:=20warning:=20=E2=80=98decode=5Fmb=5Fskip=E2=80=99?= =?UTF-8?q?=20defined=20but=20not=20used=20patch=20by=20Eli=20Friedman,=20?= =?UTF-8?q?eli.friedman=20gmail=20com?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Originally committed as revision 24069 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/h264.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/h264.h b/libavcodec/h264.h index 3f0996acfa..7158d9748e 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -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;