mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 12:09:55 +00:00
avformat/utils: Initialize st in loop
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
0c7fa152b9
commit
2a70e78a28
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user