Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

avdevice/vfwcap: make constant arrays static

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
  • Loading branch information...
commit c0ef5d6c169fb0668e2ba029f9cc34ad32db9520 1 parent 8862ed7
@michaelni michaelni authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  libavdevice/vfwcap.c
View
2  libavdevice/vfwcap.c
@@ -155,7 +155,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[] = {62, 75, 87, 100};
const int ndropscores = FF_ARRAY_ELEMS(dropscore);
unsigned int buffer_fullness = (ctx->curbufsize*100)/s->max_picture_buffer;
Please sign in to comment.
Something went wrong with that request. Please try again.