summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gst/matroska/matroska-demux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/matroska/matroska-demux.c b/gst/matroska/matroska-demux.c
index 9c2dd7ba..41e7539f 100644
--- a/gst/matroska/matroska-demux.c
+++ b/gst/matroska/matroska-demux.c
@@ -3706,7 +3706,7 @@ gst_matroska_demux_push_dvd_clut_change_event (GstMatroskaDemux * demux,
buf = g_strndup ((gchar *) stream->codec_priv, stream->codec_priv_size);
/* just locate and parse palette part */
- start = strstr ((gchar *) stream->codec_priv, "palette:");
+ start = strstr (buf, "palette:");
if (start) {
gint i;
guint32 clut[16];