[FFmpeg-cvslog] ffmpeg: remove unused ist parameter in do_subtitle_out()

Clément Bœsch git at videolan.org
Sun Oct 16 20:22:54 EEST 2016


ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Sun Oct 16 19:20:36 2016 +0200| [ad2d2ebd4ee904b57cac375694e67443717d08ba] | committer: Clément Bœsch

ffmpeg: remove unused ist parameter in do_subtitle_out()

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ad2d2ebd4ee904b57cac375694e67443717d08ba
---

 ffmpeg.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index 39fac3f..edb27c8 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -918,7 +918,6 @@ error:
 
 static void do_subtitle_out(OutputFile *of,
                             OutputStream *ost,
-                            InputStream *ist,
                             AVSubtitle *sub)
 {
     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)
             continue;
 
-        do_subtitle_out(output_files[ost->file_index], ost, ist, &subtitle);
+        do_subtitle_out(output_files[ost->file_index], ost, &subtitle);
     }
 
 out:



More information about the ffmpeg-cvslog mailing list