[Ffmpeg-devel] RFC : alac cleanning

Matti Hamalainen mhamalai
Fri May 26 00:04:14 CEST 2006


On Thu, 25 May 2006, matthieu castet wrote:

> Hi,
...
> 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?

-- 
] ccr/TNSP^DKD^pWp :: ccr(at)tnsp(dot)org :: http://ccr.tnsp.org/
] Fingerprint: 0466 95ED 96DF 3701 C71D   D62D 10A6 28A6 1374 C112




More information about the ffmpeg-devel mailing list