diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-11-14 15:06:27 +0100 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2019-11-14 12:02:51 -0300 |
commit | f01f9f179389befe9bce7639088e453146a39915 (patch) | |
tree | 009b87646b8b68c3c82158a2778db8bc2a6e8ee2 /libavdevice/pulse_audio_common.h | |
parent | 41b05b849f215b03eeb9e3608571ba47de64182a (diff) | |
download | ffmpeg-f01f9f179389befe9bce7639088e453146a39915.tar.gz |
avformat/av1dec: Redo flushing of bsf
The current approach has two different calls to av_bsf_send_packet():
A normal one, sending a packet; and an extraordinary one just for
flushing. These can be unified into one by making use of the newly
documented fact that av_bsf_send_packet() allows to signal flushing via
empty packets (i.e. packets without data and side-data).
This also fixes CID 1455685 which resulted from the fact that the call
for flushing was not checked given that it couldn't fail.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavdevice/pulse_audio_common.h')
0 files changed, 0 insertions, 0 deletions