Commit 2a70e78a authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/utils: Initialize st in loop

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 0c7fa152
......@@ -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)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment