mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +00:00
tagdemux: Unref the actual buffer instead of the memory address of the buffer
This commit is contained in:
parent
9d91e56674
commit
d659e8353d
1 changed files with 1 additions and 1 deletions
|
@ -1285,7 +1285,7 @@ read_beyond_end:
|
|||
{
|
||||
GST_DEBUG_OBJECT (demux, "attempted read beyond end of file");
|
||||
if (*buffer != NULL) {
|
||||
gst_buffer_unref (buffer);
|
||||
gst_buffer_unref (*buffer);
|
||||
*buffer = NULL;
|
||||
}
|
||||
return GST_FLOW_UNEXPECTED;
|
||||
|
|
Loading…
Reference in a new issue