Commit 08e0f45c authored by Rodger Combs's avatar Rodger Combs Committed by Karthick Jeyapal

lavf/dashenc: remove unneeded call to dash_free

parent 99230b7e
......@@ -1033,11 +1033,9 @@ 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)
av_log(s, AV_LOG_VERBOSE, "Manifest written to: %s\n", s->url);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment