mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-18 13:35:13 +00:00
mov_chan: Fix operator precedence by adding parentheses
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
f404c7dcd7
commit
44fdf37c94
@ -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] &&
|
||||
|
Loading…
Reference in New Issue
Block a user