avcodec_flush_buffers

Reset the internal decoder state / flush internal buffers. Should be called e.g. when seeking or when switching to a different stream.

@note when refcounted frames are not used (i.e. avctx->refcounted_frames is 0), this invalidates the frames previously returned from the decoder. When refcounted frames are used, the decoder just releases any references it might keep internally, but the caller's reference remains valid.

@nogc nothrow extern (C)
void
avcodec_flush_buffers

Meta