[Ffmpeg-devel] [BUG] Vorbis artifacts

Baptiste Coudurier baptiste.coudurier
Thu Aug 31 12:35:54 CEST 2006


Hi

Luca Barbato wrote:
> [...]
>      /* samples output by the codec. we reserve more space for avsync
>         compensation */
> -    uint8_t audio_buf[(AVCODEC_MAX_AUDIO_FRAME_SIZE * 3) / 2];
> +    uint8_t audio_buf[(AVCODEC_MAX_AUDIO_FRAME_SIZE * 3) / 2]  __attribute__((aligned(16)));
>      unsigned int audio_buf_size; /* in bytes */
>      int audio_buf_index; /* in bytes */
>      AVPacket audio_pkt;

Quick question, should we use DECLARE_ALIGNED(16) here or not ? Why not ?

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312




More information about the ffmpeg-devel mailing list