diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2006-08-31 19:14:00 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2006-08-31 19:14:00 +0000 |
commit | 9814587500d819e88b92e80ed43a2cc1e1a869b7 (patch) | |
tree | 97171fdd22a0cda2242d0d2d0f41a340c7c7396b /ffplay.c | |
parent | 12ccec0f15f1062c807a0f233561ded6f24d7879 (diff) | |
download | ffmpeg-9814587500d819e88b92e80ed43a2cc1e1a869b7.tar.gz |
Align the input buffer in ffplay, introduce a public macro for aligned declarations
Update the avcodec_decode_audio and the float_to_int16 descriptions accordingly
Originally committed as revision 6147 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -133,7 +133,7 @@ typedef struct VideoState { int audio_hw_buf_size; /* samples output by the codec. we reserve more space for avsync compensation */ - uint8_t audio_buf[(AVCODEC_MAX_AUDIO_FRAME_SIZE * 3) / 2]; + DECLARE_ALIGNED(16,uint8_t,audio_buf[(AVCODEC_MAX_AUDIO_FRAME_SIZE * 3) / 2]); unsigned int audio_buf_size; /* in bytes */ int audio_buf_index; /* in bytes */ AVPacket audio_pkt; |