OSDN Git Service

MOV: bail out to toplevel when encountering a trak or mdat chunk.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sun, 25 Mar 2012 12:13:04 +0000 (14:13 +0200)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 31 Mar 2012 10:37:42 +0000 (12:37 +0200)
commite0ad7f74c762fb303b1374bb53865c5639649b29
treeffdb542402747297a22cbd222a6f06f0bdf2fa59
parent2d54bbb9502442b84e19c5f424a566a35cf852c6
MOV: bail out to toplevel when encountering a trak or mdat chunk.

This patch fixes the sample from trac issue #733.
The issue is that the size of the trak elements is coded
too large, so that the next trak element would be parsed
as part of the first and truncated incorrectly.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
libavformat/mov.c