aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-09-22 05:42:18 -0500
committerAnton Khirnov <anton@khirnov.net>2013-09-24 14:02:10 +0200
commita454dec19aa6666b555deec431bc42eda391d7b6 (patch)
treeb04e0834a651b60f4b74703f3568010dd72d5574 /libavutil
parent84df6d6a85e2136be60fd34bb57dd00705a01e28 (diff)
downloadffmpeg-a454dec19aa6666b555deec431bc42eda391d7b6.tar.gz
pixdesc: fix NV20* descriptors
They were inconsistent (overlapping fields and wrong sizes) Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/pixdesc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c
index c44bc16cc4..49c9072323 100644
--- a/libavutil/pixdesc.c
+++ b/libavutil/pixdesc.c
@@ -1410,9 +1410,9 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = {
.log2_chroma_w = 1,
.log2_chroma_h = 0,
.comp = {
- { 0, 0, 1, 0, 9 }, /* Y */
- { 1, 1, 1, 0, 9 }, /* U */
- { 1, 1, 3, 0, 9 }, /* V */
+ { 0, 1, 1, 0, 9 }, /* Y */
+ { 1, 3, 1, 0, 9 }, /* U */
+ { 1, 3, 3, 0, 9 }, /* V */
},
.flags = AV_PIX_FMT_FLAG_PLANAR,
},
@@ -1422,9 +1422,9 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = {
.log2_chroma_w = 1,
.log2_chroma_h = 0,
.comp = {
- { 0, 0, 1, 0, 9 }, /* Y */
- { 1, 1, 1, 0, 9 }, /* U */
- { 1, 1, 3, 0, 9 }, /* V */
+ { 0, 1, 1, 0, 9 }, /* Y */
+ { 1, 3, 1, 0, 9 }, /* U */
+ { 1, 3, 3, 0, 9 }, /* V */
},
.flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_BE,
},