mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-07 01:36:16 +08: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:

committed by
Anton Khirnov

parent
0281e28c37
commit
868a31b42d
@@ -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,
|
||||
|
Reference in New Issue
Block a user