Blender Git Loki
Git Commits -> Revision 759e961
Revision 759e961 by Sergey Sharybin (master) December 6, 2012, 21:08 (GMT) |
Fix #33433: Importing video files into movie clip editor crashes Blender This was a regression in svn rev52718 caused by the fact that we can not free packet fun until we've finished all manipulation with decoded frame since frame and packet could share same pointers. For now restored old behavior of next_packet which seems to be well tested and better not do bigger refactoring here so close to release. Memory leak fixed by that revision was fixed by calling av_free_packet just before avcodec_decode_video2 in cases we're at the end of file. Tested with valgrind and could not see any memory leaks in ffmpeg area. |
Commit Details:
Full Hash: 759e96164a8d3f0f3f5606ab5f4801859899dd50
SVN Revision: 52801
Parent Commit: 77efd71
Lines Changed: +44, -24