diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-06-09 19:09:36 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-06-09 19:32:56 +0200 |
commit | 2a70e78a2885aa9264f95b293a2169e57ca1bbdb (patch) | |
tree | 98cf35756603d1ddf487d5afe2b0907ddb7a51f1 /libavformat/utils.c | |
parent | 0c7fa152b9d7cdcae8fc2714b12cf8eba6808799 (diff) |
avformat/utils: Initialize st in loop
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index ac056c49d4..db699de314 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -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)) { |