movenc: Don't rely on the fragment index for vc1 info gathering
authorMartin Storsjö <martin@martin.st>
Tue, 20 Jan 2015 14:54:03 +0000 (15:54 +0100)
committerMartin Storsjö <martin@martin.st>
Tue, 10 Mar 2015 08:41:03 +0000 (10:41 +0200)
commit0c5e380c2c266d2e8a13c000cc527529db837f10
tree9042342e981e581edbc247b92b71103834614025
parentcf402d6fa88acd647cdff993429583bec8a34fdc
movenc: Don't rely on the fragment index for vc1 info gathering

The previous use of the mov->fragments field, for determining whether
written packets were part of the first fragment or not, didn't
work as intended when using the empty_moov flag.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/movenc.c
libavformat/movenc.h