diff options
author | James Almer <jamrial@gmail.com> | 2017-04-22 21:52:06 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-04-22 21:52:06 -0300 |
commit | 844a115cd3cd829c894339133685b71e3201dc86 (patch) | |
tree | 281f4d63bf30dcb60823f859730bc1c43f093c66 /libavcodec/avcodec.h | |
parent | 3148387086ade31af214a72aa1610e2d8f68f0a0 (diff) | |
download | ffmpeg-844a115cd3cd829c894339133685b71e3201dc86.tar.gz |
Revert "avcodec/bsf: Forbid packet without payload in av_bsf_send_packet"
This reverts commit bfdca87ab55c7f69087d962dc47aa45c8c6436fb.
Packets with no data or side data will be valid EOF signal in an
upcoming merge.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 95c65a6f78..3463870aa2 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -6039,8 +6039,7 @@ int av_bsf_init(AVBSFContext *ctx); * av_bsf_receive_packet() repeatedly until it returns AVERROR(EAGAIN) or * AVERROR_EOF. * - * @param pkt the packet to filter. pkt must contain some payload (i.e data or - * side data must be present in pkt). The bitstream filter will take ownership of + * @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 |