On 12/04/2011 04:01 AM, Chris Berov wrote:

> -        avctx->block_align = BLKSIZE;
> -        /* seems frame_size isn't taken into account... have to buffer the 
> samples :-( */
> +        /* each 16 bits sample gives one nibble     
> +           and we have 4 bytes per channel overhead */
> +        avctx->frame_size = (BLKSIZE - 4 * avctx->channels) * 8 /
> +                            (4 * avctx->channels) + 1; 
> +        /* seems frame_size isn't taken into account...
> +           have to buffer the samples :-( */
> +             avctx->block_align = BLKSIZE;


this line is not at the proper indentation level.

-Justin

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to