Add some more deprecation guards

Avoids unused function/label/variable warnings after the next version bump.
This commit is contained in:
Diego Biurrun
2016-05-04 00:27:19 +02:00
parent b7e64fba7f
commit 763d69bfb2
3 changed files with 10 additions and 0 deletions

View File

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