changeset 7445:a202753ce99d libavcodec

Use #define instead of a constant. Patch by Paul Kendall.
author darkshikari
date Tue, 29 Jul 2008 05:39:33 +0000
parents a9da32d66fec
children a4ebced5d4a2
files h264.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/h264.c	Mon Jul 28 15:42:49 2008 +0000
+++ b/h264.c	Tue Jul 29 05:39:33 2008 +0000
@@ -978,7 +978,7 @@
             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)