summaryrefslogtreecommitdiff
path: root/libavformat/mov.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>2017-11-23 02:57:24 +0100
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2017-11-23 02:57:24 +0100
commit8b62647a5fea94fd5fede91f8371e983e1bda40c (patch)
tree2a75c88d885af53e62c0073e8bdfcb6d9c93bebb /libavformat/mov.c
parent6e0723470bea258ceb72ee4c4916cf8f80337f92 (diff)
lavf/mov: Read aspect ratio from AVID jpeg2000 mov files.
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r--libavformat/mov.c1
1 files changed, 1 insertions, 0 deletions
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;