[FFmpeg-devel] [PATCH] Optimization of original IFF codec

Ronald S. Bultje rsbultje
Sun Apr 25 21:25:19 CEST 2010


Hi,

On Sun, Apr 25, 2010 at 3:02 PM, Sebastian Vater
<cdgs.basty at googlemail.com> wrote:
> Ronald S. Bultje a ?crit :
>>> - ? ? ? ? ? ? ? ?decodeplane32(row, buf, FFMIN(s->planesize, buf_end - buf), avctx->bits_per_coded_sample, plane);
>> [..]
>>> + ? ? ? ? ? ? ? ?decodeplane32((uint32_t *) row, buf, FFMIN(s->planesize, buf_end - buf), avctx->bits_per_coded_sample, plane);
>>
>> Why did you add the cast? Is that necessary?
>>
> Yes because I changed decodeplane from void * to uint8_t * and uint32_t
> *, the cast removes a nasty GCC warning about incompatible
> pointer-assignment ;)

I don't see where you change that (maybe wrong patch again?).

Ronald



More information about the ffmpeg-devel mailing list