X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Finternal.h;h=60f65d3f2cd693fcbfe5375a3fb9f423074b3c78;hb=29f5c1e51b0d156f4650b96ab56c07727fe9a9b7;hp=b101f20c40e1c7caae44d5ad18990bd2e74af1b3;hpb=d07534b5f5f20b4f780f5b0284aca6354da00695;p=ffmpeg diff --git a/libavcodec/internal.h b/libavcodec/internal.h index b101f20c40e..60f65d3f2cd 100644 --- a/libavcodec/internal.h +++ b/libavcodec/internal.h @@ -160,6 +160,12 @@ typedef struct AVCodecInternal { EncodeSimpleContext es; + /** + * If this is set, then AVCodec->close (if existing) needs to be called + * for the parent AVCodecContext. + */ + int needs_close; + /** * Number of audio samples to skip at the start of the next decoded frame */