Commit 9df5214b authored by Steven Walters's avatar Steven Walters Committed by Fiona Glaser
Browse files

Update ffms2 support for its latest API break.

parent afd79f1d
......@@ -601,7 +601,7 @@ if [ "$lavf" = "auto" ] ; then
fi
if [ "$ffms" = "auto" ] ; then
ffms_major="2"; ffms_minor="13"; ffms_micro="1"; ffms_bump="0"
ffms_major="2"; ffms_minor="14"; ffms_micro="0"; ffms_bump="0"
ffms="no"
if ${cross_prefix}pkg-config --exists ffms2 2>$DEVNULL; then
......
......@@ -64,7 +64,7 @@ static int open_file( char *psz_filename, hnd_t *p_handle, video_info_t *info, c
ffms_hnd_t *h = calloc( 1, sizeof(ffms_hnd_t) );
if( !h )
return -1;
FFMS_Init( 0 );
FFMS_Init( 0, 0 );
FFMS_ErrorInfo e;
e.BufferSize = 0;
int seekmode = opt->seek ? FFMS_SEEK_NORMAL : FFMS_SEEK_LINEAR_NO_RW;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment