Browse Source

cosmetics: indentation

Originally committed as revision 10793 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Aurelien Jacobs 18 years ago
parent
commit
fa34563b2c
1 changed files with 9 additions and 10 deletions
  1. +9
    -10
      libavformat/electronicarts.c

+ 9
- 10
libavformat/electronicarts.c View File

@@ -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 :


Loading…
Cancel
Save