mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-22 15:23:11 +00:00
vc1dec: fix a possible unitialized variable warning
This commit is contained in:
parent
f1c4a54f6e
commit
c611148340
@ -1868,7 +1868,8 @@ static inline void vc1_pred_mv_intfr(VC1Context *v, int n, int dmv_x, int dmv_y,
|
|||||||
} else if (c_valid) {
|
} else if (c_valid) {
|
||||||
px = C[0];
|
px = C[0];
|
||||||
py = C[1];
|
py = C[1];
|
||||||
}
|
} else
|
||||||
|
px = py = 0;
|
||||||
}
|
}
|
||||||
} else if (total_valid == 1) {
|
} else if (total_valid == 1) {
|
||||||
px = (a_valid) ? A[0] : ((b_valid) ? B[0] : C[0]);
|
px = (a_valid) ? A[0] : ((b_valid) ? B[0] : C[0]);
|
||||||
|
Loading…
Reference in New Issue
Block a user