summaryrefslogtreecommitdiff
path: root/libavcodec/amr.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/amr.h')
-rw-r--r--libavcodec/amr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/amr.h b/libavcodec/amr.h
index ae6e4d1490..9498d57a9b 100644
--- a/libavcodec/amr.h
+++ b/libavcodec/amr.h
@@ -61,7 +61,7 @@ static inline void ff_amr_bit_reorder(uint16_t *out, int size,
field <<= 1;
field |= data[bit >> 3] >> (bit & 7) & 1;
}
- out[field_offset] = field;
+ out[field_offset >> 1] = field;
}
}