aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mdec.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-12-08 06:57:44 +0100
committerAnton Khirnov <anton@khirnov.net>2012-02-26 09:03:33 +0100
commit350d06d63fc758d047c050e0835f540277799f60 (patch)
treec75ebcb075a3b5edab209a8158504c366155ca37 /libavcodec/mdec.c
parent4b63cc18bc44517f0f9e04b39ab873cbc3c6aee5 (diff)
downloadffmpeg-350d06d63fc758d047c050e0835f540277799f60.tar.gz
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(). (cherry picked from commit af08d9aeea870de017139f7b1c44b7d816cf8e56) Conflicts: doc/APIchanges
Diffstat (limited to 'libavcodec/mdec.c')
0 files changed, 0 insertions, 0 deletions