mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
avformat/dashenc: Fix a bug with writing "final" manifest
This bug was introduced in the commit 951561b64e
This commit is contained in:
parent
613ca7b100
commit
eeca67e023
@ -1631,7 +1631,7 @@ static int dash_flush(AVFormatContext *s, int final, int stream)
|
||||
}
|
||||
}
|
||||
if (ret >= 0) {
|
||||
if (c->has_video) {
|
||||
if (c->has_video && !final) {
|
||||
c->nr_of_streams_flushed++;
|
||||
if (c->nr_of_streams_flushed != c->nr_of_streams_to_flush)
|
||||
return ret;
|
||||
|
Loading…
Reference in New Issue
Block a user