ffmpeg: remove unused ist parameter in do_subtitle_out()
This commit is contained in:
3
ffmpeg.c
3
ffmpeg.c
@ -918,7 +918,6 @@ error:
|
|||||||
|
|
||||||
static void do_subtitle_out(OutputFile *of,
|
static void do_subtitle_out(OutputFile *of,
|
||||||
OutputStream *ost,
|
OutputStream *ost,
|
||||||
InputStream *ist,
|
|
||||||
AVSubtitle *sub)
|
AVSubtitle *sub)
|
||||||
{
|
{
|
||||||
int subtitle_out_max_size = 1024 * 1024;
|
int subtitle_out_max_size = 1024 * 1024;
|
||||||
@ -2396,7 +2395,7 @@ static int transcode_subtitles(InputStream *ist, AVPacket *pkt, int *got_output)
|
|||||||
|| ost->enc->type != AVMEDIA_TYPE_SUBTITLE)
|
|| ost->enc->type != AVMEDIA_TYPE_SUBTITLE)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
do_subtitle_out(output_files[ost->file_index], ost, ist, &subtitle);
|
do_subtitle_out(output_files[ost->file_index], ost, &subtitle);
|
||||||
}
|
}
|
||||||
|
|
||||||
out:
|
out:
|
||||||
|
Reference in New Issue
Block a user