Mercurial > libavformat.hg
comparison mov.c @ 4807:916678f56bfd libavformat
Reindent
author | reimar |
---|---|
date | Thu, 02 Apr 2009 11:27:14 +0000 |
parents | c3f239ee623f |
children | ac71e186e2fe |
comparison
equal
deleted
inserted
replaced
4806:c3f239ee623f | 4807:916678f56bfd |
---|---|
996 } else if(st->codec->codec_type==CODEC_TYPE_SUBTITLE){ | 996 } else if(st->codec->codec_type==CODEC_TYPE_SUBTITLE){ |
997 // ttxt stsd contains display flags, justification, background | 997 // ttxt stsd contains display flags, justification, background |
998 // color, fonts, and default styles, so fake an atom to read it | 998 // color, fonts, and default styles, so fake an atom to read it |
999 MOVAtom fake_atom = { .size = size - (url_ftell(pb) - start_pos) }; | 999 MOVAtom fake_atom = { .size = size - (url_ftell(pb) - start_pos) }; |
1000 if (format != AV_RL32("mp4s")) // mp4s contains a regular esds atom | 1000 if (format != AV_RL32("mp4s")) // mp4s contains a regular esds atom |
1001 mov_read_glbl(c, pb, fake_atom); | 1001 mov_read_glbl(c, pb, fake_atom); |
1002 st->codec->codec_id= id; | 1002 st->codec->codec_id= id; |
1003 st->codec->width = sc->width; | 1003 st->codec->width = sc->width; |
1004 st->codec->height = sc->height; | 1004 st->codec->height = sc->height; |
1005 } else { | 1005 } else { |
1006 /* other codec type, just skip (rtp, mp4s, tmcd ...) */ | 1006 /* other codec type, just skip (rtp, mp4s, tmcd ...) */ |