Author: darkshikari Date: Tue Jul 29 07:39:33 2008 New Revision: 14463 Log: Use #define instead of a constant. Patch by Paul Kendall. Modified: trunk/libavcodec/h264.c Modified: trunk/libavcodec/h264.c ============================================================================== --- trunk/libavcodec/h264.c (original) +++ trunk/libavcodec/h264.c Tue Jul 29 07:39:33 2008 @@ -978,7 +978,7 @@ static inline void pred_direct_motion(H2 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)
participants (1)
-
subversion@mplayerhq.hu