summaryrefslogtreecommitdiff
path: root/libavcodec/mpeg12data.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/mpeg12data.h')
-rw-r--r--libavcodec/mpeg12data.h23
1 files changed, 17 insertions, 6 deletions
diff --git a/libavcodec/mpeg12data.h b/libavcodec/mpeg12data.h
index 938897528c..dd94bb572b 100644
--- a/libavcodec/mpeg12data.h
+++ b/libavcodec/mpeg12data.h
@@ -416,11 +416,22 @@ static const float mpeg1_aspect[16]={
1.2015,
};
-static const float mpeg2_aspect[16]={
- 0,
- 1.0,
- -3.0/4.0,
- -9.0/16.0,
- -1.0/2.21,
+static const AVRational mpeg2_aspect[16]={
+ {0,1},
+ {1,1},
+ {4,3},
+ {16,9},
+ {221,100},
+ {0,1},
+ {0,1},
+ {0,1},
+ {0,1},
+ {0,1},
+ {0,1},
+ {0,1},
+ {0,1},
+ {0,1},
+ {0,1},
+ {0,1},
};