Commit fcfc53ee authored by bcoudurier's avatar bcoudurier

align and remove useless braces

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12952 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 30bdfbd2
...@@ -629,15 +629,13 @@ static int mov_read_stco(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom) ...@@ -629,15 +629,13 @@ static int mov_read_stco(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
sc->chunk_offsets = av_malloc(entries * sizeof(int64_t)); sc->chunk_offsets = av_malloc(entries * sizeof(int64_t));
if (!sc->chunk_offsets) if (!sc->chunk_offsets)
return -1; return -1;
if (atom.type == MKTAG('s','t','c','o')) { if (atom.type == MKTAG('s','t','c','o'))
for(i=0; i<entries; i++) { for(i=0; i<entries; i++)
sc->chunk_offsets[i] = get_be32(pb); sc->chunk_offsets[i] = get_be32(pb);
} else if (atom.type == MKTAG('c','o','6','4'))
} else if (atom.type == MKTAG('c','o','6','4')) { for(i=0; i<entries; i++)
for(i=0; i<entries; i++) {
sc->chunk_offsets[i] = get_be64(pb); sc->chunk_offsets[i] = get_be64(pb);
} else
} else
return -1; return -1;
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment