When a seek occurs in my app, it will jump to a new location in the video file to read the packet and decode it. What to do with the decoder at this time?
In FFMPEG, if a seek operation occurs, avcodec_flush_buffers needs to be called to reset the internal decoder state and flush internal buffers.
I found "AL_Decoder_Flush" function, but it seems only to be called at the end of the stream. . .