More clean up, mainly in UseBuffer() and AllocateBuffer()
- Fix potential access out-of-array-boundary issue by checking the nPortIndex value first
- Add check for the size in AllocateBuffer
- Fix some errors (using AllocateBuffer in UseBuffer() method) in the log message
1 file changed
tree: 132f50bbde974ddd91e2f24692d0ed1a53bf1969
  1. dspbridge/
  2. libopencorehw/
  3. liboverlay/
  4. libstagefrighthw/
  5. omx/
  6. Android.mk