mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
avidemux: unmap buffer
https://bugzilla.gnome.org/show_bug.cgi?id=704951
This commit is contained in:
parent
02359f9219
commit
1947587784
1 changed files with 2 additions and 0 deletions
|
@ -3744,6 +3744,7 @@ gst_avi_demux_stream_header_pull (GstAviDemux * avi)
|
||||||
|
|
||||||
switch (GST_READ_UINT32_LE (map.data)) {
|
switch (GST_READ_UINT32_LE (map.data)) {
|
||||||
case GST_RIFF_LIST_strl:
|
case GST_RIFF_LIST_strl:
|
||||||
|
gst_buffer_unmap (sub, &map);
|
||||||
if (!(gst_avi_demux_parse_stream (avi, sub))) {
|
if (!(gst_avi_demux_parse_stream (avi, sub))) {
|
||||||
GST_ELEMENT_WARNING (avi, STREAM, DEMUX, (NULL),
|
GST_ELEMENT_WARNING (avi, STREAM, DEMUX, (NULL),
|
||||||
("failed to parse stream, ignoring"));
|
("failed to parse stream, ignoring"));
|
||||||
|
@ -3752,6 +3753,7 @@ gst_avi_demux_stream_header_pull (GstAviDemux * avi)
|
||||||
sub = NULL;
|
sub = NULL;
|
||||||
goto next;
|
goto next;
|
||||||
case GST_RIFF_LIST_odml:
|
case GST_RIFF_LIST_odml:
|
||||||
|
gst_buffer_unmap (sub, &map);
|
||||||
gst_avi_demux_parse_odml (avi, sub);
|
gst_avi_demux_parse_odml (avi, sub);
|
||||||
sub = NULL;
|
sub = NULL;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue