]> git.sesse.net Git - ffmpeg/commit
avcodec/avcodec: Adapt the doc of av_bsf_send_packet to match its actual implementation.
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Thu, 14 Nov 2019 14:44:15 +0000 (15:44 +0100)
committerJames Almer <jamrial@gmail.com>
Thu, 14 Nov 2019 15:02:41 +0000 (12:02 -0300)
commit41b05b849f215b03eeb9e3608571ba47de64182a
tree9da4bff250bade040ce1a9c9866da28bc231d7bc
parenta7245adee3e98d4b2e2a1bb7ddc0caae898b5193
avcodec/avcodec: Adapt the doc of av_bsf_send_packet to match its actual implementation.

Explicitly allowing empty packets to signal flushing helps getting rid
of special cases. It does not hinder the ability to send i.e.
timing-only packets, because one can send packets with zero size and
pkt->data set.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/avcodec.h