[vlc-devel] [Patch] Correcting potential crash in audio bandlimited resampler
    Rafaël Carré 
    rafael.carre at gmail.com
       
    Wed Nov 25 18:34:10 CET 2009
    
    
  
On Thu, 19 Nov 2009 12:22:01 +0100
Hugo Beauzee-Luyssen <beauze.h at gmail.com> wrote:
> +        p_filter->fmt_in.audio.i_bytes_per_frame =
> +                p_filter->fmt_in.audio.i_channels *
> +                p_filter->fmt_in.audio.i_bitspersample / 8;
That would be the number of bytes per sample, not per frame
Instead perhaps the block size could be used? (I didn't read
bandlimited code)
-- 
Rafaël Carré
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20091125/017ca196/attachment.sig>
    
    
More information about the vlc-devel
mailing list