changeset 4537:6e217e9ca23d libavformat

fix partition index byte count
author bcoudurier
date Wed, 18 Feb 2009 07:14:23 +0000
parents b94bedbb59d7
children 63c5b6f7d3f5
files mxfenc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mxfenc.c	Wed Feb 18 07:13:57 2009 +0000
+++ b/mxfenc.c	Wed Feb 18 07:14:23 2009 +0000
@@ -1176,7 +1176,7 @@
         index_byte_count = 85 + 12+(s->nb_streams+1)*6 +
             12+mxf->edit_units_count*(11+mxf->slice_count*4);
     else if (mxf->edit_unit_byte_count && indexsid)
-        index_byte_count = 85;
+        index_byte_count = 80;
 
     if (index_byte_count) {
         // add encoded ber length