浏览代码

Fix bug (pass pointer, not its address)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@35270 15284696-431f-4ddb-bdfa-cd5b030d7da7
Glynn Clements 16 年之前
父节点
当前提交
6f15015bbe
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/ogsf/gsd_img_mpeg.c

+ 1 - 1
lib/ogsf/gsd_img_mpeg.c

@@ -436,7 +436,7 @@ int gsd_close_mpeg(void)
 
     if (!(fmt->flags & AVFMT_NOFILE)) {
 	/* close the output file */
-	url_fclose(&oc->pb);
+	url_fclose(oc->pb);
     }
 
     /* free the stream */