Commit 86b088ca authored by vitor's avatar vitor

Do not do free AVStream in case of error, this is not supposed to be

done by the demuxer.

Fix issue 1378.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19825 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 56957637
......@@ -228,7 +228,6 @@ static int audio_read_header(AVFormatContext *s1, AVFormatParameters *ap)
ret = audio_open(s1, 0, s1->filename);
if (ret < 0) {
av_free(st);
return AVERROR(EIO);
}
......
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