media: miscellaneous fixes to VT contribution
- fix MediaSource.h path - fix setDataSource binder code - use MediaCodecConstants instead of OMX/ACodec constants - fix spacing - fix typos - remove unused code - commented some tricky code segments - AAVC/HEVCAssembler: re-read next buffer if buffer was deleted - RTPSource: pull out constants kMinVideoBitrate and kBufferingPollIntervalUs - RTPSource: check state early in prepareAsync - RTPSource: fix potential null dereference in setSource - ARTPAssembler: make showing queue runtime configurable via debug.stagefright.rtp bool property - ARTPWriter: fix security issues: protect against reading OOB in sendSPSPPSIfIFrame and StripStartcode - ARTPWriter: free buffers early in destructor - ARTPWriter: create PPS buffer only if there is PPS - ARTPConnection: fix security issues: protect against reading OOB in parseRTPExt, parseTSFB, and parsePSFB. Also remove remote null-dereference. - AHEVCAssembler: fix security issues: protect against reading OOB in addFragmentedNALUnit Bug: 121230209 Test: build Merged-in: Iada8b878e396452c1d281c60f3754e13e34bcddb Change-Id: Iada8b878e396452c1d281c60f3754e13e34bcddb
Loading
Please register or sign in to comment