aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/evc.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2023-06-21 20:06:09 +0200
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2023-07-29 16:05:29 +0200
commitc0f867bf503e79eba8ee52e1ac53322f88ec2929 (patch)
treed5c599f83135967be877d0a56daeca5b25df6398 /libavformat/evc.c
parentdcff15692dff4c55827d640f1d5d07eb255a5a6a (diff)
downloadffmpeg-c0f867bf503e79eba8ee52e1ac53322f88ec2929.tar.gz
libavformat: fix incorrect handling of incomplete AVBPrint.
Change some internal APIs a bit to make it harder to make such mistakes. In particular, have the read chunk functions return an error when the result is incomplete. This might be less flexible, but since there has been no use-case for that so far, avoiding coding mistakes seems better. Add a function to queue a AVBPrint directly (ff_subtitles_queue_insert_bprint). Also fixes a leak in lrcdec when ff_subtitles_queue_insert fails. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavformat/evc.c')
0 files changed, 0 insertions, 0 deletions