aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-03-04 10:53:26 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-03-09 14:06:59 +0100
commite12923f683f468dc4ac7e412578625f2ef14cb7d (patch)
tree66ec1713ed4c3f1814caebe48fa97809957942db /libavfilter
parentf0dc8faeb10025ef52cd523b9478c568220377a8 (diff)
downloadffmpeg-e12923f683f468dc4ac7e412578625f2ef14cb7d.tar.gz
avcodec/decode: Avoid stack packets when decoding subtitles
Use AVCodecInternal.buffer_pkt (previously only used in avcodec_send_packet) instead of stack packets when decoding subtitles. Also stop sharing side-data between packets and use the user-supplied packet directly for decoding when possible (no subtitle decoder ever modifies the packet it is given). Reusing AVCodecInternal.buffer_pkt is based upon an idea from James Almer. Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavfilter')
0 files changed, 0 insertions, 0 deletions