Definition at line 93 of file VideoAccessObject.h. References FreePacket(), mFormatCtx, mFrame, mPacket, mRgbBuffer, mRgbFrame, mSwsContext, and mVideoCodecCtx. 00094 { 00095 if (mRgbBuffer != 0) 00096 delete [] mRgbBuffer; 00097 00098 if (mRgbFrame != 0) 00099 av_free(mRgbFrame); 00100 if (mFrame != 0) 00101 av_free(mFrame); 00102 00103 if (mPacket != 0) 00104 { 00105 FreePacket(); 00106 delete mPacket; 00107 } 00108 00109 if (mSwsContext != 0) 00110 sws_freeContext(mSwsContext); 00111 00112 if (mVideoCodecCtx != 0) 00113 avcodec_close(mVideoCodecCtx); 00114 00115 if (mFormatCtx != 0) 00116 av_close_input_file(mFormatCtx); 00117 }
Here is the call graph for this function:
|