[FFmpeg-cvslog] lavf/mov: Read aspect ratio from AVID jpeg2000 mov files.

Carl Eugen Hoyos git at videolan.org
Thu Nov 23 03:58:53 EET 2017


ffmpeg | branch: master | Carl Eugen Hoyos <ceffmpeg at gmail.com> | Thu Nov 23 02:57:24 2017 +0100| [8b62647a5fea94fd5fede91f8371e983e1bda40c] | committer: Carl Eugen Hoyos

lavf/mov: Read aspect ratio from AVID jpeg2000 mov files.

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

 libavformat/mov.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/mov.c b/libavformat/mov.c
index 9e876efc8c..f3e86dfc6d 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -1733,6 +1733,7 @@ static int mov_read_ares(MOVContext *c, AVIOContext *pb, MOVAtom atom)
                 par->width = 1440;
             return 0;
         } else if ((par->codec_tag == MKTAG('A', 'V', 'd', '1') ||
+                    par->codec_tag == MKTAG('A', 'V', 'j', '2') ||
                     par->codec_tag == MKTAG('A', 'V', 'd', 'n')) &&
                    atom.size >= 24) {
             int num, den;



More information about the ffmpeg-cvslog mailing list