[Ffmpeg-devel] RFC : alac cleanning
matthieu castet
castet.matthieu
Fri May 26 10:42:46 CEST 2006
M?ns Rullg?rd wrote:
> Matti Hamalainen <mhamalai at students.oamk.fi> writes:
>>
>>>I attach a update version of my patch.
>>>
>>
>>+ for (chan = 0; chan < MAX_CHANNELS; chan++) {
>>+ alac->predicterror_buffer[chan] = av_malloc(alac->setinfo_max_samples_per_frame * 4);
>>
>>Why not * sizeof(int32_t) or such instead of * 4?
>
>
> Better yet, sizeof(*alac->predicterror_buffer[0]).
>
I wanted to avoid comestic stuff, but I think I will add this in an
extra patch.
Matthieu
More information about the ffmpeg-devel
mailing list