mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
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:
parent
6eed8ca285
commit
4177ce6727
2 changed files with 5 additions and 1 deletions
|
@ -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:
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue