avformat/mov: Use ff_configure_buffers_for_index()
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 2 Jun 2015 16:31:05 +0000 (18:31 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 13 Jul 2015 10:38:21 +0000 (12:38 +0200)
Fixes Ticket2513
Fixes Ticket4432

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/mov.c

index 453e85c..d1b29a2 100644 (file)
@@ -4299,6 +4299,7 @@ static int mov_read_header(AVFormatContext *s)
             break;
         }
     }
+    ff_configure_buffers_for_index(s, AV_TIME_BASE);
 
     return 0;
 }