aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Garrett-Glaser <darkshikari@gmail.com>2010-08-03 11:35:41 +0000
committerJason Garrett-Glaser <darkshikari@gmail.com>2010-08-03 11:35:41 +0000
commit61ee75bbf86cc2a69fb02c32e391c197ddd9fcf3 (patch)
treed793a545dce8beb7a74665d5b37e46196edbf08c
parent476be414a4a742a217eebec9cfa7c0f87ff63fd6 (diff)
downloadffmpeg-61ee75bbf86cc2a69fb02c32e391c197ddd9fcf3.tar.gz
Silence unused function warnings in vp56.h
Originally committed as revision 24684 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/vp56.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/vp56.h b/libavcodec/vp56.h
index 0076b977df..7ea7d77817 100644
--- a/libavcodec/vp56.h
+++ b/libavcodec/vp56.h
@@ -270,7 +270,7 @@ static av_always_inline int vp8_rac_get(VP56RangeCoder *c)
return vp56_rac_get_prob(c, 128);
}
-static int vp56_rac_gets(VP56RangeCoder *c, int bits)
+static av_unused int vp56_rac_gets(VP56RangeCoder *c, int bits)
{
int value = 0;
@@ -281,7 +281,7 @@ static int vp56_rac_gets(VP56RangeCoder *c, int bits)
return value;
}
-static int vp8_rac_get_uint(VP56RangeCoder *c, int bits)
+static av_unused int vp8_rac_get_uint(VP56RangeCoder *c, int bits)
{
int value = 0;
@@ -293,7 +293,7 @@ static int vp8_rac_get_uint(VP56RangeCoder *c, int bits)
}
// fixme: add 1 bit to all the calls to this?
-static int vp8_rac_get_sint(VP56RangeCoder *c, int bits)
+static av_unused int vp8_rac_get_sint(VP56RangeCoder *c, int bits)
{
int v;
@@ -309,13 +309,13 @@ static int vp8_rac_get_sint(VP56RangeCoder *c, int bits)
}
// P(7)
-static int vp56_rac_gets_nn(VP56RangeCoder *c, int bits)
+static av_unused int vp56_rac_gets_nn(VP56RangeCoder *c, int bits)
{
int v = vp56_rac_gets(c, 7) << 1;
return v + !v;
}
-static int vp8_rac_get_nn(VP56RangeCoder *c)
+static av_unused int vp8_rac_get_nn(VP56RangeCoder *c)
{
int v = vp8_rac_get_uint(c, 7) << 1;
return v + !v;