Changeset f01f9f17 in ffmpeg

Timestamp:
Nov 14, 2019, 3:02:51 PM (5 years ago)
Author:
James Almer <jamrial@gmail.com>
Branches:
master
Children:
73ee53f3
Parents:
41b05b84
git-author:
Andreas Rheinhardt <andreas.rheinhardt@gmail.com> (11/14/19 14:06:27)
git-committer:
James Almer <jamrial@gmail.com> (11/14/19 15:02:51)
Message:

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>

(No files)

Note: See TracChangeset for help on using the changeset viewer.