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:39 +0100 |
commit | 7bece9b22f75289d84ac71c1c7b79851274e723e (patch) | |
tree | 515298bca7e013b81b9625b1e680842c996d8c12 /libavcodec/h264_mb_template.c | |
parent | da6be8fcec16a94d8084bda8bb8a0a411a96bcf7 (diff) | |
download | ffmpeg-7bece9b22f75289d84ac71c1c7b79851274e723e.tar.gz |
h264: add a parameter to the FRAME_MBAFF macro.
This way it does not look like a constant.
Diffstat (limited to 'libavcodec/h264_mb_template.c')
-rw-r--r-- | libavcodec/h264_mb_template.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h264_mb_template.c b/libavcodec/h264_mb_template.c index 5c1121f735..769ac94d3d 100644 --- a/libavcodec/h264_mb_template.c +++ b/libavcodec/h264_mb_template.c @@ -73,7 +73,7 @@ static av_noinline void FUNC(hl_decode_mb)(H264Context *h) dest_cb -= h->uvlinesize * (block_h - 1); dest_cr -= h->uvlinesize * (block_h - 1); } - if (FRAME_MBAFF) { + if (FRAME_MBAFF(h)) { int list; for (list = 0; list < h->list_count; list++) { if (!USES_LIST(mb_type, list)) @@ -302,7 +302,7 @@ static av_noinline void FUNC(hl_decode_mb_444)(H264Context *h) if (mb_y & 1) // FIXME move out of this function? for (p = 0; p < 3; p++) dest[p] -= h->linesize * 15; - if (FRAME_MBAFF) { + if (FRAME_MBAFF(h)) { int list; for (list = 0; list < h->list_count; list++) { if (!USES_LIST(mb_type, list)) |