Skip to content

Commit

Permalink
updating ffmpeg deprecated function
Browse files Browse the repository at this point in the history
  • Loading branch information
eroux committed Oct 28, 2014
1 parent 985fccd commit 67c4cb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/src/MediaComponent/io/FFMpegHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ bool FFMpegHandler::m_open(const char *inMedium, int)
bool FFMpegHandler::m_close()
{
if (formatCtx != NULL)
av_close_input_file(formatCtx);
avformat_close_input(&formatCtx);

av_free(frame->samples);
delete frame;
Expand Down

0 comments on commit 67c4cb7

Please sign in to comment.