diff options
author | Jai Menon <jmenon86@gmail.com> | 2010-02-06 12:52:22 +0000 |
---|---|---|
committer | Jai Menon <jmenon86@gmail.com> | 2010-02-06 12:52:22 +0000 |
commit | f6d2916550e6bdea0f26f33e7d75f2948e5364ee (patch) | |
tree | 36a02ab5e20027893ef343bcb0a5107674278964 /libavcodec | |
parent | b53ae8b6b1694f8bb20b8109f31293a452f5c09f (diff) | |
download | ffmpeg-f6d2916550e6bdea0f26f33e7d75f2948e5364ee.tar.gz |
Avoid using an intermediate variable.
Originally committed as revision 21656 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/alac.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/alac.c b/libavcodec/alac.c index c06b93bc94..959bc6208a 100644 --- a/libavcodec/alac.c +++ b/libavcodec/alac.c @@ -646,8 +646,7 @@ static int alac_decode_frame(AVCodecContext *avctx, } else { int i; for (i = 0; i < outputsamples; i++) { - int16_t sample = alac->outputsamples_buffer[0][i]; - ((int16_t*)outbuffer)[i] = sample; + ((int16_t*)outbuffer)[i] = alac->outputsamples_buffer[0][i]; } } break; |