GNOME Bugzilla – Bug 623375
[ffmpegcolorspace] Invalid memory accesses with odd widths/height during subsampling
Last modified: 2010-07-02 12:11:57 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.
Created attachment 165099 [details] [review] ffmpegcolorspace: Fix invalid memory accesses with odd widths/heights during subsampling Fixes bug #623375.
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.