We are currently experiencing downtime impacting viewing & cloning the Mesa repo, and some GitLab pages returning 503. Please see #freedesktop on IRC for more updates.

Commit a4793801 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

ext/ffmpeg/gstffmpegcodecmap.c: Buffers aren't boxed types any longer.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_get_palette):
Buffers aren't boxed types any longer.
parent c161d30d
2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_get_palette):
Buffers aren't boxed types any longer.
2006-02-03 Edgard Lima <edgard.lima@indt.org.br>
* ext/ffmpeg/gstffmpegenc.c:
......
......@@ -47,7 +47,7 @@ gst_ffmpeg_get_palette (const GstCaps *caps, AVCodecContext *context)
/* do we have a palette? */
if ((palette_v = gst_structure_get_value (str,
"palette_data")) && context) {
palette = g_value_get_boxed (palette_v);
palette = gst_value_get_buffer (palette_v);
if (GST_BUFFER_SIZE (palette) >= 256 * 4) {
if (context->palctrl)
av_free (context->palctrl);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment