h264: move sub_mb_type into the per-slice context
This commit is contained in:
@@ -123,7 +123,7 @@ static void await_references(H264Context *h, H264SliceContext *sl)
|
||||
assert(IS_8X8(mb_type));
|
||||
|
||||
for (i = 0; i < 4; i++) {
|
||||
const int sub_mb_type = h->sub_mb_type[i];
|
||||
const int sub_mb_type = sl->sub_mb_type[i];
|
||||
const int n = 4 * i;
|
||||
int y_offset = (i & 2) << 2;
|
||||
|
||||
|
Reference in New Issue
Block a user