summaryrefslogtreecommitdiff
path: root/libavcodec/encode.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2019-11-14 15:06:27 +0100
committerJames Almer <jamrial@gmail.com>2019-11-14 12:02:51 -0300
commitf01f9f179389befe9bce7639088e453146a39915 (patch)
tree009b87646b8b68c3c82158a2778db8bc2a6e8ee2 /libavcodec/encode.c
parent41b05b849f215b03eeb9e3608571ba47de64182a (diff)
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 'libavcodec/encode.c')
0 files changed, 0 insertions, 0 deletions