summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2015-05-07 23:37:18 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-05-08 00:44:06 +0200
commit72e7553125e61847d9cab77fb7de62440dca746b (patch)
treebe0b1f8a2473a7bb9f68936566fd4111e2589374 /tests
parent3b123353950934e12d04c5c98c98262a196dd651 (diff)
pngdec: set correct range
AV_PIX_FMT_GRAY8/16 are considered YUV formats, and the color_range is not set - so the API user will have to assume limitted range. (Unless the API user adds a special-case for the PNG decoder.) Just export the correct range - full range. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/fate/png-ya162
-rw-r--r--tests/ref/fate/png-ya82
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/ref/fate/png-ya16 b/tests/ref/fate/png-ya16
index 07906c4a70..dffdaf7038 100644
--- a/tests/ref/fate/png-ya16
+++ b/tests/ref/fate/png-ya16
@@ -1,2 +1,2 @@
#tb 0: 1/25
-0, 0, 0, 1, 49152, 0x93ce1cd5
+0, 0, 0, 1, 49152, 0x0801ce78
diff --git a/tests/ref/fate/png-ya8 b/tests/ref/fate/png-ya8
index 3a5c99d9eb..1318af80c6 100644
--- a/tests/ref/fate/png-ya8
+++ b/tests/ref/fate/png-ya8
@@ -1,2 +1,2 @@
#tb 0: 1/25
-0, 0, 0, 1, 49152, 0xed73bf03
+0, 0, 0, 1, 49152, 0x5a1481f8