Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2009-09-12 20:23:13 +0400
committerVitor Sessak <vitor1001@gmail.com>2009-09-12 20:23:13 +0400
commit600b9c5c8c34df5d0a9116c9c8bf1665235cadc4 (patch)
tree57655d127a6734451e1a3964de5da8f5f66b2792 /libavdevice/oss_audio.c
parent2dbcb03ad57744aefbe2b3371b482484824d352c (diff)
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 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);
}