git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f187390
)
avdevice/dshow: make constant arrays static
author
Michael Niedermayer
<michaelni@gmx.at>
Sat, 3 Aug 2013 20:24:11 +0000
(22:24 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sat, 3 Aug 2013 20:24:11 +0000
(22:24 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavdevice/dshow.c
patch
|
blob
|
history
diff --git
a/libavdevice/dshow.c
b/libavdevice/dshow.c
index
8cc12f5
..
37efabe
100644
(file)
--- a/
libavdevice/dshow.c
+++ b/
libavdevice/dshow.c
@@
-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;