[FFmpeg-soc] [soc]: r2839 - mxf/mxfenc.c
spyfeng
subversion at mplayerhq.hu
Wed Jul 23 18:22:57 CEST 2008
Author: spyfeng
Date: Wed Jul 23 18:22:57 2008
New Revision: 2839
Log:
fix bug in mxf_write_track().
should write local tag before writing track number.
Modified:
mxf/mxfenc.c
Modified: mxf/mxfenc.c
==============================================================================
--- mxf/mxfenc.c (original)
+++ mxf/mxfenc.c Wed Jul 23 18:22:57 2008
@@ -586,11 +586,11 @@ static int mxf_write_track(AVFormatConte
mxf_write_local_tag(pb, 4, 0x4801);
put_be32(pb, stream_index + 1);
+ mxf_write_local_tag(pb, 4, 0x4804);
if (type != MaterialPackage) {
for (element = mxf_essence_element_key; element->type != CODEC_ID_NONE; element++) {
if (st->codec->codec_id== element->type) {
// write track number
- mxf_write_local_tag(pb, 4, 0x4804);
put_buffer(pb, element->uid + 12, 3);
put_byte(pb, element->uid[15] + mxf->track_number_sign[i]);
mxf->track_number_sign[i] ++;
More information about the FFmpeg-soc
mailing list