Skip to content

Commit 832dc8f

Browse files
committed
stagefright aacenc: Avoid warnings about incompatible pointer types
Change-Id: Ida53cd1030ebb9feb0d6916e42e8ba67a90e86c7
1 parent 9781870 commit 832dc8f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

media/libstagefright/codecs/aacenc/inc/aacenc_core.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Word16 AacEncEncode(AAC_ENCODER *hAacEnc,
102102
const UWord8 *ancBytes, /*!< pointer to ancillary data bytes */
103103
Word16 *numAncBytes, /*!< number of ancillary Data Bytes, send as fill element */
104104
UWord8 *outBytes, /*!< pointer to output buffer */
105-
Word32 *numOutBytes /*!< number of bytes in output buffer */
105+
VO_U32 *numOutBytes /*!< number of bytes in output buffer */
106106
);
107107

108108
/*---------------------------------------------------------------------------

media/libstagefright/codecs/aacenc/src/aacenc_core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ Word16 AacEncEncode(AAC_ENCODER *aacEnc, /*!< an encoder handle */
146146
const UWord8 *ancBytes, /*!< pointer to ancillary data bytes */
147147
Word16 *numAncBytes, /*!< number of ancillary Data Bytes */
148148
UWord8 *outBytes, /*!< pointer to output buffer (must be large MINBITS_COEF/8*MAX_CHANNELS bytes) */
149-
Word32 *numOutBytes /*!< number of bytes in output buffer after processing */
149+
VO_U32 *numOutBytes /*!< number of bytes in output buffer after processing */
150150
)
151151
{
152152
ELEMENT_INFO *elInfo = &aacEnc->elInfo;

0 commit comments

Comments
 (0)