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

Markus Neteler neteler at osgeo.org
Mon Jan 12 02:48:16 EST 2009


On Mon, Jan 12, 2009 at 3:11 AM, Hamish <hamish_b at yahoo.com> wrote:
> 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

Fixed in 6.4.0svn, 6.4.svn, 7.svn.

Markus


More information about the grass-dev mailing list