summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Frisch <fraxinas@opendreambox.org>2012-10-30 13:39:52 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2012-10-30 13:28:09 +0000
commit619d4db672d0437da9e0bb03b02a3f463aba5ef8 (patch)
tree86d77758b0eb360e41a1cb8c2329e1660d9fb2f5
parentb979e19af7d8c21dbd0ce3368f1652bc25e22898 (diff)
dvdsubdec: allocate correct amount of memory for bitmap
https://bugzilla.gnome.org/show_bug.cgi?id=687192
-rw-r--r--gst/dvdsub/gstdvdsubdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/dvdsub/gstdvdsubdec.c b/gst/dvdsub/gstdvdsubdec.c
index 2a8b9a34..b26a20b1 100644
--- a/gst/dvdsub/gstdvdsubdec.c
+++ b/gst/dvdsub/gstdvdsubdec.c
@@ -691,7 +691,7 @@ gst_send_subtitle_frame (GstDvdSubDec * dec, GstClockTime end_ts)
}
out_buf =
- gst_buffer_new_allocate (NULL, 4 * GST_VIDEO_INFO_SIZE (&dec->info),
+ gst_buffer_new_allocate (NULL, GST_VIDEO_INFO_SIZE (&dec->info),
&params);
gst_video_frame_map (&frame, &dec->info, out_buf, GST_MAP_READWRITE);