[FFmpeg-cvslog] avformat/movenc: write pasp atom even if sar.num == sar.den

Paul B Mahol git at videolan.org
Fri Sep 23 01:00:48 EEST 2016


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Tue Sep 20 14:48:44 2016 +0200| [88d79dbd16ae76b96a57379926d85b675411d86c] | committer: Paul B Mahol

avformat/movenc: write pasp atom even if sar.num == sar.den

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=88d79dbd16ae76b96a57379926d85b675411d86c
---

 libavformat/movenc.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index aa4a076..0382309 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);
     }
 



More information about the ffmpeg-cvslog mailing list