summaryrefslogtreecommitdiff
authorMichael Niedermayer <michaelni@gmx.at>2013-08-03 20:24:11 (GMT)
committer Michael Niedermayer <michaelni@gmx.at>2013-08-03 20:24:11 (GMT)
commit8862ed73403a9ed19cf37522d3aa7530cad26b19 (patch)
tree362c241a8f0db32515d4bf5329954a12f4c88586
parentf1873909070da597c471e4fc0ea1a6b94f41cd67 (diff)
downloadffmpeg-8862ed73403a9ed19cf37522d3aa7530cad26b19.zip
ffmpeg-8862ed73403a9ed19cf37522d3aa7530cad26b19.tar.gz
ffmpeg-8862ed73403a9ed19cf37522d3aa7530cad26b19.tar.bz2
avdevice/dshow: make constant arrays static
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat
-rw-r--r--libavdevice/dshow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
index 8cc12f5..37efabe 100644
--- a/libavdevice/dshow.c
+++ b/libavdevice/dshow.c
@@ -183,7 +183,7 @@ static char *dup_wchar_to_utf8(wchar_t *w)
static int shall_we_drop(AVFormatContext *s)
{
struct dshow_ctx *ctx = s->priv_data;
- const uint8_t dropscore[] = {62, 75, 87, 100};
+ static const uint8_t dropscore[] = {62, 75, 87, 100};
const int ndropscores = FF_ARRAY_ELEMS(dropscore);
unsigned int buffer_fullness = (ctx->curbufsize*100)/s->max_picture_buffer;