avformat/mov: Set fragment.found_tfhd only after TFHD has been parsed
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 14 Jun 2019 22:12:36 +0000 (00:12 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 27 Jun 2019 15:50:47 +0000 (17:50 +0200)
commit65e144014080281165a4cc04ab6096995c118d91
tree2429e867bb43e25da1a7d965510de8997fb62730
parent529a719a25e2949e80a4efee7880e3cf314cb98e
avformat/mov: Set fragment.found_tfhd only after TFHD has been parsed

Fixes: Assertion failure
Fixes: crbug971646.mp4

Reported-by: Matt Wolenetz <wolenetz@google.com>
Reviewed-by: Matt Wolenetz <wolenetz@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 696312c487d9d8c49a087017a829d1cdcbd68651)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/mov.c