[FFmpeg-devel] [PATCH]Never decode vc1 as gray if gray decoding was not enabled

Michael Niedermayer michaelni at gmx.at
Sun May 17 11:34:32 CEST 2015


On Sun, May 17, 2015 at 10:57:10AM +0200, Carl Eugen Hoyos wrote:
> Hi!
> 
> Currently, when compiling FFmpeg with --disable-gray (the default) 
> and decoding vc1 with CODEC_FLAG_GRAY set, the output is gray with 
> artefacts.
> The attached patch makes the output coloured in this case, but 
> maybe the current behaviour is intended?
> 
> Carl Eugen

>  vc1_block.c      |   36 ++++++++++++++++++------------------
>  vc1_loopfilter.c |    4 ++--
>  vc1_mc.c         |   12 ++++++------
>  vc1dec.c         |    6 +++---
>  4 files changed, 29 insertions(+), 29 deletions(-)

LGTM

thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When you are offended at any man's fault, turn to yourself and study your
own failings. Then you will forget your anger. -- Epictetus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150517/6bf9d454/attachment.asc>


More information about the ffmpeg-devel mailing list