[GRASS-dev] error in lib/ogsf/gsd_img_mpeg.c

Hamish hamish_b at yahoo.com
Sun Jan 11 21:11:11 EST 2009


Hamish:
> > after svn up, libogsf in develbranch_6 does not build:
....
> >  http://trac.osgeo.org/grass/changeset/35272


Paul Kelly wrote:
> 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


the above compiles after this change:

- #ifdef
+ #if


Hamish



      



More information about the grass-dev mailing list