[FFmpeg-cvslog] avcodec/avcodec.h: clarify decoupled decode/encode API docs

Marton Balint git at videolan.org
Wed Mar 22 01:44:11 EET 2017


ffmpeg | branch: master | Marton Balint <cus at passwd.hu> | Wed Mar 15 01:00:57 2017 +0100| [51546504133cbea93284aeda3e30e531fe2c1633] | committer: Marton Balint

avcodec/avcodec.h: clarify decoupled decode/encode API docs

Reviewed-by: wm4 <nfxjfg at googlemail.com>
Signed-off-by: Marton Balint <cus at passwd.hu>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=51546504133cbea93284aeda3e30e531fe2c1633
---

 libavcodec/avcodec.h | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index f9ebd14..3e3c372 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -142,8 +142,9 @@
  *
  * Not all codecs will follow a rigid and predictable dataflow; the only
  * guarantee is that an AVERROR(EAGAIN) return value on a send/receive call on
- * one end implies that a receive/send call on the other end will succeed. In
- * general, no codec will permit unlimited buffering of input or output.
+ * one end implies that a receive/send call on the other end will succeed, or
+ * at least will not fail with AVERROR(EAGAIN). In general, no codec will
+ * permit unlimited buffering of input or output.
  *
  * This API replaces the following legacy functions:
  * - avcodec_decode_video2() and avcodec_decode_audio4():



More information about the ffmpeg-cvslog mailing list