Commit de7b4c75 authored by darkshikari's avatar darkshikari

Use #define instead of a constant. Patch by Paul Kendall.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14463 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 88b85037
......@@ -978,7 +978,7 @@ static inline void pred_direct_motion(H264Context * const h, int *mb_type){
int refa = h->ref_cache[list][scan8[0] - 1];
int refb = h->ref_cache[list][scan8[0] - 8];
int refc = h->ref_cache[list][scan8[0] - 8 + 4];
if(refc == -2)
if(refc == PART_NOT_AVAILABLE)
refc = h->ref_cache[list][scan8[0] - 8 - 1];
ref[list] = FFMIN3((unsigned)refa, (unsigned)refb, (unsigned)refc);
if(ref[list] < 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment