"Ronald S. Bultje" <[email protected]> writes:

> Hi,
>
> On Sat, Jul 9, 2011 at 3:41 AM, Mans Rullgard <[email protected]> wrote:
>> Signed-off-by: Mans Rullgard <[email protected]>
>> ---
>>  libavcodec/bit_depth_template.c |   21 ++++++---------------
>>  1 files changed, 6 insertions(+), 15 deletions(-)
> [..]
>> +#   define av_clip_pixel(a) av_clip_uintp2(a, BIT_DEPTH)
>> +#   define CLIP(a)          av_clip_uintp2(a, BIT_DEPTH)
> [..]
>> -#if BIT_DEPTH == 8
>>  #   define av_clip_pixel(a) av_clip_uint8(a)
>>  #   define CLIP(a) cm[a]
>> +#endif
>> +
>> +#if BIT_DEPTH == 8
>
> So we no longer use av_clip_uint8(), is that a good idea?

Yes, we do.  Read the patched code again.

-- 
Måns Rullgård
[email protected]
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to