diff options
Diffstat (limited to 'libavcodec/internal.h')
-rw-r--r-- | libavcodec/internal.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libavcodec/internal.h b/libavcodec/internal.h index 8809a7079a..8e5e2a0f59 100644 --- a/libavcodec/internal.h +++ b/libavcodec/internal.h @@ -108,6 +108,14 @@ typedef struct AVCodecInternal { AVFrame *in_frame; /** + * When the AV_CODEC_FLAG_RECON_FRAME flag is used. the encoder should store + * here the reconstructed frame corresponding to the last returned packet. + * + * Not allocated in other cases. + */ + AVFrame *recon_frame; + + /** * If this is set, then FFCodec->close (if existing) needs to be called * for the parent AVCodecContext. */ |