On 3/10/2020 3:03 PM, Anton Khirnov wrote: > Quoting James Almer (2020-02-27 19:01:59) >> It's not a decoding exclusive function. > > How come? The doxy for it says > 'Reset the internal decoder state / flush internal buffers.'
It touches some fields used by encode.c, like draining and buffer_pkt_valid (the latter which admittedly will be gone after this patchset, but replaced by others), and there's at least one encoder implementing an AVCodec.flush() callback. And doesn't the slash in that doxy imply one or the other? _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".