mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +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)
|
if (free)
|
||||||
gst_buffer_unref (buf);
|
gst_buffer_unref (GST_BUFFER_CAST (buf));
|
||||||
|
|
||||||
GST_DEBUG ("have codec data of size %d", size);
|
GST_DEBUG ("have codec data of size %d", size);
|
||||||
} else if (context->extradata == NULL) {
|
} else if (context->extradata == NULL) {
|
||||||
|
|
Loading…
Reference in a new issue