diff options
Diffstat (limited to 'libavcodec/amrwbdata.h')
-rw-r--r-- | libavcodec/amrwbdata.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/amrwbdata.h b/libavcodec/amrwbdata.h index 972c257d2a..83390fc393 100644 --- a/libavcodec/amrwbdata.h +++ b/libavcodec/amrwbdata.h @@ -82,7 +82,7 @@ typedef struct { } AMRWBFrame; /** The index of a frame parameter */ -#define AMR_BIT(field) (offsetof(AMRWBFrame, field) >> 1) +#define AMR_BIT(field) (offsetof(AMRWBFrame, field)) /** The index of a subframe-specific parameter */ #define AMR_OF(frame_num, variable) AMR_BIT(subframe[frame_num].variable) |