From 8b62647a5fea94fd5fede91f8371e983e1bda40c Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Thu, 23 Nov 2017 02:57:24 +0100 Subject: [PATCH] lavf/mov: Read aspect ratio from AVID jpeg2000 mov files. --- 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;