diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-03-09 20:37:11 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-03-21 10:20:35 +0100 |
commit | da6be8fcec16a94d8084bda8bb8a0a411a96bcf7 (patch) | |
tree | 2033e189dae6e172d9609b4cfb6723813c1b3c53 /libavcodec/h264_cavlc.c | |
parent | 82313eaa34b02cf1a4b6f55c1b73549ec8d056f0 (diff) | |
download | ffmpeg-da6be8fcec16a94d8084bda8bb8a0a411a96bcf7.tar.gz |
h264: add a parameter to the MB_FIELD macro.
This way it does not look like a constant.
Diffstat (limited to 'libavcodec/h264_cavlc.c')
-rw-r--r-- | libavcodec/h264_cavlc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_cavlc.c b/libavcodec/h264_cavlc.c index 424165fece..b66ce9a0b1 100644 --- a/libavcodec/h264_cavlc.c +++ b/libavcodec/h264_cavlc.c @@ -755,7 +755,7 @@ decode_intra_mb: mb_type= i_mb_type_info[mb_type].type; } - if(MB_FIELD) + if(MB_FIELD(h)) mb_type |= MB_TYPE_INTERLACED; h->slice_table[ mb_xy ]= h->slice_num; |