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