[GRASS-SVN] r35353 - grass/trunk/lib/ogsf

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jan 12 02:47:27 EST 2009


Author: neteler
Date: 2009-01-12 02:47:27 -0500 (Mon, 12 Jan 2009)
New Revision: 35353

Modified:
   grass/trunk/lib/ogsf/gsd_img_mpeg.c
Log:
conditionalize

Modified: grass/trunk/lib/ogsf/gsd_img_mpeg.c
===================================================================
--- grass/trunk/lib/ogsf/gsd_img_mpeg.c	2009-01-12 07:46:40 UTC (rev 35352)
+++ grass/trunk/lib/ogsf/gsd_img_mpeg.c	2009-01-12 07:47:27 UTC (rev 35353)
@@ -436,7 +436,11 @@
 
     if (!(fmt->flags & AVFMT_NOFILE)) {
 	/* close the output file */
+#if (LIBAVFORMAT_VERSION_INT>>16) < 52
+	url_fclose(&oc->pb);
+#else
 	url_fclose(oc->pb);
+#endif
     }
 
     /* free the stream */



More information about the grass-commit mailing list