You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
Use #define instead of a constant. Patch by Paul Kendall.
Originally committed as revision 14463 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
committed by
Jason Garrett-Glaser
parent
150d5a259b
commit
9bec77fe8d
@@ -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)
|
||||
|
Reference in New Issue
Block a user