shithub: libvpx

Download patch

ref: f3fa7cfbfa4a58d0ec5f762a4654b6daadb0aa45
parent: 7fa5223444bddf4cf646de03aa83d0b994eeeade
parent: 83bd16aaf3f8820bf13c7f4d5766c7be6d05ea5f
author: Jingning Han <[email protected]>
date: Thu Aug 20 14:01:06 EDT 2015

Merge "Refactor REFS_PER_FRAME definition"

--- a/vp10/common/onyxc_int.h
+++ b/vp10/common/onyxc_int.h
@@ -32,7 +32,7 @@
 extern "C" {
 #endif
 
-#define REFS_PER_FRAME 3
+#define REFS_PER_FRAME (ALTREF_FRAME - LAST_FRAME + 1)
 
 #define REF_FRAMES_LOG2 3
 #define REF_FRAMES (1 << REF_FRAMES_LOG2)