summaryrefslogtreecommitdiff
path: root/libavcodec/h264.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-04-08 12:27:09 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-04-08 12:29:17 +0200
commit795199fca408b38cb8dbd85e213805bf19d2763c (patch)
tree7b918d6c97839a64966140cfdcdb54d4d121bafc /libavcodec/h264.h
parent92f94fd5dd8b256c5633eda655dda4782eca2ad8 (diff)
avcodec/h264: use consistent argument name in MB_FIELD() macro
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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 dc68b69a95..29bb3fba06 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -69,7 +69,7 @@
#ifdef ALLOW_INTERLACE
#define MB_MBAFF(h) (h)->mb_mbaff
-#define MB_FIELD(h) (h)->mb_field_decoding_flag
+#define MB_FIELD(sl) (sl)->mb_field_decoding_flag
#define FRAME_MBAFF(h) (h)->mb_aff_frame
#define FIELD_PICTURE(h) ((h)->picture_structure != PICT_FRAME)
#define LEFT_MBS 2
@@ -78,7 +78,7 @@
#define LEFT(i) (i)
#else
#define MB_MBAFF(h) 0
-#define MB_FIELD(h) 0
+#define MB_FIELD(sl) 0
#define FRAME_MBAFF(h) 0
#define FIELD_PICTURE(h) 0
#undef IS_INTERLACED