]> git.sesse.net Git - ffmpeg/commit
lavc: make avcodec_close() work properly on unopened codecs.
authorAnton Khirnov <anton@khirnov.net>
Sun, 29 Jan 2012 11:17:30 +0000 (12:17 +0100)
committerAnton Khirnov <anton@khirnov.net>
Tue, 31 Jan 2012 06:56:21 +0000 (07:56 +0100)
commit0e72ad95f9fef6a6b8ae55e47339a5c40526502f
treebbe8447376195376bb714d6075272937cebb9370
parentaf08d9aeea870de017139f7b1c44b7d816cf8e56
lavc: make avcodec_close() work properly on unopened codecs.

I.e. free the priv_data and other stuff allocated in
avcodec_alloc_context3() and not segfault.
libavcodec/avcodec.h
libavcodec/utils.c