summaryrefslogtreecommitdiff
path: root/libavformat/movenc.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2015-01-20 15:54:03 +0100
committerMartin Storsjö <martin@martin.st>2015-03-10 10:41:03 +0200
commit0c5e380c2c266d2e8a13c000cc527529db837f10 (patch)
tree9042342e981e581edbc247b92b71103834614025 /libavformat/movenc.h
parentcf402d6fa88acd647cdff993429583bec8a34fdc (diff)
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.h2
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;