diff options
Diffstat (limited to 'libavcodec/amrnbdata.h')
-rw-r--r-- | libavcodec/amrnbdata.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/amrnbdata.h b/libavcodec/amrnbdata.h index 2745d33ffb..6e555bfdb4 100644 --- a/libavcodec/amrnbdata.h +++ b/libavcodec/amrnbdata.h @@ -71,7 +71,7 @@ typedef struct { } AMRNBFrame; /** The index of a frame parameter */ -#define AMR_BIT(field) (offsetof(AMRNBFrame, field) >> 1) +#define AMR_BIT(field) (offsetof(AMRNBFrame, field)) /** The index of a subframe-specific parameter */ #define AMR_OF(frame_num, variable) AMR_BIT(subframe[frame_num].variable) |