matroskademux: push correctly sized flac header buffers
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Tue, 30 Mar 2010 14:50:10 +0000 (16:50 +0200)
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Tue, 30 Mar 2010 14:51:36 +0000 (16:51 +0200)
Fixes #614353.

gst/matroska/matroska-demux.c

index d7d69e9..926afad 100644 (file)
@@ -3737,7 +3737,7 @@ gst_matroska_demux_push_flac_codec_priv_data (GstMatroskaDemux * demux,
     GST_DEBUG_OBJECT (demux, "header packet: len=%u bytes, flags=0x%02x",
         len, (guint) pdata[off]);
 
-    ret = gst_matroska_demux_push_hdr_buf (demux, stream, pdata + off, len);
+    ret = gst_matroska_demux_push_hdr_buf (demux, stream, pdata + off, len + 4);
     if (ret != GST_FLOW_OK)
       return ret;