cosmetics, reindent, add empty lines
Originally committed as revision 18363 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -583,8 +583,10 @@ static const AVCodecTag codec_ipod_tags[] = {
|
||||
static int mp4_get_codec_tag(AVFormatContext *s, MOVTrack *track)
|
||||
{
|
||||
int tag = track->enc->codec_tag;
|
||||
|
||||
if (!codec_get_tag(ff_mp4_obj_type, track->enc->codec_id))
|
||||
return 0;
|
||||
|
||||
if (track->enc->codec_id == CODEC_ID_H264) tag = MKTAG('a','v','c','1');
|
||||
else if (track->enc->codec_id == CODEC_ID_AC3) tag = MKTAG('a','c','-','3');
|
||||
else if (track->enc->codec_id == CODEC_ID_DIRAC) tag = MKTAG('d','r','a','c');
|
||||
@@ -630,6 +632,7 @@ static int mov_get_rawvideo_codec_tag(AVFormatContext *s, MOVTrack *track)
|
||||
{
|
||||
int tag = track->enc->codec_tag;
|
||||
int i;
|
||||
|
||||
for (i = 0; i < FF_ARRAY_ELEMS(mov_pix_fmt_tags); i++) {
|
||||
if (track->enc->pix_fmt == mov_pix_fmt_tags[i].pix_fmt) {
|
||||
tag = mov_pix_fmt_tags[i].tag;
|
||||
@@ -679,6 +682,7 @@ static int mov_get_codec_tag(AVFormatContext *s, MOVTrack *track)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return tag;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user