summaryrefslogtreecommitdiff
path: root/libavformat/movenc.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2016-09-20 14:48:44 +0200
committerPaul B Mahol <onemda@gmail.com>2016-09-22 23:59:46 +0200
commit88d79dbd16ae76b96a57379926d85b675411d86c (patch)
tree15b23f0dacd4be9d22e5f74adcfcd0f932205fa3 /libavformat/movenc.c
parent6d9a46e884d090a68069112a3b0436aa8b563967 (diff)
downloadffmpeg-88d79dbd16ae76b96a57379926d85b675411d86c.tar.gz
avformat/movenc: write pasp atom even if sar.num == sar.den
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavformat/movenc.c')
-rw-r--r--libavformat/movenc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index aa4a076b30..0382309b51 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -1837,8 +1837,7 @@ static int mov_write_video_tag(AVIOContext *pb, MOVMuxContext *mov, MOVTrack *tr
av_log(mov->fc, AV_LOG_WARNING, "Not writing 'colr' atom. Format is not MOV or MP4.\n");
}
- if (track->par->sample_aspect_ratio.den && track->par->sample_aspect_ratio.num &&
- track->par->sample_aspect_ratio.den != track->par->sample_aspect_ratio.num) {
+ if (track->par->sample_aspect_ratio.den && track->par->sample_aspect_ratio.num) {
mov_write_pasp_tag(pb, track);
}