[SCM] libav/experimental: Use #define instead of a constant. Patch by Paul Kendall.
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:26:18 UTC 2013
The following commit has been merged in the experimental branch:
commit 9bec77fe8ddc0c6a5c91f15b5625fbff535279c7
Author: Paul Kendall <paul at kcbbs.gen.nz>
Date: Tue Jul 29 05:39:33 2008 +0000
Use #define instead of a constant. Patch by Paul Kendall.
Originally committed as revision 14463 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 62bc05e..e0ede84 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -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)
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list