diff options
-rw-r--r-- | libavformat/wsddec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/wsddec.c b/libavformat/wsddec.c index dfa8014..574addf 100644 --- a/libavformat/wsddec.c +++ b/libavformat/wsddec.c @@ -137,7 +137,7 @@ static int wsd_read_header(AVFormatContext *s) if (!(channel_assign & 1)) { int i; for (i = 1; i < 32; i++) - if (channel_assign & (1 << i)) + if ((channel_assign >> i) & 1) st->codecpar->channel_layout |= wsd_to_av_channel_layoyt(s, i); } |