houxiao
2017-08-17 a5fc9f0acaa8b92c8d78f060cd4cdabab2793c62
RtspFace/PL_AndroidMediaCodecDecoder_ndk.cpp
@@ -202,6 +202,10 @@
      return false;
   }
   static FILE *pFile = fopen("/data/bb.264", "wb");
   fwrite(frame->buffer, sizeof(char), frame->buffSize, pFile);
   fflush(pFile);
    ssize_t bufidx = AMediaCodec_dequeueInputBuffer(in->codec, 2000);
    LOGP(DEBUG, "input buffer bufidx=%zd, inputFrameCount=%d", bufidx, in->inputFrameCount++);