# HG changeset patch # User bcoudurier # Date 1220146870 0 # Node ID b12626ef10204d069b8964dfdba6f22fc3f7655f # Parent dcc57b916324f477455418b9a1e6648377dd325c remove now useless track_number_sign diff -r dcc57b916324 -r b12626ef1020 mxfenc.c --- a/mxfenc.c Sun Aug 31 01:39:42 2008 +0000 +++ b/mxfenc.c Sun Aug 31 01:41:10 2008 +0000 @@ -432,7 +432,7 @@ } } -static void mxf_write_track(AVFormatContext *s, int stream_index, enum MXFMetadataSetType type, int *track_number_sign) +static void mxf_write_track(AVFormatContext *s, int stream_index, enum MXFMetadataSetType type) { ByteIOContext *pb = s->pb; AVStream *st = s->streams[stream_index]; @@ -647,15 +647,13 @@ { int i; const MXFDescriptorWriteTableEntry *desc = NULL; - int track_number_sign[sizeof(mxf_essence_container_uls)/ - sizeof(*mxf_essence_container_uls)] = {0}; mxf_write_package(s, type); if (type == SourcePackage) mxf_write_multi_descriptor(s); for (i = 0;i < s->nb_streams; i++) { - mxf_write_track(s, i, type, track_number_sign); + mxf_write_track(s, i, type); mxf_write_sequence(s, i, type); mxf_write_structural_component(s, i, type);