Commit d970f7ba authored by Gregor Riepl's avatar Gregor Riepl Committed by Michael Niedermayer

ffserver: fixed deallocation bug in build_feed_streams

Signed-off-by: 's avatarGregor Riepl <onitake@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 7f5c6ea5
......@@ -3863,6 +3863,8 @@ drop:
if (avformat_write_header(s, NULL) < 0) {
http_log("Container doesn't support the required parameters\n");
avio_closep(&s->pb);
s->streams = NULL;
s->nb_streams = 0;
avformat_free_context(s);
goto bail;
}
......
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