set channel number even for inactive channels

Originally committed as revision 17581 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier 2009-02-25 08:06:15 +00:00
parent 6df1deda30
commit 37653f0b93
1 changed files with 1 additions and 1 deletions

View 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);
}
}