Fix type mismatch in array definition

vp9_default_inter_mode_probs was being accessed with a different type
than it was defined with. Ensure that its declaration is included
prior to its definition.

Change-Id: I2f963f513ab2f4e339f8a3c17e3d0f03749eba16
This commit is contained in:
John Koleszar 2013-06-14 16:38:42 -07:00
parent 0f7a66e962
commit a9415d2e4c
2 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@
*/
#include "vp9/common/vp9_entropy.h"
#include "vp9/common/vp9_modecont.h"
const vp9_prob vp9_default_inter_mode_probs[INTER_MODE_CONTEXTS]
[VP9_INTER_MODES - 1] = {

View File

@ -13,7 +13,7 @@
#include "vp9/common/vp9_entropy.h"
extern const int vp9_default_inter_mode_probs[INTER_MODE_CONTEXTS]
[VP9_INTER_MODES - 1];
extern const vp9_prob vp9_default_inter_mode_probs[INTER_MODE_CONTEXTS]
[VP9_INTER_MODES - 1];
#endif // VP9_COMMON_VP9_MODECONT_H_