[Ffmpeg-cvslog] CVS: ffmpeg/libavformat utils.c,1.178,1.179

Michael Niedermayer CVS michael
Sat Feb 11 18:17:39 CET 2006


Update of /cvsroot/ffmpeg/ffmpeg/libavformat
In directory mail:/var2/tmp/cvs-serv3560

Modified Files:
	utils.c 
Log Message:
Fix for url_fclose() being called on an already closed file based on a patch by (<Colin Ward> hitman codehq org)


Index: utils.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/utils.c,v
retrieving revision 1.178
retrieving revision 1.179
diff -u -d -r1.178 -r1.179
--- utils.c	2 Feb 2006 20:54:41 -0000	1.178
+++ utils.c	11 Feb 2006 17:17:37 -0000	1.179
@@ -569,6 +569,7 @@
             if (url_fseek(pb, 0, SEEK_SET) == (offset_t)-EPIPE) {
                 url_fclose(pb);
                 if (url_fopen(pb, filename, URL_RDONLY) < 0) {
+                    file_opened = 0;
                     err = AVERROR_IO;
                     goto fail;
                 }





More information about the ffmpeg-cvslog mailing list