diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-09-22 11:32:59 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-09-22 11:34:01 +0200 |
commit | 8310bccc91168b499ebedbeb8a63099ca3424b0a (patch) | |
tree | cb58e59c270da87f275ce133e0cc0bb557654947 /libavutil | |
parent | 90ca5a9b5fc3f1484c389a44f40ee1af4b8f435e (diff) | |
download | ffmpeg-streaming-8310bccc91168b499ebedbeb8a63099ca3424b0a.zip ffmpeg-streaming-8310bccc91168b499ebedbeb8a63099ca3424b0a.tar.gz |
avutil/pixdesc: try to fix NV20* descriptors
They where inconsistent (overlapping fields and wrong sizes)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/pixdesc.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c index e7bad97..9a33000 100644 --- a/libavutil/pixdesc.c +++ b/libavutil/pixdesc.c @@ -1824,9 +1824,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, }, @@ -1836,9 +1836,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, }, |