h264: add a parameter to the MB_MBAFF macro.

This way it does not look like a constant.
This commit is contained in:
Anton Khirnov
2013-03-09 20:37:11 +01:00
parent 48d0fd2d62
commit 82313eaa34
4 changed files with 18 additions and 18 deletions

View File

@@ -59,7 +59,7 @@
#define MAX_SLICES 16
#ifdef ALLOW_INTERLACE
#define MB_MBAFF h->mb_mbaff
#define MB_MBAFF(h) h->mb_mbaff
#define MB_FIELD h->mb_field_decoding_flag
#define FRAME_MBAFF h->mb_aff_frame
#define FIELD_PICTURE (h->picture_structure != PICT_FRAME)
@@ -68,7 +68,7 @@
#define LBOT 1
#define LEFT(i) (i)
#else
#define MB_MBAFF 0
#define MB_MBAFF(h) 0
#define MB_FIELD 0
#define FRAME_MBAFF 0
#define FIELD_PICTURE 0