Browse Source

avconv: Drop unused function argument from do_video_stats()

tags/n1.1
Diego Biurrun 13 years ago
parent
commit
70478746a9
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      avconv.c

+ 2
- 3
avconv.c View File

@@ -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);


Loading…
Cancel
Save