[FFmpeg-cvslog] avcodec/h264: use consistent argument name in MB_FIELD() macro

Michael Niedermayer git at videolan.org
Wed Apr 8 12:45:27 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Apr  8 12:27:09 2015 +0200| [795199fca408b38cb8dbd85e213805bf19d2763c] | committer: Michael Niedermayer

avcodec/h264: use consistent argument name in MB_FIELD() macro

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=795199fca408b38cb8dbd85e213805bf19d2763c
---

 libavcodec/h264.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index dc68b69..29bb3fb 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



More information about the ffmpeg-cvslog mailing list