diff options
Diffstat (limited to 'libavcodec/internal.h')
-rw-r--r-- | libavcodec/internal.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libavcodec/internal.h b/libavcodec/internal.h index 64fe0122c8..3519525ab0 100644 --- a/libavcodec/internal.h +++ b/libavcodec/internal.h @@ -121,7 +121,11 @@ typedef struct AVCodecInternal { void *hwaccel_priv_data; /** - * checks API usage: after codec draining, flush is required to resume operation + * decoding: AVERROR_EOF has been returned from ff_decode_get_packet(); must + * not be used by decoders that use the decode() callback, as they + * do not call ff_decode_get_packet() directly. + * + * encoding: a flush frame has been submitted to avcodec_send_frame(). */ int draining; |