[FFmpeg-devel] [PATCH] Fix return value for sws_setColorspaceDetails()
Stefano Sabatini
stefano.sabatini-lala
Thu Apr 16 18:05:29 CEST 2009
On date Tuesday 2009-04-14 11:57:14 +0200, Stefano Sabatini encoded:
> Hi,
> I'm still in the process of figuring out how the whole thing works,
> but the fix looks obvious.
>
> Regards.
> --
> FFmpeg = Fostering & Friendly Mind-dumbing Purposeless Ecumenical Geisha
> Index: ffmpeg/libswscale/swscale.c
> ===================================================================
> --- ffmpeg.orig/libswscale/swscale.c 2009-04-14 11:54:53.000000000 +0200
> +++ ffmpeg/libswscale/swscale.c 2009-04-14 11:54:57.000000000 +0200
> @@ -2299,7 +2299,7 @@
> c->saturation= saturation;
> c->srcRange = srcRange;
> c->dstRange = dstRange;
> - if (isYUV(c->dstFormat) || isGray(c->dstFormat)) return 0;
> + if (isYUV(c->dstFormat) || isGray(c->dstFormat)) return -1;
>
> c->uOffset= 0x0400040004000400LL;
> c->vOffset= 0x0400040004000400LL;
Ping?
--
FFmpeg = Forgiving and Foolish Merciless Ponderous Exciting Generator
More information about the ffmpeg-devel
mailing list