mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-23 15:53:36 +00:00
Do not do free AVStream in case of error, this is not supposed to be
done by the demuxer. Fix issue 1378. Originally committed as revision 19825 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
2dbcb03ad5
commit
600b9c5c8c
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user