aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-10-24 19:18:12 +0200
committerDiego Biurrun <diego@biurrun.de>2012-10-29 19:07:58 +0100
commit70478746a94eba6467c02f1c2ae8d8090ad9168e (patch)
tree1d61ac8d2a592e431cf1933eefdeb89cfad19edb
parentab799664755c8bc2c439c428ff5b538c105a5c38 (diff)
downloadffmpeg-70478746a94eba6467c02f1c2ae8d8090ad9168e.tar.gz
avconv: Drop unused function argument from do_video_stats()
-rw-r--r--avconv.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/avconv.c b/avconv.c
index 54a0e2a431..d0902a6c9f 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);