mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 11:55:39 +00:00
Cast const GstBuffer * to GstBuffer * before unreffing
This commit is contained in:
parent
f436bc68d8
commit
6fc19a2c49
1 changed files with 1 additions and 1 deletions
|
@ -2101,7 +2101,7 @@ gst_ffmpeg_caps_with_codecid (enum CodecID codec_id,
|
|||
}
|
||||
|
||||
if (free)
|
||||
gst_buffer_unref (buf);
|
||||
gst_buffer_unref (GST_BUFFER_CAST (buf));
|
||||
|
||||
GST_DEBUG ("have codec data of size %d", size);
|
||||
} else if (context->extradata == NULL) {
|
||||
|
|
Loading…
Reference in a new issue