[GRASS-SVN] r35351 - grass/branches/develbranch_6/lib/ogsf

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jan 12 02:46:11 EST 2009


Author: neteler
Date: 2009-01-12 02:46:11 -0500 (Mon, 12 Jan 2009)
New Revision: 35351

Modified:
   grass/branches/develbranch_6/lib/ogsf/gsd_img_mpeg.c
Log:
conditionalize

Modified: grass/branches/develbranch_6/lib/ogsf/gsd_img_mpeg.c
===================================================================
--- grass/branches/develbranch_6/lib/ogsf/gsd_img_mpeg.c	2009-01-12 07:45:31 UTC (rev 35350)
+++ grass/branches/develbranch_6/lib/ogsf/gsd_img_mpeg.c	2009-01-12 07:46:11 UTC (rev 35351)
@@ -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