mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
avcodec: Make avcodec_decode_subtitle2 accept a const AVPacket*
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
parent
0281e28c37
commit
868a31b42d
6 changed files with 13 additions and 12 deletions
|
|
@ -2512,8 +2512,8 @@ static int trigger_fix_sub_duration_heartbeat(OutputStream *ost, const AVPacket
|
|||
return 0;
|
||||
}
|
||||
|
||||
static int transcode_subtitles(InputStream *ist, AVPacket *pkt, int *got_output,
|
||||
int *decode_failed)
|
||||
static int transcode_subtitles(InputStream *ist, const AVPacket *pkt,
|
||||
int *got_output, int *decode_failed)
|
||||
{
|
||||
AVSubtitle subtitle;
|
||||
int ret = avcodec_decode_subtitle2(ist->dec_ctx,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue