[FFmpeg-cvslog] avcodec/alacenc: Remove unused variable

Michael Niedermayer git at videolan.org
Sun Sep 21 01:12:32 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Sep 20 23:54:00 2014 +0200| [28dce3cdbc3330629660f0da352b14daf48d9379] | committer: Michael Niedermayer

avcodec/alacenc: Remove unused variable

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=28dce3cdbc3330629660f0da352b14daf48d9379
---

 libavcodec/alacenc.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/libavcodec/alacenc.c b/libavcodec/alacenc.c
index 4e6113b..ce63da6 100644
--- a/libavcodec/alacenc.c
+++ b/libavcodec/alacenc.c
@@ -429,7 +429,6 @@ static void write_element(AlacEncodeContext *s,
 
         // write extra bits if needed
         if (s->extra_bits) {
-            uint32_t mask = (1 << s->extra_bits) - 1;
             for (i = 0; i < s->frame_size; i++) {
                 for (j = 0; j < channels; j++) {
                     put_bits(pb, s->extra_bits, s->predictor_buf[j][i]);



More information about the ffmpeg-cvslog mailing list