[FFmpeg-devel] [PATCH 11/24] avcodec/mjpegdec: replace YUVJ pixel formats

Michael Niedermayer michael at niedermayer.cc
Wed May 2 03:27:50 EEST 2018


On Tue, May 01, 2018 at 09:40:00PM +0200, Paul B Mahol wrote:
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> ---
>  libavcodec/mjpegdec.c                | 18 +++++++++---------
>  libavcodec/tdsc.c                    |  2 +-
>  tests/fate/vcodec.mak                |  4 ++--
>  tests/ref/fate/api-mjpeg-codec-param |  4 ++--
>  tests/ref/fate/exif-image-embedded   |  2 +-
>  tests/ref/fate/exif-image-jpg        |  2 +-
>  6 files changed, 16 insertions(+), 16 deletions(-)

the colors for the following look different between input and output after
this patch

./ffmpeg -i ~/tickets/3949/680.jpg -an -vcodec utvideo -t 1 -pix_fmt yuv420p out.avi

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Into a blind darkness they enter who follow after the Ignorance,
they as if into a greater darkness enter who devote themselves
to the Knowledge alone. -- Isha Upanishad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180502/3018b64a/attachment.sig>


More information about the ffmpeg-devel mailing list