gst-libs/gst/tag/tags.c: Remove useless buffer size assignment. It already has this value.

Original commit message from CVS:
* gst-libs/gst/tag/tags.c: (gst_tag_image_data_to_image_buffer):
Remove useless buffer size assignment. It already has this value.
This commit is contained in:
Sebastian Dröge 2008-10-22 12:01:32 +00:00
parent 6eed8ca285
commit 4177ce6727
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2008-10-22 Sebastian Dröge <slomo@circular-chaos.org>
* gst-libs/gst/tag/tags.c: (gst_tag_image_data_to_image_buffer):
Remove useless buffer size assignment. It already has this value.
2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
* gst-libs/gst/audio/gstaudiosink.c:

View file

@ -410,7 +410,6 @@ gst_tag_image_data_to_image_buffer (const guint8 * image_data,
memcpy (GST_BUFFER_DATA (image), image_data, image_data_len);
GST_BUFFER_DATA (image)[image_data_len] = '\0';
GST_BUFFER_SIZE (image) = image_data_len + 1;
/* Find GStreamer media type, can't trust declared type */
caps = gst_type_find_helper_for_buffer (NULL, image, NULL);