diff options
-rw-r--r-- | gst/isomp4/gstqtmux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/isomp4/gstqtmux.c b/gst/isomp4/gstqtmux.c index bab212654..79b58d709 100644 --- a/gst/isomp4/gstqtmux.c +++ b/gst/isomp4/gstqtmux.c @@ -1006,7 +1006,7 @@ gst_qt_mux_prepare_caption_buffer (GstQTPad * qtpad, GstBuffer * buf, gst_buffer_map (newbuf, &map, GST_MAP_WRITE); - GST_WRITE_UINT32_BE (map.data, map.size + 8); + GST_WRITE_UINT32_BE (map.data, size + 8); GST_WRITE_UINT32_LE (map.data + 4, FOURCC_ccdp); memcpy (map.data + 8, inmap.data, inmap.size); |