[FFmpeg-devel] [PATCH 1/3] avcodec/bsf: improve the doxy for av_bsf_flush()
James Almer
jamrial at gmail.com
Mon Aug 10 21:06:13 EEST 2020
Mention an example scenario where the function should be used.
Signed-off-by: James Almer <jamrial at gmail.com>
---
libavcodec/bsf.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/bsf.h b/libavcodec/bsf.h
index 7ed51677e8..3b5faa85cb 100644
--- a/libavcodec/bsf.h
+++ b/libavcodec/bsf.h
@@ -215,7 +215,7 @@ int av_bsf_send_packet(AVBSFContext *ctx, AVPacket *pkt);
int av_bsf_receive_packet(AVBSFContext *ctx, AVPacket *pkt);
/**
- * Reset the internal bitstream filter state / flush internal buffers.
+ * Reset the internal bitstream filter state. Should be called e.g. when seeking.
*/
void av_bsf_flush(AVBSFContext *ctx);
--
2.27.0
More information about the ffmpeg-devel
mailing list