Mercurial > libavcodec.hg
diff mpeg12data.h @ 1548:dd544554ed42 libavcodec
AVRational
sample_aspect_ratio
aspect ratio in JPEG JFIF is SAR not DAR !
removed nonsense SAR guessing code
various related cleanups
bugs?
author | michael |
---|---|
date | Mon, 20 Oct 2003 20:23:46 +0000 |
parents | 1cbc2380d172 |
children | c92147a61d97 |
line wrap: on
line diff
--- a/mpeg12data.h Mon Oct 20 10:33:13 2003 +0000 +++ b/mpeg12data.h Mon Oct 20 20:23:46 2003 +0000 @@ -416,11 +416,22 @@ 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}, };