From c3ff0713ef7c27da02226efa61f4dd9015ebf22d Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Wed, 11 Jan 2012 10:54:12 +0100 Subject: [PATCH] Fix step_minus1 pixel descirption for RGB64. --- libavutil/pixdesc.c | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c index c6616884a5..75656da342 100644 --- a/libavutil/pixdesc.c +++ b/libavutil/pixdesc.c @@ -637,10 +637,10 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = { .log2_chroma_w= 0, .log2_chroma_h= 0, .comp = { - {0,5,1,0,15}, /* R */ - {0,5,3,0,15}, /* G */ - {0,5,5,0,15}, /* B */ - {0,5,7,0,15}, /* A */ + {0,7,1,0,15}, /* R */ + {0,7,3,0,15}, /* G */ + {0,7,5,0,15}, /* B */ + {0,7,7,0,15}, /* A */ }, .flags = PIX_FMT_RGB | PIX_FMT_BE, }, @@ -650,10 +650,10 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = { .log2_chroma_w= 0, .log2_chroma_h= 0, .comp = { - {0,5,1,0,15}, /* R */ - {0,5,3,0,15}, /* G */ - {0,5,5,0,15}, /* B */ - {0,5,7,0,15}, /* B */ + {0,7,1,0,15}, /* R */ + {0,7,3,0,15}, /* G */ + {0,7,5,0,15}, /* B */ + {0,7,7,0,15}, /* B */ }, .flags = PIX_FMT_RGB, }, @@ -759,10 +759,10 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = { .log2_chroma_w= 0, .log2_chroma_h= 0, .comp = { - {0,5,1,0,15}, /* B */ - {0,5,3,0,15}, /* G */ - {0,5,5,0,15}, /* R */ - {0,5,7,0,15}, /* A */ + {0,7,1,0,15}, /* B */ + {0,7,3,0,15}, /* G */ + {0,7,5,0,15}, /* R */ + {0,7,7,0,15}, /* A */ }, .flags = PIX_FMT_BE, }, @@ -772,10 +772,10 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = { .log2_chroma_w= 0, .log2_chroma_h= 0, .comp = { - {0,5,1,0,15}, /* B */ - {0,5,3,0,15}, /* G */ - {0,5,5,0,15}, /* R */ - {0,5,7,0,15}, /* A */ + {0,7,1,0,15}, /* B */ + {0,7,3,0,15}, /* G */ + {0,7,5,0,15}, /* R */ + {0,7,7,0,15}, /* A */ }, }, [PIX_FMT_BGR565BE] = {