[FFmpeg-devel] [PATCH] bintext: mark hscroll() as unused
Michael Niedermayer
michaelni at gmx.at
Sun Sep 9 03:05:01 CEST 2012
This fixes a warning about a unused function
Alternatively the function could be removed
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
libavcodec/bintext.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/bintext.c b/libavcodec/bintext.c
index 06742c1..8c12c59 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) {
--
1.7.9.5
More information about the ffmpeg-devel
mailing list