Commit 961e4a33 authored by Jai Menon's avatar Jai Menon
Browse files

FFmpeg : Close input file and free any related memory if

av_find_stream_info fails.

Originally committed as revision 24247 to svn://
parent ea15d200
......@@ -3203,6 +3203,7 @@ static void opt_input_file(const char *filename)
ret = av_find_stream_info(ic);
if (ret < 0 && verbose >= 0) {
fprintf(stderr, "%s: could not find codec parameters\n", filename);
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