summaryrefslogtreecommitdiff
path: root/libavcodec/h264.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-03-09 20:37:11 +0100
committerAnton Khirnov <anton@khirnov.net>2013-03-21 10:20:35 +0100
commitda6be8fcec16a94d8084bda8bb8a0a411a96bcf7 (patch)
tree2033e189dae6e172d9609b4cfb6723813c1b3c53 /libavcodec/h264.h
parent82313eaa34b02cf1a4b6f55c1b73549ec8d056f0 (diff)
h264: add a parameter to the MB_FIELD macro.
This way it does not look like a constant.
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r--libavcodec/h264.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index 1da1922188..9d2a1c5756 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -60,7 +60,7 @@
#ifdef ALLOW_INTERLACE
#define MB_MBAFF(h) h->mb_mbaff
-#define MB_FIELD h->mb_field_decoding_flag
+#define MB_FIELD(h) h->mb_field_decoding_flag
#define FRAME_MBAFF h->mb_aff_frame
#define FIELD_PICTURE (h->picture_structure != PICT_FRAME)
#define LEFT_MBS 2
@@ -69,7 +69,7 @@
#define LEFT(i) (i)
#else
#define MB_MBAFF(h) 0
-#define MB_FIELD 0
+#define MB_FIELD(h) 0
#define FRAME_MBAFF 0
#define FIELD_PICTURE 0
#undef IS_INTERLACED