summaryrefslogtreecommitdiff
path: root/avconv.c
diff options
context:
space:
mode:
Diffstat (limited to 'avconv.c')
-rw-r--r--avconv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/avconv.c b/avconv.c
index 3b61ee26c6..74459ab6ba 100644
--- a/avconv.c
+++ b/avconv.c
@@ -569,10 +569,12 @@ error:
exit_program(1);
}
+#if FF_API_CODED_FRAME
static double psnr(double d)
{
return -10.0 * log(d) / log(10.0);
}
+#endif
static void do_video_stats(OutputStream *ost, int frame_size)
{