]> git.sesse.net Git - ffmpeg/commit
lavc: add avcodec_is_open().
authorAnton Khirnov <anton@khirnov.net>
Thu, 8 Dec 2011 05:57:44 +0000 (06:57 +0100)
committerAnton Khirnov <anton@khirnov.net>
Tue, 31 Jan 2012 06:55:24 +0000 (07:55 +0100)
commitaf08d9aeea870de017139f7b1c44b7d816cf8e56
treea94b59c3d1976b21855e9af7b847e4c81ecb062d
parentf7fe41a04f962707a99597d2ea49d73ca90b23a0
lavc: add avcodec_is_open().

It allows to check whether an AVCodecContext is open in a documented
way. Right now the undocumented way this check is done in lavf/lavc is
by checking whether AVCodecContext.codec is NULL. However it's desirable
to be able to set AVCodecContext.codec before avcodec_open2().
doc/APIchanges
libavcodec/avcodec.h
libavcodec/options.c
libavcodec/utils.c
libavformat/utils.c