summaryrefslogtreecommitdiff
path: root/libavformat/mxfdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-05-27 11:50:38 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-05-27 15:42:45 +0200
commit65212e3ed9dd657f2e992440455e3a6b28e12d4c (patch)
tree90cf5ed6118df31bf2ba29661931c3c0894e4269 /libavformat/mxfdec.c
parent80bf2b6e841e51ed1cb073dc0e460749ac19284f (diff)
mxfdec: remove unused last_index_duration
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/mxfdec.c')
-rw-r--r--libavformat/mxfdec.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c
index 4cfbf95229..5cf9709a10 100644
--- a/libavformat/mxfdec.c
+++ b/libavformat/mxfdec.c
@@ -952,7 +952,6 @@ static int mxf_get_sorted_table_segments(MXFContext *mxf, int *nb_sorted_segment
int i, j, nb_segments = 0;
MXFIndexTableSegment **unsorted_segments;
int last_body_sid = -1, last_index_sid = -1, last_index_start = -1;
- uint64_t last_index_duration = 0;
/* count number of segments, allocate arrays and copy unsorted segments */
for (i = 0; i < mxf->metadata_sets_count; i++)
@@ -1003,7 +1002,6 @@ static int mxf_get_sorted_table_segments(MXFContext *mxf, int *nb_sorted_segment
last_body_sid = best_body_sid;
last_index_sid = best_index_sid;
last_index_start = best_index_start;
- last_index_duration = best_index_duration;
}
av_free(unsorted_segments);