]> git.sesse.net Git - ffmpeg/commit
avcodec: clarify some decoding/encoding API details
authorwm4 <nfxjfg@googlemail.com>
Mon, 6 Mar 2017 10:34:20 +0000 (11:34 +0100)
committerwm4 <nfxjfg@googlemail.com>
Thu, 9 Mar 2017 16:33:56 +0000 (17:33 +0100)
commitf940492bb241d1cf27175f40e580c51c20d6ebc3
tree39451a096be656f9c09520754d9741c6ad0b9978
parent597c6b789efb8d3eec200eb4f38a3d8da591deec
avcodec: clarify some decoding/encoding API details

Make it clear that there is no timing-dependent behavior. In particular,
there is no state in which both input and output are denied, and where
you have to wait for a while yourself to make progress (apparently some
hardware decoders like to do this).

Avoid wording that makes references to time. It shouldn't be mistaken
for some kind of asynchronous API (like POSIX read() can return EAGAIN
if there is no new input yet). It's a state machine, so try to use
appropriate terms.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
Merges Libav commit 8a60bba0ae.
libavcodec/avcodec.h