mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
mpegpsmux: fix memory leak when converting H.264 avc to byte-stream format
Fix memory leak for input stream with caps "video/x-h264,stream-format=avc". https://bugzilla.gnome.org/show_bug.cgi?id=736426
This commit is contained in:
parent
8990a61221
commit
00d0ff6c8e
1 changed files with 1 additions and 0 deletions
|
@ -197,6 +197,7 @@ mpegpsmux_prepare_h264 (GstBuffer * buf, MpegPsPadData * data, MpegPsMux * mux)
|
|||
MIN (nal_size, map.size - in_offset));
|
||||
in_offset += nal_size;
|
||||
}
|
||||
gst_buffer_unmap (buf, &map);
|
||||
|
||||
out_buf = gst_byte_writer_reset_and_get_buffer (&bw);
|
||||
|
||||
|
|
Loading…
Reference in a new issue