mov: fix parsing of the chap atom.
authorHendrik Leppkes <h.leppkes@gmail.com>
Sun, 15 Jul 2012 08:58:27 +0000 (10:58 +0200)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Tue, 1 Jan 2013 16:36:26 +0000 (17:36 +0100)
commit5f95b300c12169b7f44c9b8cd664cf79bed5c5b3
tree1e139c643bb50f412dbd1c4010aa25ca148d3e9a
parent68e48ed72e0597ae61bc3e9e6e6d9edcb1a00073
mov: fix parsing of the chap atom.

This was broken in 0d96ec19ebc1577b27a889136364a906e1c627b1 under the
assumption that there is only one tref leaf atom.

Fixes Ticket #2081.
(cherry picked from commit 765158dd82a2e985f4eb0b201a8256964403f623)
libavformat/mov.c