[FFmpeg-cvslog] r19825 - trunk/libavdevice/oss_audio.c
vitor
subversion
Sat Sep 12 18:23:13 CEST 2009
Author: vitor
Date: Sat Sep 12 18:23:13 2009
New Revision: 19825
Log:
Do not do free AVStream in case of error, this is not supposed to be
done by the demuxer.
Fix issue 1378.
Modified:
trunk/libavdevice/oss_audio.c
Modified: trunk/libavdevice/oss_audio.c
==============================================================================
--- trunk/libavdevice/oss_audio.c Fri Sep 11 21:39:40 2009 (r19824)
+++ trunk/libavdevice/oss_audio.c Sat Sep 12 18:23:13 2009 (r19825)
@@ -228,7 +228,6 @@ static int audio_read_header(AVFormatCon
ret = audio_open(s1, 0, s1->filename);
if (ret < 0) {
- av_free(st);
return AVERROR(EIO);
}
More information about the ffmpeg-cvslog
mailing list