OSDN Git Service

avcenc: Switch malloc/free callbacks to use pointers instead of ints
authorMartin Storsjo <martin@martin.st>
Fri, 13 Apr 2012 11:15:08 +0000 (14:15 +0300)
committerMartin Storsjo <martin@martin.st>
Tue, 10 Jul 2012 11:03:46 +0000 (14:03 +0300)
commit23da4cf305b9bfff07954711a8a2d9ec040865af
treec4b49aa2bcd9817e8364d828a9cfc291195922fd
parentffb829430ff20ccd6c13e6ed894f2373b2d93939
avcenc: Switch malloc/free callbacks to use pointers instead of ints

There is no reason for casting the pointers to ints. This fixes
building the code on platforms where pointers are larger than ints,
e.g. 64 bit platforms.

Change-Id: I910cd207d0908287931c9a96eb270139967e029b
media/libstagefright/codecs/avc/common/include/avcapi_common.h
media/libstagefright/codecs/avc/common/src/dpb.cpp
media/libstagefright/codecs/avc/enc/SoftAVCEncoder.cpp
media/libstagefright/codecs/avc/enc/src/avcenc_api.cpp
media/libstagefright/codecs/avc/enc/src/bitstream_io.cpp
media/libstagefright/codecs/avc/enc/src/motion_est.cpp
media/libstagefright/codecs/avc/enc/src/rate_control.cpp