History

lavc/tiff: correct the default value of YCbCrSubsampling to 2x2

Pavel Skakov committed 7 years ago

Commit eb5d0f11 parent 5f138591 file · +1 −1Browse files

Unified · Split

libavcodec/tiff.c+1−1
@@ -2065,7 +2065,7 @@ static av_cold int tiff_init(AVCodecContext *avctx) · 2064 unmodified lines
20652065 s->width = 0;
20662066 s->height = 0;
20672067 s->subsampling[0] =
2068− s->subsampling[1] = 1;
2068+ s->subsampling[1] = 2;
20692069 s->avctx = avctx;
20702070 ff_lzw_decode_open(&s->lzw);
20712071 if (!s->lzw)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t