Commit 5080ab5f authored by bcoudurier's avatar bcoudurier

check av_open_input_stream error

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13874 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 2128599e
......@@ -2494,7 +2494,10 @@ static int http_receive_data(HTTPContext *c)
if (!fmt_in)
goto fail;
av_open_input_stream(&s, pb, c->stream->feed_filename, fmt_in, NULL);
if (av_open_input_stream(&s, pb, c->stream->feed_filename, fmt_in, NULL) < 0) {
av_free(pb);
goto fail;
}
/* Now we have the actual streams */
if (s->nb_streams != feed->nb_streams) {
......
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