[FFmpeg-devel] [PATCH 2/2] avcodec/avcodec.h: Change av_bsf_send_packet() comment

sebechlebskyjan at gmail.com sebechlebskyjan at gmail.com
Fri Jul 22 20:52:35 EEST 2016


From: Jan Sebechlebsky <sebechlebskyjan at gmail.com>

Specify av_bsf_packet() behaviour in case that the packet does
not contain any data more precisely in the comment.

Signed-off-by: Jan Sebechlebsky <sebechlebskyjan at gmail.com>
---
 libavcodec/avcodec.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index ca8dba8..09ca734 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -5900,9 +5900,9 @@ int av_bsf_init(AVBSFContext *ctx);
  *
  * @param pkt the packet to filter. The bitstream filter will take ownership of
  * the packet and reset the contents of pkt. pkt is not touched if an error occurs.
- * This parameter may be NULL, which signals the end of the stream (i.e. no more
- * packets will be sent). That will cause the filter to output any packets it
- * may have buffered internally.
+ * If the parameter is NULL, or packet does not contain any data or side data,
+ * it signals the end of the stream (i.e. no more packets will be sent).
+ * That will cause the filter to output any packets it may have buffered internally.
  *
  * @return 0 on success, a negative AVERROR on error.
  */
-- 
1.9.1



More information about the ffmpeg-devel mailing list