diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-12-17 13:41:42 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-12-17 13:41:42 +0100 |
commit | 0ec5fea211fad340954b3274eeee258809a026d2 (patch) | |
tree | d5a7590884555481544048b79a48d1511d5605ad /ext/libav/gstavcodecmap.c | |
parent | a6ede95de766d23375af312a6f96cb66b13ded51 (diff) | |
download | gst-libav-0ec5fea211fad340954b3274eeee258809a026d2.tar.gz |
avcodecmap: Correctly convert GStreamer channel positions to libav channel mask
Diffstat (limited to 'ext/libav/gstavcodecmap.c')
-rw-r--r-- | ext/libav/gstavcodecmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/libav/gstavcodecmap.c b/ext/libav/gstavcodecmap.c index 989efc8..d4ed1ca 100644 --- a/ext/libav/gstavcodecmap.c +++ b/ext/libav/gstavcodecmap.c @@ -80,7 +80,7 @@ gst_ffmpeg_channel_positions_to_layout (GstAudioChannelPosition * pos, for (i = 0; i < channels; i++) { for (j = 0; j < G_N_ELEMENTS (_ff_to_gst_layout); j++) { if (_ff_to_gst_layout[j].gst == pos[i]) { - ret |= _ff_to_gst_layout[i].ff; + ret |= _ff_to_gst_layout[j].ff; channels_found++; break; } |