Hi!

I'm on RH 7.0 and have codeckeeper.cpp of avifile 0.7.22 crashing on
me.  The access violation  happens in line 200 of codeckeeper.cpp when
processing the "alf2" audio-codec.

Adding a description to the alf2 codec in fillplugins.h at least
stopped the crash.  Since this line of code "r[-1] == ','" looks a bit
strange, I'm not sure if that's really a fix or if I only paint over
the symptoms.

Anyways, here's the patch:
-----------------------------------
diff -c avifile0.7-0.7.22/plugins/libwin32/fillplugins.h 
avifile0.7-0.7.22-olmur/plugins/libwin32/fillplugins.h
*** avifile0.7-0.7.22/plugins/libwin32/fillplugins.h    Fri Nov 29 14:10:20 2002--- 
avifile0.7-0.7.22-olmur/plugins/libwin32/fillplugins.h      Sun Dec  8 16:03:20 2002
***************
*** 919,925 ****
                           CodecInfo::Audio, CodecInfo::Decode));

      static const fourcc_t alf2_codecs[] = { 0x1fc4, 0 };
!     ci.push_back(CodecInfo(alf2_codecs, "", "alf2cd.acm",
                           "http://www.nctsoft.com/products/NCTALFCD/\n";
                           "[EMAIL PROTECTED]",
                           CodecInfo::Win32, "alf2",
--- 919,925 ----
                           CodecInfo::Audio, CodecInfo::Decode));

      static const fourcc_t alf2_codecs[] = { 0x1fc4, 0 };
!     ci.push_back(CodecInfo(alf2_codecs, "Alf2 Codec", "alf2cd.acm",
                           "http://www.nctsoft.com/products/NCTALFCD/\n";
                           "[EMAIL PROTECTED]",
                           CodecInfo::Win32, "alf2",

-----------------------------------


Bye,
Michael
-- 
PGP Key on Servers -- Finger-Print: 51ECA5D2 13938F91 CBF76CC4 F8B5B67C

Everybody is given the same amount of hormones, at birth, and
if you want to use yours for growing hair, that's fine with me.

_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile

Reply via email to