after svn up, libogsf in develbranch_6 does not build:
gsd_img_mpeg.c: In function 'gsd_close_mpeg':
gsd_img_mpeg.c:439: error: incompatible type for argument 1 of 'url_fclose'
make[2]: *** [OBJ.i686-pc-linux-gnu/gsd_img_mpeg.o] Error 1
make[2]: Leaving directory `/usr/local/src/grass/svn/grass64/lib/ogsf'
after svn up, libogsf in develbranch_6 does not build:
gsd_img_mpeg.c: In function 'gsd_close_mpeg':
gsd_img_mpeg.c:439: error: incompatible type for argument 1 of 'url_fclose'
make[2]: *** [OBJ.i686-pc-linux-gnu/gsd_img_mpeg.o] Error 1
make[2]: Leaving directory `/usr/local/src/grass/svn/grass64/lib/ogsf'
This change makes GRASS require an FFMPEG version newer than that -
I would guess a lot of distributions are using FFmpeg versions older than November 2007 though? Perhaps the call to url_fclose could be conditionalised on the version of libavformat, something like (untested): #ifdef (LIBAVFORMAT_VERSION_INT>>16) < 52
url_fclose(&oc->pb); #else
url_fclose(oc->pb); #endif