audio-buffer: fix typo in assignment that causes buggy behavior

This commit is contained in:
George Kiagiadakis 2018-07-24 15:09:25 +03:00
parent 0ce20cef4f
commit ab2548d78d

View file

@ -163,7 +163,7 @@ gst_audio_buffer_map (GstAudioBuffer * buffer, const GstAudioInfo * info,
flags))
goto cannot_map;
buffer->planes[i] = buffer->map_infos[0].data + skip;
buffer->planes[i] = buffer->map_infos[i].data + skip;
}
}