Commit 8862ed73 authored by Michael Niedermayer's avatar Michael Niedermayer

avdevice/dshow: make constant arrays static

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent f1873909
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment