This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
png: Set the color range as full range
The format uses full range for the gray formats. CC:
libav-stable@libav.org
tags/n2.7
wm4
Luca Barbato
10 years ago
parent
254f3daba4
commit
b9f7a67708
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
libavcodec/pngdec.c
+ 2
- 0
libavcodec/pngdec.c
View File
@@ -646,6 +646,8 @@ static av_cold int png_dec_init(AVCodecContext *avctx)
{
PNGDecContext *s = avctx->priv_data;
avctx->color_range = AVCOL_RANGE_JPEG;
s->prev = av_frame_alloc();
if (!s->prev)
return AVERROR(ENOMEM);
Write
Preview
Loading…
Cancel
Save