qtdemux: Handle moov atom length=0 case by reading until the end
authorVivia Nikolaidou <vivia@ahiru.eu>
Fri, 10 Feb 2023 13:43:45 +0000 (15:43 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 11 Feb 2023 13:31:26 +0000 (13:31 +0000)
commit625f9aab09f70887491da14d1cc6a61cc55a8ec0
treed0ea4cf50ad96a6186d6a35498bd886236c45855
parentcab020b4cb5418359c13409a115c844b80d9c06f
qtdemux: Handle moov atom length=0 case by reading until the end

Previously it would fail to demux the file by trying to read G_MAXUINT64
bytes.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3938>
subprojects/gst-plugins-good/gst/isomp4/qtdemux.c