[FFmpeg-cvslog] avconv: Drop unused function argument from do_video_stats()

Diego Biurrun git at videolan.org
Tue Oct 30 13:56:24 CET 2012


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Wed Oct 24 19:18:12 2012 +0200| [70478746a94eba6467c02f1c2ae8d8090ad9168e] | committer: Diego Biurrun

avconv: Drop unused function argument from do_video_stats()

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

 avconv.c |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/avconv.c b/avconv.c
index 54a0e2a..d0902a6 100644
--- a/avconv.c
+++ b/avconv.c
@@ -621,8 +621,7 @@ static double psnr(double d)
     return -10.0 * log(d) / log(10.0);
 }
 
-static void do_video_stats(AVFormatContext *os, OutputStream *ost,
-                           int frame_size)
+static void do_video_stats(OutputStream *ost, int frame_size)
 {
     AVCodecContext *enc;
     int frame_number;
@@ -706,7 +705,7 @@ static int poll_filter(OutputStream *ost)
 
         do_video_out(of->ctx, ost, filtered_frame, &frame_size);
         if (vstats_filename && frame_size)
-            do_video_stats(of->ctx, ost, frame_size);
+            do_video_stats(ost, frame_size);
         break;
     case AVMEDIA_TYPE_AUDIO:
         do_audio_out(of->ctx, ost, filtered_frame);



More information about the ffmpeg-cvslog mailing list