Fix error recovery in Stagefright init.

This change fixes the error path of
OMXCodec::allocateOutputBuffersFromNativeWindow so that it cancels the
correct number of buffers if a dequeueBuffer operation fails.

Change-Id: Ib7cdcdf24f1718bc070ad218a5980949c0e942eb
2 files changed
tree: 7ad683fcf66330919b9015c5ff7d44bb8fb7d220
  1. camera/
  2. cmds/
  3. drm/
  4. include/
  5. media/
  6. services/