summaryrefslogtreecommitdiff
path: root/libavformat/mxfenc.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2009-02-25 08:06:15 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2009-02-25 08:06:15 +0000
commit37653f0b938cb80385a40ca20e0641808a2e41ec (patch)
tree68d177ff97de1a82999a1fdee64edef49d0b9d7a /libavformat/mxfenc.c
parent6df1deda30c72a443050e4c7120d57ff6e94f56f (diff)
downloadffmpeg-37653f0b938cb80385a40ca20e0641808a2e41ec.tar.gz
set channel number even for inactive channels
Originally committed as revision 17581 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mxfenc.c')
-rw-r--r--libavformat/mxfenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c
index c1e60a706d..1fa1bfbff8 100644
--- a/libavformat/mxfenc.c
+++ b/libavformat/mxfenc.c
@@ -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);
}
}