mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-23 19:49:56 +00:00
free pb
Originally committed as revision 13872 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
f2972c8c82
commit
86771c6804
@ -2500,6 +2500,7 @@ static int http_receive_data(HTTPContext *c)
|
||||
/* Now we have the actual streams */
|
||||
if (s->nb_streams != feed->nb_streams) {
|
||||
av_close_input_stream(s);
|
||||
av_free(pb);
|
||||
goto fail;
|
||||
}
|
||||
|
||||
@ -2508,6 +2509,7 @@ static int http_receive_data(HTTPContext *c)
|
||||
s->streams[i]->codec, sizeof(AVCodecContext));
|
||||
|
||||
av_close_input_stream(s);
|
||||
av_free(pb);
|
||||
}
|
||||
c->buffer_ptr = c->buffer;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user