summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-09-20 23:54:00 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-09-20 23:54:00 +0200
commit28dce3cdbc3330629660f0da352b14daf48d9379 (patch)
treed348a18bb14100a4da709d05d9e5a5b106245100
parent9950073655f59632edf751ca2981d3a9d00ca438 (diff)
avcodec/alacenc: Remove unused variable
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/alacenc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/alacenc.c b/libavcodec/alacenc.c
index 4e6113b95f..ce63da6637 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]);