summaryrefslogtreecommitdiff
path: root/libavdevice
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2016-06-21 22:09:35 +0200
committerClément Bœsch <u@pkh.me>2016-06-21 22:09:35 +0200
commit8df1dbd7980a6b09c0b6f43299a49e56d19bd1ca (patch)
treec19d08d53e0243fec0e083c1522bfee93f969fda /libavdevice
parentea80e90e134c8325add9e11eb07a52b0af815deb (diff)
parent5afb94c817abffad030c6b94d7003dca8aace3d5 (diff)
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/vfwcap.c b/libavdevice/vfwcap.c
index 2dcf5aa2ed..1ed73133cd 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;