mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2025-02-16 02:49:36 +00:00
avformat/dashenc: Fix a bug with writing "final" manifest
This bug was introduced in the commit 951561b64ee6c11f01daedd9dcf73276cc1e765b
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…
x
Reference in New Issue
Block a user