summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2010-07-06 07:40:35 +0000
committerDiego Biurrun <diego@biurrun.de>2010-07-06 07:40:35 +0000
commit9049fa54796ccd7ad9a04742617d885fb8926af4 (patch)
treedb8a8f07373e0a23072f73320dfd034e5a897a99 /libavcodec
parent86e41bc300d30ea2667a98f5581aee54a1c9312a (diff)
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 Originally committed as revision 24069 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/h264.h2
1 files changed, 1 insertions, 1 deletions
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;