On Wed, Apr 2, 2014 at 8:16 PM, Diego Biurrun <[email protected]> wrote:
> On Wed, Apr 02, 2014 at 04:16:57PM +0200, Vittorio Giovara wrote:
>> --- /dev/null
>> +++ b/libavcodec/sgirledec.c
>> @@ -0,0 +1,160 @@
>> +/**
>> + * @file
>> + * Silicon Graphics RLE 8-bit video decoder
>> + * @note Data is packed in rbg323 with rle, contained in mv or mov.
>> + * The algorithm and pixfmt are subtley different from SGI images.
>
> subtl_y
>
>> +/**
>> + * @param[out] dst Destination buffer
>> + * @param[in] src  Source buffer
>> + * @param src_size Source buffer size (bytes)
>> + * @param width    Width of destination buffer (pixels)
>> + * @param height   Height of destination buffer (pixels)
>> + * @param linesize Line size of destination buffer (bytes)
>> + *
>> + * @return <0 on error
>> + */
>> +static int decode_sgirle8(AVCodecContext *avctx, uint8_t *dst,
>> +                          const uint8_t *src, int src_size,
>> +                          int width, int height, int linesize)
>
> Nowadays we use ptrdiff_t for array stride size.
Locally amended
-- 
Vittorio
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to