Commit 70478746 authored by Diego Biurrun's avatar Diego Biurrun

avconv: Drop unused function argument from do_video_stats()

parent ab799664
...@@ -621,8 +621,7 @@ static double psnr(double d) ...@@ -621,8 +621,7 @@ static double psnr(double d)
return -10.0 * log(d) / log(10.0); return -10.0 * log(d) / log(10.0);
} }
static void do_video_stats(AVFormatContext *os, OutputStream *ost, static void do_video_stats(OutputStream *ost, int frame_size)
int frame_size)
{ {
AVCodecContext *enc; AVCodecContext *enc;
int frame_number; int frame_number;
...@@ -706,7 +705,7 @@ static int poll_filter(OutputStream *ost) ...@@ -706,7 +705,7 @@ static int poll_filter(OutputStream *ost)
do_video_out(of->ctx, ost, filtered_frame, &frame_size); do_video_out(of->ctx, ost, filtered_frame, &frame_size);
if (vstats_filename && frame_size) if (vstats_filename && frame_size)
do_video_stats(of->ctx, ost, frame_size); do_video_stats(ost, frame_size);
break; break;
case AVMEDIA_TYPE_AUDIO: case AVMEDIA_TYPE_AUDIO:
do_audio_out(of->ctx, ost, filtered_frame); do_audio_out(of->ctx, ost, filtered_frame);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment