[Bug 764231] Bad call to gst_buffer_add_video_gl_texture_upload_meta() in gstvaapivideometa_texture.c

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Mar 28 11:42:31 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=764231

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #324867|none                        |reviewed
             status|                            |

--- Comment #2 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Review of attachment 324867:
 --> (https://bugzilla.gnome.org/review?bug=764231&attachment=324867)

::: gst/vaapi/gstvaapivideometa_texture.c
@@ +74,3 @@
     GstVideoFormat format)
 {
+  memset (meta->texture_type, 0, sizeof (meta->texture_type[0]) * 4);

memset (meta->texture_type, 0, sizeof (meta->texture_type));

No need to hardcode the 4 in all the places

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list