changeset 25811:75d30197fe2a

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
author rtogni
date Wed, 23 Jan 2008 20:48:50 +0000
parents 7d81806e92dd
children 04773888ae2a
files libmpcodecs/vd_qtvideo.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vd_qtvideo.c	Wed Jan 23 18:54:14 2008 +0000
+++ b/libmpcodecs/vd_qtvideo.c	Wed Jan 23 20:48:50 2008 +0000
@@ -106,6 +106,7 @@
     CodecInfo cinfo;	// for ImageCodecGetCodecInfo()
     ImageSubCodecDecompressCapabilities icap; // for ImageCodecInitialize()
 
+    codec_inited = 0;
 #ifdef MACOSX
     EnterMovies();
 #else