From ab94d1be7a32f6d3714935ad5ae551a753024ae6 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 9 Sep 2012 03:03:49 +0200 Subject: [PATCH] bintext: mark hscroll() as unused This fixes a warning about a unused function Alternatively the function could be removed Signed-off-by: Michael Niedermayer --- libavcodec/bintext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {