From c872bdb0f87aad8603fb6bfcd03a2c4ef140a5e6 Mon Sep 17 00:00:00 2001
From: Baptiste Coudurier <baptiste.coudurier@gmail.com>
Date: Sun, 31 Aug 2008 01:41:10 +0000
Subject: [PATCH] remove now useless track_number_sign

Originally committed as revision 15084 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavformat/mxfenc.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c
index 8591297fa68..8773f270673 100644
--- a/libavformat/mxfenc.c
+++ b/libavformat/mxfenc.c
@@ -432,7 +432,7 @@ static void mxf_write_package(AVFormatContext *s, enum MXFMetadataSetType type)
     }
 }
 
-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 @@ static void mxf_build_structural_metadata(AVFormatContext *s, enum MXFMetadataSe
 {
     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);
 
-- 
GitLab