[Bug 694299] crash in put_pixels16_sse2() with SVQ1 video

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jul 18 06:21:10 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=694299
  GStreamer | gst-libav | unspecified

--- Comment #25 from Arnaud Vrac <rawoul at gmail.com> 2013-07-18 13:21:06 UTC ---
Created an attachment (id=249501)
 View: https://bugzilla.gnome.org/attachment.cgi?id=249501
 Review: https://bugzilla.gnome.org/review?bug=694299&attachment=249501

video: respect stride alignment when calculating planes offsets

This patch for gst-plugins-base makes all plane start offsets aligned on the
plane stride align value.

The patch by itself is right, however it makes some videos crash when decoding
them with libav. This is because libav needs even more padding at the very end
of each plane, in some SIMD optimized functions. See
https://trac.ffmpeg.org/ticket/2645 and
http://git.videolan.org/?p=ffmpeg.git;a=commit;h=175e916fa20b7887bdb29809817985e481ae0888.
This is a patch from ffmpeg 2.0, even in the latest libav there is an
out-of-bounds write in some cases because the padding is not big enough.

I'm not sure how to add this small padding at the end of each plane with the
current API in gstreamer.

-- 
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