mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
Silence unused function warnings in vp56.h
Originally committed as revision 24684 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
476be414a4
commit
61ee75bbf8
@ -270,7 +270,7 @@ static av_always_inline int vp8_rac_get(VP56RangeCoder *c)
|
|||||||
return vp56_rac_get_prob(c, 128);
|
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;
|
int value = 0;
|
||||||
|
|
||||||
@ -281,7 +281,7 @@ static int vp56_rac_gets(VP56RangeCoder *c, int bits)
|
|||||||
return value;
|
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;
|
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?
|
// 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;
|
int v;
|
||||||
|
|
||||||
@ -309,13 +309,13 @@ static int vp8_rac_get_sint(VP56RangeCoder *c, int bits)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// P(7)
|
// 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;
|
int v = vp56_rac_gets(c, 7) << 1;
|
||||||
return v + !v;
|
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;
|
int v = vp8_rac_get_uint(c, 7) << 1;
|
||||||
return v + !v;
|
return v + !v;
|
||||||
|
Loading…
Reference in New Issue
Block a user