summaryrefslogtreecommitdiff
path: root/avconv.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-05-04 00:27:19 +0200
committerDiego Biurrun <diego@biurrun.de>2016-05-11 12:22:49 +0200
commit763d69bfb2f0094e99f43e657cfd2b0471361f6b (patch)
tree04812751280eccad697cc139e1e378ccf7ae259a /avconv.c
parentb7e64fba7f37cc0399beae844f0a5dbef9219376 (diff)
Add some more deprecation guards
Avoids unused function/label/variable warnings after the next version bump.
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)
{