Browse Source

lavf/dashenc: remove unneeded call to dash_free

tags/n4.0
Rodger Combs Karthick Jeyapal 7 years ago
parent
commit
08e0f45cc8
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      libavformat/dashenc.c

+ 1
- 3
libavformat/dashenc.c View File

@@ -1033,10 +1033,8 @@ static int dash_write_header(AVFormatContext *s)
int i, ret;
for (i = 0; i < s->nb_streams; i++) {
OutputStream *os = &c->streams[i];
if ((ret = avformat_write_header(os->ctx, NULL)) < 0) {
dash_free(s);
if ((ret = avformat_write_header(os->ctx, NULL)) < 0)
return ret;
}
}
ret = write_manifest(s, 0);
if (!ret)


Loading…
Cancel
Save