diff options
author | Diego Biurrun <diego@biurrun.de> | 2015-11-11 17:38:43 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-05-05 10:48:34 +0200 |
commit | 5afb94c817abffad030c6b94d7003dca8aace3d5 (patch) | |
tree | 517222058bab9a1b2ba41abd4a38280388dbf57a /libavdevice | |
parent | 1f1ad8ace040a08edc2646ff638ca42a8828779f (diff) | |
download | ffmpeg-5afb94c817abffad030c6b94d7003dca8aace3d5.tar.gz |
Mark read-only tables as static
Diffstat (limited to 'libavdevice')
-rw-r--r-- | libavdevice/vfwcap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/vfwcap.c b/libavdevice/vfwcap.c index b0b2086883..9edd2c5f30 100644 --- a/libavdevice/vfwcap.c +++ b/libavdevice/vfwcap.c @@ -160,7 +160,7 @@ static void dump_bih(AVFormatContext *s, BITMAPINFOHEADER *bih) static int shall_we_drop(AVFormatContext *s) { struct vfw_ctx *ctx = s->priv_data; - const uint8_t dropscore[] = {62, 75, 87, 100}; + static const uint8_t dropscore[4] = { 62, 75, 87, 100 }; const int ndropscores = FF_ARRAY_ELEMS(dropscore); unsigned int buffer_fullness = (ctx->curbufsize*100)/s->max_picture_buffer; |