Skip to content

Commit

Permalink
missing free source context on demux.
Browse files Browse the repository at this point in the history
Signed-off-by: Jack <[email protected]>
  • Loading branch information
Jackarain committed May 24, 2013
1 parent aea9805 commit 51715b5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions demux/generic_demux.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,11 @@ void generic_demux::close()
{
av_freep(&m_avio_ctx);
}

if (m_source_ctx)
{
free_media_source(m_source_ctx);
}
}

int generic_demux::read_pause()
Expand Down

0 comments on commit 51715b5

Please sign in to comment.