diff options
author | Martin Storsjö <martin@martin.st> | 2015-01-20 15:54:03 +0100 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2015-03-10 10:41:03 +0200 |
commit | 0c5e380c2c266d2e8a13c000cc527529db837f10 (patch) | |
tree | 9042342e981e581edbc247b92b71103834614025 /libavformat/movenc.h | |
parent | cf402d6fa88acd647cdff993429583bec8a34fdc (diff) | |
download | ffmpeg-0c5e380c2c266d2e8a13c000cc527529db837f10.tar.gz |
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>
Diffstat (limited to 'libavformat/movenc.h')
-rw-r--r-- | libavformat/movenc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/movenc.h b/libavformat/movenc.h index 682820ed0e..3ac53059b4 100644 --- a/libavformat/movenc.h +++ b/libavformat/movenc.h @@ -131,6 +131,8 @@ typedef struct MOVTrack { struct { int first_packet_seq; int first_packet_entry; + int first_packet_seen; + int first_frag_written; int packet_seq; int packet_entry; int slices; |