Commit ad1bd6a4 authored by michael's avatar michael

Fix for url_fclose() being called on an already closed file based on a patch...

Fix for url_fclose() being called on an already closed file based on a patch by (<Colin Ward> hitman codehq org)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@4980 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 59d22235
......@@ -569,6 +569,7 @@ int av_open_input_file(AVFormatContext **ic_ptr, const char *filename,
if (url_fseek(pb, 0, SEEK_SET) == (offset_t)-EPIPE) {
url_fclose(pb);
if (url_fopen(pb, filename, URL_RDONLY) < 0) {
file_opened = 0;
err = AVERROR_IO;
goto fail;
}
......
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