Changeset e12923f6 in ffmpeg
- Timestamp:
-
Mar 9, 2021, 1:06:59 PM
(4 years ago)
- Author:
- Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
- Branches:
- master
- Children:
- b5a2481
- Parents:
- f0dc8fae
- git-author:
- Andreas Rheinhardt <andreas.rheinhardt@gmail.com> (03/04/21 09:53:26)
- git-committer:
- Andreas Rheinhardt <andreas.rheinhardt@gmail.com> (03/09/21 13:06:59)
- Message:
-
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>
-
(No files)
-