diff options
author | Maksym Veremeyenko <verem@m1stereo.tv> | 2011-02-25 17:42:56 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2011-02-25 22:31:16 +0100 |
commit | 77d207cbe64710b7b34865f347e608b9c0e15968 (patch) | |
tree | 27bf583cc4033f0423f3890a974fc9ac70aef5f6 | |
parent | ea1afa124cb58c7eebd4fd3706434fafb58b00c0 (diff) | |
download | ffmpeg-77d207cbe64710b7b34865f347e608b9c0e15968.tar.gz |
reindent after tapt patch
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-rw-r--r-- | libavformat/movenc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 376555d6ae..59c579a5ad 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -1220,11 +1220,11 @@ static int mov_write_tkhd_tag(AVIOContext *pb, MOVTrack *track, AVStream *st) avio_wb32(pb, track->enc->width << 16); avio_wb32(pb, track->enc->height << 16); } else { - double sample_aspect_ratio = av_q2d(st->sample_aspect_ratio); - if(!sample_aspect_ratio || track->height != track->enc->height) - sample_aspect_ratio = 1; - avio_wb32(pb, sample_aspect_ratio * track->enc->width*0x10000); - avio_wb32(pb, track->height*0x10000); + double sample_aspect_ratio = av_q2d(st->sample_aspect_ratio); + if(!sample_aspect_ratio || track->height != track->enc->height) + sample_aspect_ratio = 1; + avio_wb32(pb, sample_aspect_ratio * track->enc->width*0x10000); + avio_wb32(pb, track->height*0x10000); } } else { |