aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/electronicarts.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2007-10-18 22:27:27 +0000
committerAurelien Jacobs <aurel@gnuage.org>2007-10-18 22:27:27 +0000
commitfa34563b2cda4efe9a0d02826fb71ed383f54f77 (patch)
tree7ef396f4cc78c5dee204843c115af40bd7f0c87a /libavformat/electronicarts.c
parentf8cab062caacba2982a0d0bccd504b11c073caf6 (diff)
downloadffmpeg-fa34563b2cda4efe9a0d02826fb71ed383f54f77.tar.gz
cosmetics: indentation
Originally committed as revision 10793 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/electronicarts.c')
-rw-r--r--libavformat/electronicarts.c19
1 files changed, 9 insertions, 10 deletions
diff --git a/libavformat/electronicarts.c b/libavformat/electronicarts.c
index 74ef7c8d12..9fd109a811 100644
--- a/libavformat/electronicarts.c
+++ b/libavformat/electronicarts.c
@@ -167,20 +167,19 @@ static int process_ea_header(AVFormatContext *s) {
for (i=0; i<5 && (!ea->audio_codec || !ea->video_codec); i++) {
unsigned int startpos = url_ftell(pb);
- blockid = get_le32(pb);
+ blockid = get_le32(pb);
size = get_le32(pb);
switch (blockid) {
case SCHl_TAG :
- blockid = get_le32(pb);
- if (blockid == GSTR_TAG) {
- url_fskip(pb, 4);
- } else if (blockid != PT00_TAG) {
- av_log (s, AV_LOG_ERROR, "unknown SCHl headerid\n");
- return 0;
- }
-
- process_audio_header_elements(s);
+ blockid = get_le32(pb);
+ if (blockid == GSTR_TAG) {
+ url_fskip(pb, 4);
+ } else if (blockid != PT00_TAG) {
+ av_log (s, AV_LOG_ERROR, "unknown SCHl headerid\n");
+ return 0;
+ }
+ process_audio_header_elements(s);
break;
case MVhd_TAG :