corec's fixes (to my recent commits) from issue 138 (http://ssc.ajworld.net/sm-ssc/bugtracker/view.php?id=138)
This commit is contained in:
@@ -26,6 +26,7 @@ if test "$with_ffmpeg" != "no"; then
|
|||||||
AC_SEARCH_LIBS(guess_format, [avformat], have_libavformat=yes, have_libavformat=no)
|
AC_SEARCH_LIBS(guess_format, [avformat], have_libavformat=yes, have_libavformat=no)
|
||||||
AC_SEARCH_LIBS(sws_scale, [swscale], have_libswscale=yes, have_libswscale=no)
|
AC_SEARCH_LIBS(sws_scale, [swscale], have_libswscale=yes, have_libswscale=no)
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
have_ffmpeg=no
|
have_ffmpeg=no
|
||||||
if test "$have_libavutil" = "yes" -a "$have_libavformat" = "yes" -a "$have_libavcodec" = "yes" -a "$have_libswscale" = "yes"; then
|
if test "$have_libavutil" = "yes" -a "$have_libavformat" = "yes" -a "$have_libavcodec" = "yes" -a "$have_libswscale" = "yes"; then
|
||||||
|
|||||||
@@ -695,7 +695,7 @@ int URLRageFile_write( avcodec::URLContext *h, unsigned char *buf, int size )
|
|||||||
#if defined(MACOSX)
|
#if defined(MACOSX)
|
||||||
avcodec::offset_t URLRageFile_seek( avcodec::URLContext *h, avcodec::offset_t pos, int whence )
|
avcodec::offset_t URLRageFile_seek( avcodec::URLContext *h, avcodec::offset_t pos, int whence )
|
||||||
#else
|
#else
|
||||||
int64_t URLRageFile_seek( avcodec::URLContext *h, avcodec::int64_t pos, int whence )
|
int64_t URLRageFile_seek( avcodec::URLContext *h, int64_t pos, int whence )
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
RageFileBasic *f = (RageFileBasic *) h->priv_data;
|
RageFileBasic *f = (RageFileBasic *) h->priv_data;
|
||||||
|
|||||||
Reference in New Issue
Block a user