Browse Source

avformat/dashenc: Fix a bug with writing "final" manifest

This bug was introduced in the commit 951561b64e
tags/n4.2
Karthick J 6 years ago
parent
commit
eeca67e023
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/dashenc.c

+ 1
- 1
libavformat/dashenc.c View File

@@ -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…
Cancel
Save