After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 623375 - [ffmpegcolorspace] Invalid memory accesses with odd widths/height during subsampling
[ffmpegcolorspace] Invalid memory accesses with odd widths/height during subs...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.30
Other Linux
: Normal blocker
: 0.10.30
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-07-02 11:59 UTC by Sebastian Dröge (slomo)
Modified: 2010-07-02 12:11 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ffmpegcolorspace: Fix invalid memory accesses with odd widths/heights during subsampling (11.36 KB, patch)
2010-07-02 12:00 UTC, Sebastian Dröge (slomo)
committed Details | Review

Description Sebastian Dröge (slomo) 2010-07-02 11:59:45 UTC
ffmpegcolorspace has some invalid memory accesses with odd widths/heights during the subsampling process, e.g. when converting planar 4:2:2 to 4:4:4.

Example pipeline:
GST_REGISTRY_UPDATE=no G_SLICE=always-malloc valgrind --track-origins=yes ../../../gstreamer/tools/.libs/gst-launch-0.10 videotestsrc num-buffers=1 ! "video/x-raw-yuv,format=(fourcc)YUY2,width=320,height=241" ! ffmpegcolorspace ! "video/x-raw-yuv,format=(fourcc)YV12" ! fakesink


This happens in the videoscale unit test too.
Comment 1 Sebastian Dröge (slomo) 2010-07-02 12:00:27 UTC
Created attachment 165099 [details] [review]
ffmpegcolorspace: Fix invalid memory accesses with odd widths/heights during subsampling

Fixes bug #623375.
Comment 2 Sebastian Dröge (slomo) 2010-07-02 12:11:54 UTC
commit ef4165f08b11925396ea0df8b6056106eb09519a
Author: Sebastian Dröge <sebastian.droege@collabora.co.uk>
Date:   Fri Jul 2 13:59:55 2010 +0200

    ffmpegcolorspace: Fix invalid memory accesses with odd widths/heights during
    
    Fixes bug #623375.