houxiao
2016-12-28 31e0d0c171b4d6a7dc9b9697e69e165651d3fe93
RtspFace/PL_AVFrameYUV420.cpp
@@ -113,12 +113,12 @@
   in->lastFrame.pts = frame->pts;
   //#test
   static size_t f=0;
   char fname[50];
   sprintf(fname, "%u.yuv420", ++f);
   FILE * pFile = fopen (fname,"wb");
   fwrite (in->buffer , sizeof(char), in->buffSize, pFile);
   fclose(pFile);
   //static size_t f=0;
   //char fname[50];
   //sprintf(fname, "%u.yuv420", ++f);
   //FILE * pFile = fopen (fname,"wb");
   //fwrite (in->buffer , sizeof(char), in->buffSize, pFile);
   //fclose(pFile);
   return true;
}