diff options
author | Clément Bœsch <clement.boesch@smartjog.com> | 2012-02-14 13:46:40 +0100 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2012-02-15 10:26:30 +0100 |
commit | cba4e2cbbcb8abb45fff1e0255934bb577ab799f (patch) | |
tree | e8d05cf0f0171aae60182c8e9e0dd4a8cd652d40 /libavfilter | |
parent | 95317821ea6d0788a71a3fa9321afbdb87ac1c82 (diff) | |
download | ffmpeg-cba4e2cbbcb8abb45fff1e0255934bb577ab799f.tar.gz |
pan: fix uninitialized channel_id variable.
Fix broken parsing with pan=2:FL=FR:FR=FL and similar.
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/af_pan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_pan.c b/libavfilter/af_pan.c index 354e771d4a..9f293a61eb 100644 --- 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)) { |