Mercurial > libavformat.hg
comparison electronicarts.c @ 2614:46d233a8d62b libavformat
cosmetics: reindent
author | aurel |
---|---|
date | Mon, 15 Oct 2007 22:52:22 +0000 |
parents | 8e31eb11b5f2 |
children | 7c3869c40295 |
comparison
equal
deleted
inserted
replaced
2613:8e31eb11b5f2 | 2614:46d233a8d62b |
---|---|
179 | 179 |
180 if (!process_ea_header(s)) | 180 if (!process_ea_header(s)) |
181 return AVERROR(EIO); | 181 return AVERROR(EIO); |
182 | 182 |
183 if (ea->time_base.num && ea->time_base.den) { | 183 if (ea->time_base.num && ea->time_base.den) { |
184 /* initialize the video decoder stream */ | 184 /* initialize the video decoder stream */ |
185 st = av_new_stream(s, 0); | 185 st = av_new_stream(s, 0); |
186 if (!st) | 186 if (!st) |
187 return AVERROR(ENOMEM); | 187 return AVERROR(ENOMEM); |
188 ea->video_stream_index = st->index; | 188 ea->video_stream_index = st->index; |
189 st->codec->codec_type = CODEC_TYPE_VIDEO; | 189 st->codec->codec_type = CODEC_TYPE_VIDEO; |
190 st->codec->codec_id = CODEC_ID_VP6; | 190 st->codec->codec_id = CODEC_ID_VP6; |
191 st->codec->codec_tag = 0; /* no fourcc */ | 191 st->codec->codec_tag = 0; /* no fourcc */ |
192 st->codec->time_base = ea->time_base; | 192 st->codec->time_base = ea->time_base; |
193 } | 193 } |
194 | 194 |
195 /* initialize the audio decoder stream */ | 195 /* initialize the audio decoder stream */ |
196 st = av_new_stream(s, 0); | 196 st = av_new_stream(s, 0); |
197 if (!st) | 197 if (!st) |