Skip to content

Commit ab01498

Browse files
committed
stagefright amrwb: Change a C++ style cast into a C style cast
This fixes compilation as C - while the source files are named .cpp, they actually are compileable as pure C (except for this cast). This was committed on the master branch of the opencore repository in commit ae27d9b2ef68c4e6fc383a8cab93d6baa235ff6b, based on AOSP contribution 10014. Change-Id: I4f533313be041ad3e0a03ffc5f4207480894ddd1
1 parent 6a300a5 commit ab01498

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

media/libstagefright/codecs/amrwb/src/oversamp_12k8_to_16k.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,6 @@ int16 AmrWbInterpol( /* return result of interpolation */
337337

338338
L_sum = shl_int32(L_sum, 2); /* saturation can occur here */
339339

340-
return ((int16(L_sum >> 16)));
340+
return ((int16)(L_sum >> 16));
341341
}
342342

0 commit comments

Comments
 (0)