OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9531782
)
pan: fix uninitialized channel_id variable.
author
Clément Bœsch
<clement.boesch@smartjog.com>
Tue, 14 Feb 2012 12:46:40 +0000
(13:46 +0100)
committer
Clément Bœsch
<ubitux@gmail.com>
Wed, 15 Feb 2012 09:26:30 +0000
(10:26 +0100)
Fix broken parsing with pan=2:FL=FR:FR=FL and similar.
libavfilter/af_pan.c
patch
|
blob
|
history
diff --git
a/libavfilter/af_pan.c
b/libavfilter/af_pan.c
index
354e771
..
9f293a6
100644
(file)
--- a/
libavfilter/af_pan.c
+++ b/
libavfilter/af_pan.c
@@
-61,7
+61,7
@@
typedef struct PanContext {
static int parse_channel_name(char **arg, int *rchannel, int *rnamed)
{
char buf[8];
- int len, i, channel_id;
+ int len, i, channel_id
= 0
;
int64_t layout, layout0;
if (sscanf(*arg, " %7[A-Z] %n", buf, &len)) {