[FFmpeg-soc] [soc]: r5222 - concat/libavformat/avplaylist.c
gkovacs
subversion at mplayerhq.hu
Mon Aug 24 00:12:58 CEST 2009
Author: gkovacs
Date: Mon Aug 24 00:12:58 2009
New Revision: 5222
Log:
fix indentation
Modified:
concat/libavformat/avplaylist.c
Modified: concat/libavformat/avplaylist.c
==============================================================================
--- concat/libavformat/avplaylist.c Mon Aug 24 00:07:24 2009 (r5221)
+++ concat/libavformat/avplaylist.c Mon Aug 24 00:12:58 2009 (r5222)
@@ -70,15 +70,20 @@ void av_playlist_set_streams(AVFormatCon
if (!ic->streams[i]->codec->codec) {
AVCodec *codec = avcodec_find_decoder(ic->streams[i]->codec->codec_id);
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);
+ 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;
- }
- 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",
+ }
+ 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;
- }
+ }
}
}
s->nb_streams = ic->nb_streams + offset;
More information about the FFmpeg-soc
mailing list