summaryrefslogtreecommitdiff
path: root/libavformat/movenc.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-01-28 15:23:37 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-01-28 15:23:37 +0000
commitd97f2144357d6d7f64e1dddeae865d97a178918c (patch)
tree0d76c0e6b930de8283e19eac5baacc16dd6ac8b2 /libavformat/movenc.c
parenta23c9c4a50834ab8ea580d798c0301019611628e (diff)
indentation
Originally committed as revision 11651 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/movenc.c')
-rw-r--r--libavformat/movenc.c34
1 files changed, 17 insertions, 17 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index e283908440..e9a14d3f2a 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -511,24 +511,24 @@ static int mov_find_codec_tag(AVFormatContext *s, MOVTrack *track)
}
} else {
if (track->enc->codec_type == CODEC_TYPE_VIDEO) {
- tag = codec_get_tag(codec_movvideo_tags, track->enc->codec_id);
- // if no mac fcc found, try with Microsoft tags
- if (!tag) {
- tag = codec_get_tag(codec_bmp_tags, track->enc->codec_id);
- if (tag) {
- av_log(s, AV_LOG_INFO, "Warning, using MS style video codec tag, the file may be unplayable!\n");
- }
- }
+ tag = codec_get_tag(codec_movvideo_tags, track->enc->codec_id);
+ // if no mac fcc found, try with Microsoft tags
+ if (!tag) {
+ tag = codec_get_tag(codec_bmp_tags, track->enc->codec_id);
+ if (tag) {
+ av_log(s, AV_LOG_INFO, "Warning, using MS style video codec tag, the file may be unplayable!\n");
+ }
+ }
} else if (track->enc->codec_type == CODEC_TYPE_AUDIO) {
- tag = codec_get_tag(codec_movaudio_tags, track->enc->codec_id);
- // if no mac fcc found, try with Microsoft tags
- if (!tag) {
- int ms_tag = codec_get_tag(codec_wav_tags, track->enc->codec_id);
- if (ms_tag) {
- tag = MKTAG('m', 's', ((ms_tag >> 8) & 0xff), (ms_tag & 0xff));
- av_log(s, AV_LOG_INFO, "Warning, using MS style audio codec tag, the file may be unplayable!\n");
- }
- }
+ tag = codec_get_tag(codec_movaudio_tags, track->enc->codec_id);
+ // if no mac fcc found, try with Microsoft tags
+ if (!tag) {
+ int ms_tag = codec_get_tag(codec_wav_tags, track->enc->codec_id);
+ if (ms_tag) {
+ tag = MKTAG('m', 's', ((ms_tag >> 8) & 0xff), (ms_tag & 0xff));
+ av_log(s, AV_LOG_INFO, "Warning, using MS style audio codec tag, the file may be unplayable!\n");
+ }
+ }
}
}
}