mirror of
https://github.com/mpv-player/mpv
synced 2024-12-30 02:52:10 +00:00
Merge svn changes up to r28368
Fixes af_format.c compilation bug exposed by latest FFmpeg change.
This commit is contained in:
commit
03aa64687f
@ -26,8 +26,9 @@
|
||||
#include <inttypes.h>
|
||||
#include <limits.h>
|
||||
|
||||
#include "config.h"
|
||||
// Integer to float conversion through lrintf()
|
||||
#ifdef HAVE_LRINTF
|
||||
#if HAVE_LRINTF
|
||||
#include <math.h>
|
||||
long int lrintf(float);
|
||||
#else
|
||||
|
@ -7,9 +7,9 @@ test $svn_revision || svn_revision=`grep revision .svn/entries 2>/dev/null | cut
|
||||
test $svn_revision || svn_revision=`sed -n -e '/^dir$/{n;p;q;}' .svn/entries 2>/dev/null`
|
||||
test $svn_revision || svn_revision=UNKNOWN
|
||||
|
||||
NEW_REVISION="#define VERSION \"dev-SVN-r${svn_revision}${extra}\""
|
||||
NEW_REVISION="#define VERSION \"SVN-r${svn_revision}${extra}\""
|
||||
OLD_REVISION=`cat version.h 2> /dev/null`
|
||||
TITLE="#define MP_TITLE \"%s dev-SVN-r${svn_revision}${extra} (C) 2000-2009 MPlayer Team\\\n\""
|
||||
TITLE="#define MP_TITLE \"%s SVN-r${svn_revision}${extra} (C) 2000-2009 MPlayer Team\\\n\""
|
||||
|
||||
# Update version.h only on revision changes to avoid spurious rebuilds
|
||||
if test "$NEW_REVISION" != "$OLD_REVISION"; then
|
||||
|
Loading…
Reference in New Issue
Block a user