diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-03-04 10:53:26 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-03-09 14:06:59 +0100 |
commit | e12923f683f468dc4ac7e412578625f2ef14cb7d (patch) | |
tree | 66ec1713ed4c3f1814caebe48fa97809957942db /doc/developer.texi | |
parent | f0dc8faeb10025ef52cd523b9478c568220377a8 (diff) | |
download | ffmpeg-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 'doc/developer.texi')
0 files changed, 0 insertions, 0 deletions