[Bug 767771] qtdemux/jpegdec: Interlaced content detected as progressive

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Oct 12 11:54:55 UTC 2016


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #337307|none                        |needs-work
             status|                            |

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

::: gst/isomp4/qtdemux.c
@@ +10021,3 @@
+            int clen =
+                *(const guint8 *) ((const guint8 *) jpeg->data +
+                compressor_offset);

Use GstByteReader or similar... also below for >8 bit integers it is not
endianness-independent the way you do it, and will also crash on architectures
that don't allow unaligned access.

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