[FFmpeg-soc] [soc]: r5090 - concat/libavformat/playlist.c
gkovacs
subversion at mplayerhq.hu
Thu Aug 13 22:20:57 CEST 2009
Author: gkovacs
Date: Thu Aug 13 22:20:57 2009
New Revision: 5090
Log:
don't return value in ff_playlist_set_streams
Modified:
concat/libavformat/playlist.c
Modified: concat/libavformat/playlist.c
==============================================================================
--- concat/libavformat/playlist.c Thu Aug 13 22:19:56 2009 (r5089)
+++ concat/libavformat/playlist.c Thu Aug 13 22:20:57 2009 (r5090)
@@ -72,12 +72,12 @@ void ff_playlist_set_streams(AVFormatCon
if (!codec) {
av_log(ic->streams[i]->codec, AV_LOG_ERROR, "Decoder (codec id %d) not found for input stream #%d\n",
ic->streams[i]->codec->codec_id, ic->streams[i]->index);
- return AVERROR(EINVAL);
+ return;
}
if (avcodec_open(ic->streams[i]->codec, codec) < 0) {
av_log(ic->streams[i]->codec, AV_LOG_ERROR, "Error while opening decoder for input stream #%d\n",
ic->streams[i]->index);
- return AVERROR(EINVAL);
+ return;
}
}
}
More information about the FFmpeg-soc
mailing list