wtvdec: Removed unused variable
authorTimothy Gu <timothygu99@gmail.com>
Sun, 31 Jan 2016 23:52:23 +0000 (15:52 -0800)
committerTimothy Gu <timothygu99@gmail.com>
Sun, 31 Jan 2016 23:52:23 +0000 (15:52 -0800)
libavformat/wtvdec.c

index 1deb4d9..71deaf0 100644 (file)
@@ -1027,7 +1027,6 @@ static int read_header(AVFormatContext *s)
             if (wtv->nb_index_entries) {
                 pb = wtvfile_open(s, root, root_size, ff_timeline_table_0_entries_Events_le16);
                 if (pb) {
             if (wtv->nb_index_entries) {
                 pb = wtvfile_open(s, root, root_size, ff_timeline_table_0_entries_Events_le16);
                 if (pb) {
-                    int i;
                     AVIndexEntry *e = wtv->index_entries;
                     AVIndexEntry *e_end = wtv->index_entries + wtv->nb_index_entries - 1;
                     uint64_t last_position = 0;
                     AVIndexEntry *e = wtv->index_entries;
                     AVIndexEntry *e_end = wtv->index_entries + wtv->nb_index_entries - 1;
                     uint64_t last_position = 0;