]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/bsf: improve the doxy for av_bsf_flush()
authorJames Almer <jamrial@gmail.com>
Mon, 10 Aug 2020 18:03:46 +0000 (15:03 -0300)
committerJames Almer <jamrial@gmail.com>
Sat, 15 Aug 2020 18:55:22 +0000 (15:55 -0300)
Mention an example scenario where the function should be used.

Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/bsf.h

index 7ed51677e827a97357d341ec8a3e14680a153410..3b5faa85cb513cc055658edbadc012aaa22d89ed 100644 (file)
@@ -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);