1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

avformat/utils: Initialize st in loop

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2016-06-09 19:09:36 +02:00
parent 0c7fa152b9
commit 2a70e78a28

View File

@ -3605,6 +3605,8 @@ FF_ENABLE_DEPRECATION_WARNINGS
if (eof_reached && ic->internal->packet_buffer) {
int stream_index;
for (stream_index = 0; stream_index < ic->nb_streams; stream_index++) {
st = ic->streams[stream_index];
// EOF already reached while reading the stream above.
// So continue with reoordering DTS with whatever delay we have.
if (!has_decode_delay_been_guessed(st)) {