[SCM] libav/experimental: fix partition index byte count

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:38:44 UTC 2013


The following commit has been merged in the experimental branch:
commit 7b05a81687aa1e871bb0c359726691257b37f4e1
Author: Baptiste Coudurier <baptiste.coudurier at gmail.com>
Date:   Wed Feb 18 07:14:23 2009 +0000

    fix partition index byte count
    
    Originally committed as revision 17424 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c
index 50fe235..e287e55 100644
--- a/libavformat/mxfenc.c
+++ b/libavformat/mxfenc.c
@@ -1176,7 +1176,7 @@ static void mxf_write_partition(AVFormatContext *s, int bodysid,
         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

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list