[MPlayer-cvslog] r25839 - trunk/libmpcodecs/vd_qtvideo.c

rtogni subversion at mplayerhq.hu
Wed Jan 23 21:48:50 CET 2008


Author: rtogni
Date: Wed Jan 23 21:48:50 2008
New Revision: 25839

Log:
Zero codec_inited in the init() function, so that it's cleared everytime 
the codec is inites (previously was only cleared once at start time).
Fixes a crash when -loop n (with n >= 2) is used with a qtvideo codec.

Patch by KO Myung-Hun komh chollian net


Modified:
   trunk/libmpcodecs/vd_qtvideo.c

Modified: trunk/libmpcodecs/vd_qtvideo.c
==============================================================================
--- trunk/libmpcodecs/vd_qtvideo.c	(original)
+++ trunk/libmpcodecs/vd_qtvideo.c	Wed Jan 23 21:48:50 2008
@@ -106,6 +106,7 @@ static int init(sh_video_t *sh){
     CodecInfo cinfo;	// for ImageCodecGetCodecInfo()
     ImageSubCodecDecompressCapabilities icap; // for ImageCodecInitialize()
 
+    codec_inited = 0;
 #ifdef MACOSX
     EnterMovies();
 #else



More information about the MPlayer-cvslog mailing list