diff options
author | Martin Storsjö <martin@martin.st> | 2012-06-17 02:08:00 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-06-17 17:51:50 +0300 |
commit | 44fdf37c94ed1f5ecc42ef129cbaebff92addd0e (patch) | |
tree | c076d71036c9c31974857ae71c3eedcbf96ee119 /libavformat | |
parent | f404c7dcd779f0d57fbaa87084659a1d5f4c467c (diff) | |
download | ffmpeg-44fdf37c94ed1f5ecc42ef129cbaebff92addd0e.tar.gz |
mov_chan: Fix operator precedence by adding parentheses
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mov_chan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mov_chan.c b/libavformat/mov_chan.c index a0fbecc991..a843e318c4 100644 --- a/libavformat/mov_chan.c +++ b/libavformat/mov_chan.c @@ -492,7 +492,7 @@ uint32_t ff_mov_get_channel_layout_tag(enum CodecID codec_id, /* find the layout tag for the specified channel layout */ for (i = 0; layouts[i] != 0; i++) { - if (layouts[i] & 0xFFFF != channels) + if ((layouts[i] & 0xFFFF) != channels) continue; for (j = 0; layout_map[j].tag != 0; j++) { if (layout_map[j].tag == layouts[i] && |