qtdemux: avoid XMP tag parsing fatal error.
authorDavid Warman <dwarman@manglebit.org>
Fri, 13 Jan 2017 12:27:40 +0000 (12:27 +0000)
committerThiago Santos <thiagossantos@gmail.com>
Wed, 18 Jan 2017 02:26:02 +0000 (23:26 -0300)
commit642331fd7f5b6236049fbd3b56f2f7f8a71ba174
tree0f9de0a858ccedf86a2d85df95cb9a5a87c349c0
parent5bb7ca8a623426cde67a6cf54526bcc6a3fd3395
qtdemux: avoid XMP tag parsing fatal error.

qtdemux_handle_xmp_taglist() requires a writable taglist,
but qtdemux->tag_list can become non-writable, specifically
after sending global tags (qtdemux.c:958), which adds a
second reference.  Ensure the list is made writable before
calling (make_writable will copy the list if necessary).

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