projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3c646a
)
bintext: mark hscroll() as unused
author
Michael Niedermayer
<michaelni@gmx.at>
Sun, 9 Sep 2012 01:03:49 +0000
(
03:03
+0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sat, 15 Sep 2012 02:06:32 +0000
(
04:06
+0200)
This fixes a warning about a unused function
Alternatively the function could be removed
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/bintext.c
patch
|
blob
|
history
diff --git
a/libavcodec/bintext.c
b/libavcodec/bintext.c
index
06742c1
..
8c12c59
100644
(file)
--- 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) {