Commit 1b5da287 authored by bcoudurier's avatar bcoudurier

dont allo st->codec it will be overwritten later, fix memleak

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13870 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 3b25165b
......@@ -2047,7 +2047,6 @@ static int http_prepare_data(HTTPContext *c)
AVStream *st;
AVStream *src;
st = av_mallocz(sizeof(AVStream));
st->codec= avcodec_alloc_context();
c->fmt_ctx.streams[i] = st;
/* if file or feed, then just take streams from FFStream struct */
if (!c->stream->feed ||
......
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