Commit a9415d2e authored by John Koleszar's avatar John Koleszar
Browse files

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
parent 0f7a66e9
...@@ -9,7 +9,7 @@ ...@@ -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] const vp9_prob vp9_default_inter_mode_probs[INTER_MODE_CONTEXTS]
[VP9_INTER_MODES - 1] = { [VP9_INTER_MODES - 1] = {
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#include "vp9/common/vp9_entropy.h" #include "vp9/common/vp9_entropy.h"
extern const int vp9_default_inter_mode_probs[INTER_MODE_CONTEXTS] extern const vp9_prob vp9_default_inter_mode_probs[INTER_MODE_CONTEXTS]
[VP9_INTER_MODES - 1]; [VP9_INTER_MODES - 1];
#endif // VP9_COMMON_VP9_MODECONT_H_ #endif // VP9_COMMON_VP9_MODECONT_H_
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment