Re: [FFmpeg-devel] [PATCH] avcodec/avcodec: Adapt the doc of av_bsf_send_packet

2019-11-14 Thread James Almer
On 11/14/2019 11:44 AM, Andreas Rheinhardt wrote: > 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

[FFmpeg-devel] [PATCH] avcodec/avcodec: Adapt the doc of av_bsf_send_packet

2019-11-14 Thread Andreas Rheinhardt
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 --- I use