]> git.sesse.net Git - ffmpeg/commit
Revert "avformat/utils: Close codec context since it is allocated by avformat_new_str...
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 21 Jul 2013 15:51:25 +0000 (17:51 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 21 Jul 2013 15:57:15 +0000 (17:57 +0200)
commit37ecd67b5e149e55d71b1d8950abc5476d56999a
tree871497c4b07457af1ed75aa0deaa61962bdb53d5
parent8710a634a5d422d9ee9d1578ff1c07cd39f16ce0
Revert "avformat/utils: Close codec context since it is allocated by avformat_new_stream in refrence to ticket 2716"

This causes a race condition with VLC. Its plausible that other
applications also would have races with it and its just fixing a memleak when
the user application forgets to free the codec. It causes more
problems than it solves in its current form, thus the revert.
Better solutions are welcome

This reverts commit 0f229f9b91fe3c4ebd97e88f004d638819b76add.
libavformat/utils.c