diff options
author | Clément Bœsch <u@pkh.me> | 2016-06-21 22:09:35 +0200 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2016-06-21 22:09:35 +0200 |
commit | 8df1dbd7980a6b09c0b6f43299a49e56d19bd1ca (patch) | |
tree | c19d08d53e0243fec0e083c1522bfee93f969fda /libavdevice | |
parent | ea80e90e134c8325add9e11eb07a52b0af815deb (diff) | |
parent | 5afb94c817abffad030c6b94d7003dca8aace3d5 (diff) | |
download | ffmpeg-streaming-8df1dbd7980a6b09c0b6f43299a49e56d19bd1ca.zip ffmpeg-streaming-8df1dbd7980a6b09c0b6f43299a49e56d19bd1ca.tar.gz |
Merge commit '5afb94c817abffad030c6b94d7003dca8aace3d5'
* commit '5afb94c817abffad030c6b94d7003dca8aace3d5':
Mark read-only tables as static
Merged-by: Clément Bœsch <u@pkh.me>
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 2dcf5aa..1ed7313 100644 --- a/libavdevice/vfwcap.c +++ b/libavdevice/vfwcap.c @@ -161,7 +161,7 @@ static void dump_bih(AVFormatContext *s, BITMAPINFOHEADER *bih) static int shall_we_drop(AVFormatContext *s) { struct vfw_ctx *ctx = s->priv_data; - static 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; |