summaryrefslogtreecommitdiff
path: root/libavcodec/bintext.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-09-09 03:03:49 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-09-15 04:06:32 +0200
commitab94d1be7a32f6d3714935ad5ae551a753024ae6 (patch)
treec0aae9e41cf6f912e94922f352531f7e8d5a51a0 /libavcodec/bintext.c
parentc3c646a868b46f60c2761c9fc8295438868a5df2 (diff)
bintext: mark hscroll() as unused
This fixes a warning about a unused function Alternatively the function could be removed Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/bintext.c')
-rw-r--r--libavcodec/bintext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/bintext.c b/libavcodec/bintext.c
index 06742c1d9f..8c12c590a6 100644
--- a/libavcodec/bintext.c
+++ b/libavcodec/bintext.c
@@ -94,7 +94,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
}
#define DEFAULT_BG_COLOR 0
-static void hscroll(AVCodecContext *avctx)
+av_unused static void hscroll(AVCodecContext *avctx)
{
XbinContext *s = avctx->priv_data;
if (s->y < avctx->height - s->font_height) {