diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2009-09-12 16:23:13 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2009-09-12 16:23:13 +0000 |
commit | 600b9c5c8c34df5d0a9116c9c8bf1665235cadc4 (patch) | |
tree | 57655d127a6734451e1a3964de5da8f5f66b2792 | |
parent | 2dbcb03ad57744aefbe2b3371b482484824d352c (diff) | |
download | ffmpeg-600b9c5c8c34df5d0a9116c9c8bf1665235cadc4.tar.gz |
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
-rw-r--r-- | libavdevice/oss_audio.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavdevice/oss_audio.c b/libavdevice/oss_audio.c index 5b0d02a2f8..ed1a7a14a8 100644 --- a/libavdevice/oss_audio.c +++ b/libavdevice/oss_audio.c @@ -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); } |