qtdemux: fix potential crash on short MOOV atom
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 18 Feb 2013 16:32:13 +0000 (16:32 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 18 Feb 2013 16:35:08 +0000 (16:35 +0000)
commit34b81f7c93fd09db77ebb58301de5ef967c15157
tree4f672f8391dc2140fbaeff82a830ea5d2474ad8a
parent048d256041a68d0f4e64ddbb73a6bcf325e6ff17
qtdemux: fix potential crash on short MOOV atom

Don't unmap short MOOV atom buffer twice, which happened
in the case where we don't fix up the MOOV atom.

Fixes crashes when thumbnailing partial mp4 file where
the MOOV atom is still incomplete.

https://bugzilla.gnome.org/show_bug.cgi?id=694010
gst/isomp4/qtdemux.c