mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
mxfdec: remove unused last_index_duration
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
80bf2b6e84
commit
65212e3ed9
@ -952,7 +952,6 @@ static int mxf_get_sorted_table_segments(MXFContext *mxf, int *nb_sorted_segment
|
|||||||
int i, j, nb_segments = 0;
|
int i, j, nb_segments = 0;
|
||||||
MXFIndexTableSegment **unsorted_segments;
|
MXFIndexTableSegment **unsorted_segments;
|
||||||
int last_body_sid = -1, last_index_sid = -1, last_index_start = -1;
|
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 */
|
/* count number of segments, allocate arrays and copy unsorted segments */
|
||||||
for (i = 0; i < mxf->metadata_sets_count; i++)
|
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_body_sid = best_body_sid;
|
||||||
last_index_sid = best_index_sid;
|
last_index_sid = best_index_sid;
|
||||||
last_index_start = best_index_start;
|
last_index_start = best_index_start;
|
||||||
last_index_duration = best_index_duration;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
av_free(unsorted_segments);
|
av_free(unsorted_segments);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user