Mercurial > libavcodec.hg
diff mpeg4data.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 | ad5461bad820 |
| children | ba8ecddf5598 |
line wrap: on
line diff
--- a/mpeg4data.h Mon Oct 20 10:33:13 2003 +0000 +++ b/mpeg4data.h Mon Oct 20 20:23:46 2003 +0000 @@ -341,23 +341,23 @@ {1, 1}, {1, 2}, {1, 3}, {1, 4}, }; -static const uint16_t pixel_aspect[16][2]={ - {0, 0}, +static const AVRational pixel_aspect[16]={ + {0, 1}, {1, 1}, {12, 11}, {10, 11}, {16, 11}, {40, 33}, - {0, 0}, - {0, 0}, - {0, 0}, - {0, 0}, - {0, 0}, - {0, 0}, - {0, 0}, - {0, 0}, - {0, 0}, - {0, 0}, + {0, 1}, + {0, 1}, + {0, 1}, + {0, 1}, + {0, 1}, + {0, 1}, + {0, 1}, + {0, 1}, + {0, 1}, + {0, 1}, }; /* these matrixes will be permuted for the idct */
