diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-12-08 06:57:44 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-02-26 09:03:33 +0100 |
commit | 350d06d63fc758d047c050e0835f540277799f60 (patch) | |
tree | c75ebcb075a3b5edab209a8158504c366155ca37 /libavcodec/pcxenc.c | |
parent | 4b63cc18bc44517f0f9e04b39ab873cbc3c6aee5 (diff) | |
download | ffmpeg-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/pcxenc.c')
0 files changed, 0 insertions, 0 deletions