summaryrefslogtreecommitdiff
path: root/libavcodec/amrwbdata.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/amrwbdata.h')
-rw-r--r--libavcodec/amrwbdata.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/amrwbdata.h b/libavcodec/amrwbdata.h
index 5421c23afb..83a93e997a 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)