You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-11 14:30:22 +02:00
lavf/dashenc: remove unneeded call to dash_free
This commit is contained in:
committed by
Karthick Jeyapal
parent
99230b7ef8
commit
08e0f45cc8
@ -1033,10 +1033,8 @@ static int dash_write_header(AVFormatContext *s)
|
|||||||
int i, ret;
|
int i, ret;
|
||||||
for (i = 0; i < s->nb_streams; i++) {
|
for (i = 0; i < s->nb_streams; i++) {
|
||||||
OutputStream *os = &c->streams[i];
|
OutputStream *os = &c->streams[i];
|
||||||
if ((ret = avformat_write_header(os->ctx, NULL)) < 0) {
|
if ((ret = avformat_write_header(os->ctx, NULL)) < 0)
|
||||||
dash_free(s);
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
ret = write_manifest(s, 0);
|
ret = write_manifest(s, 0);
|
||||||
if (!ret)
|
if (!ret)
|
||||||
|
Reference in New Issue
Block a user