diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-04-06 00:45:25 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-04-10 03:47:08 +0200 |
commit | 48cda7d02b768d965db6582271a2f8591f2a3a10 (patch) | |
tree | f0bc5a9d11f6af4183c473943b1e6284174d5b6b /libavcodec/frwu.c | |
parent | 159bcb19b9482a98652ded9eee2751e9de0e9d0f (diff) | |
download | ffmpeg-48cda7d02b768d965db6582271a2f8591f2a3a10.tar.gz |
avcodec/ljpegenc: Allow full range yuv420p, yuv422p, yuv444p by default
The documentation for AV_PIX_FMT_YUVJ420P reads:
"planar YUV 4:2:0, 12bpp, full scale (JPEG), deprecated in favor of
AV_PIX_FMT_YUV420P and setting color_range"
Yet the LJPEG encoder only accepts full scale yuv420p when strictness is
set to unofficial or lower; with default strictness it emits a nonsense
error message that says that limit range YUV is unofficial. This has
been changed to allow full range yuv420p, yuv422p and yuv444p irrespective
of the level of strictness.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/frwu.c')
0 files changed, 0 insertions, 0 deletions