summaryrefslogtreecommitdiffstats
path: root/libavdevice/oss_audio.c
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2009-09-12 16:23:13 +0000
committerVitor Sessak <vitor1001@gmail.com>2009-09-12 16:23:13 +0000
commit600b9c5c8c34df5d0a9116c9c8bf1665235cadc4 (patch)
tree57655d127a6734451e1a3964de5da8f5f66b2792 /libavdevice/oss_audio.c
parent2dbcb03ad57744aefbe2b3371b482484824d352c (diff)
downloadffmpeg-streaming-600b9c5c8c34df5d0a9116c9c8bf1665235cadc4.zip
ffmpeg-streaming-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
Diffstat (limited to 'libavdevice/oss_audio.c')
-rw-r--r--libavdevice/oss_audio.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavdevice/oss_audio.c b/libavdevice/oss_audio.c
index 5b0d02a..ed1a7a1 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);
}
OpenPOWER on IntegriCloud