summaryrefslogtreecommitdiff
path: root/ffplay.c
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2006-08-31 19:14:00 +0000
committerLuca Barbato <lu_zero@gentoo.org>2006-08-31 19:14:00 +0000
commit9814587500d819e88b92e80ed43a2cc1e1a869b7 (patch)
tree97171fdd22a0cda2242d0d2d0f41a340c7c7396b /ffplay.c
parent12ccec0f15f1062c807a0f233561ded6f24d7879 (diff)
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffplay.c b/ffplay.c
index 46638bdc5c..77d4aaa983 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -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;