[Bug 644773] Add support for Y422 colorspaces in videoflip element

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Mar 14 18:37:25 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=644773
  GStreamer | gst-plugins-good | git

Youness Alaoui <youness.alaoui> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #183392|0                           |1
        is obsolete|                            |

--- Comment #1 from Youness Alaoui <youness.alaoui at collabora.co.uk> 2011-03-15 01:37:18 UTC ---
Created an attachment (id=183400)
 View: https://bugzilla.gnome.org/attachment.cgi?id=183400
 Review: https://bugzilla.gnome.org/review?bug=644773&attachment=183400

[PATCH] videoflip: Add support for YUY2, UVYV and YVYU colorspaces

After discussion with David Schleef and additional testing, it turns out there
was a buffer overflow. Since I increment x by 2, and use x+1, if the width was
odd, then x+1 could try to access data outside the boundaries of the array
(especially in the case of (sh - 1 - (x + 1))).
I'm attaching a new patch that should resolve this issue.
Thanks.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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