set channel number even for inactive channels
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>
Wed, 25 Feb 2009 08:06:15 +0000 (08:06 +0000)
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>
Wed, 25 Feb 2009 08:06:15 +0000 (08:06 +0000)
Originally committed as revision 17581 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/mxfenc.c

index c1e60a7..1fa1bfb 100644 (file)
@@ -1617,7 +1617,7 @@ static void mxf_write_d10_audio_packet(AVFormatContext *s, AVStream *st, AVPacke
             put_le32(pb, sample | i);
         }
         for (; i < 8; i++)
-            put_le32(pb, 0);
+            put_le32(pb, i);
     }
 }