Skip to content

Commit 7a60831

Browse files
committed
stagefright amrwb: Make a global const array static
This fixes compilation as C - while the source files are named .cpp, they actually are compileable as pure C. Prior to this, this table produced multiple definitions of the same symbol. This was committed on the master branch of the opencore repository in commit a803bd49a631317e0d52ff060cf1799f7741a47e, based on AOSP contribution 10017. Change-Id: Id76274964242b119ab61b8181e557477df1e1521
1 parent 6a300a5 commit 7a60831

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

media/libstagefright/codecs/amrwb/include/pvamrwbdecoder_api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ extern "C"
106106
#define NUM_OF_MODES 10
107107

108108

109-
const int16 AMR_WB_COMPRESSED[NUM_OF_MODES] =
109+
static const int16 AMR_WB_COMPRESSED[NUM_OF_MODES] =
110110
{
111111
NBBITS_7k,
112112
NBBITS_9k,

0 commit comments

Comments
 (0)