GNOME Bugzilla – Bug 709093
qtdemux: add HEVC support
Last modified: 2013-10-02 10:00:43 UTC
Created attachment 256083 [details] [review] Add hevc support in qtdemux The attached patch is adding HEVC support in qtdemux. This has a dependency to patch in https://bugzilla.gnome.org/show_bug.cgi?id=708921
Review of attachment 256083 [details] [review]: ::: gst/isomp4/qtdemux.c @@ +7505,3 @@ + { + gint len = QT_UINT32 (stsd_data) - 0x66; + const guint8 *hevc_data = stsd_data + 0x66; You should check if there is actually enough data available here, and also below in several places
(In reply to comment #1) > Review of attachment 256083 [details] [review]: > > ::: gst/isomp4/qtdemux.c > @@ +7505,3 @@ > + { > + gint len = QT_UINT32 (stsd_data) - 0x66; > + const guint8 *hevc_data = stsd_data + 0x66; > > You should check if there is actually enough data available here, and also > below in several places But the control will reach there if and only if there are enough data. Similar to that of avc1... isn't it?
Yes, you're right. It's a bit convoluted but indeed the checks are there
commit e779b6587b9969808030d706a5e834a38af025eb Author: Sreerenj Balachandran <sreerenj.balachandran@intel.com> Date: Mon Sep 30 12:31:42 2013 +0300 qtdemux: Add HEVC support https://bugzilla.gnome.org/show_bug.cgi?id=709093