mirror of https://git.ffmpeg.org/ffmpeg.git
Merge commit '0f50c53cfb959162f2bccc1a2c2e066d35723595' into release/2.4
* commit '0f50c53cfb959162f2bccc1a2c2e066d35723595': png: Set the color range as full range Conflicts: libavcodec/pngdec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
1ab5f63941
|
@ -918,6 +918,7 @@ static av_cold int png_dec_init(AVCodecContext *avctx)
|
|||
{
|
||||
PNGDecContext *s = avctx->priv_data;
|
||||
|
||||
avctx->color_range = AVCOL_RANGE_JPEG;
|
||||
s->avctx = avctx;
|
||||
s->last_picture.f = av_frame_alloc();
|
||||
s->picture.f = av_frame_alloc();
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#tb 0: 1/25
|
||||
0, 0, 0, 1, 49152, 0x93ce1cd5
|
||||
0, 0, 0, 1, 49152, 0x0801ce78
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#tb 0: 1/25
|
||||
0, 0, 0, 1, 49152, 0xed73bf03
|
||||
0, 0, 0, 1, 49152, 0x5a1481f8
|
||||
|
|
Loading…
Reference in New Issue