Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-30 16:45:44 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-10-30 16:52:03 +0400
commitcd37963684d8ee9819af15ccebe09d84839101dd (patch)
tree33c99132f79f095301b4e453c40f0b77005f5b1d /ffmpeg.c
parent60e957476e338a200501e0bdad40b7bf0076b268 (diff)
parent381dc1a5ec0925b281c573457c413ae643567086 (diff)
Merge commit '381dc1a5ec0925b281c573457c413ae643567086'
* commit '381dc1a5ec0925b281c573457c413ae643567086': fate: ac3: Place E-AC-3 tests and AC-3 tests in different groups fate: Add shorthands for acodec PCM and ADPCM tests avconv: Drop unused function argument from do_video_stats() cmdutils: Conditionally compile libswscale-related bits aacenc: Drop some unused function arguments rtsp: Avoid a cast when calling strtol nut: support textual data nutenc: verbosely report unsupported negative pts Conflicts: cmdutils.c ffmpeg.c libavformat/nut.c libavformat/nutenc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 37b6311100..47a90daaf8 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -109,7 +109,7 @@ const int program_birth_year = 2000;
static FILE *vstats_file;
-static void do_video_stats(AVFormatContext *os, OutputStream *ost, int frame_size);
+static void do_video_stats(OutputStream *ost, int frame_size);
static int64_t getutime(void);
static int run_as_daemon = 0;
@@ -921,7 +921,7 @@ static void do_video_out(AVFormatContext *s,
}
if (vstats_filename && frame_size)
- do_video_stats(output_files[ost->file_index]->ctx, ost, frame_size);
+ do_video_stats(ost, frame_size);
}
static double psnr(double d)
@@ -929,8 +929,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;