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++);