[FFmpeg-cvslog] bintext: mark hscroll() as unused

Michael Niedermayer git at videolan.org
Sat Sep 15 09:50:15 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Sep  9 03:03:49 2012 +0200| [ab94d1be7a32f6d3714935ad5ae551a753024ae6] | committer: Michael Niedermayer

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 at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ab94d1be7a32f6d3714935ad5ae551a753024ae6
---

 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) {



More information about the ffmpeg-cvslog mailing list