On 06/14/2011 04:55 PM, Ronald S. Bultje wrote:

> The comment should have been placed only in
> yuv2rgb48_X_c_template, not yuv2rgb48_1_c_template.
> ---
>  libswscale/swscale.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
> 
> diff --git a/libswscale/swscale.c b/libswscale/swscale.c
> index 07f2145..f729c11 100644
> --- a/libswscale/swscale.c
> +++ b/libswscale/swscale.c
> @@ -862,7 +862,6 @@ yuv2rgb48_1_c_template(SwsContext *c, const uint16_t 
> *buf0,
>              int Y2 =  buf0[i * 2 + 1]      >> 7;
>              int U  = (ubuf0[i] + ubuf1[i]) >> 8;
>              int V  = (vbuf0[i] + vbuf1[i]) >> 8;
> -            /* FIXME fix tables so that clipping is not needed and then use 
> _NOCLIP*/
>              const uint8_t *r = (const uint8_t *) c->table_rV[V],
>                            *g = (const uint8_t *)(c->table_gU[U] + 
> c->table_gV[V]),
>                            *b = (const uint8_t *) c->table_bU[U];


yeah, i was kind of puzzled by that comment...

patch ok.

-Justin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to