Bugs item #427279, was updated on 2001-05-25 07:20
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=111050&aid=427279&group_id=11050

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Aur�lien JACOBS (aurel_j)
Assigned to: Nobody/Anonymous (nobody)
Summary: setColorSpace crash

Initial Comment:
in the file aviplay.cpp the function
AviPlayer::setColorSpace make this call:

stream->GetDecoder()->SetDestFmt(0, csp);

The 0 for the bitdepth is wrong. It don't cause any
trouble for most value of csp, but it make the player
crash with csp=0;

I've encountered this probleme when trying to
setColorSpace to it's default after setting it to
fccYUY2, by calling setColorSpace(0, FALSE). (There is
maybe a  better way to do this ?)
I've been able to solve the probleme by hardcoding my
bitdepth in the SetDestFmt call in aviplay.cpp, so you
should replace this 0 by the effective bitdepth
provided at the initialisation.

PS: This bug was found in avifile-0.53.5, but the 0.6
current CVS don't seem to be corrected.



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

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=111050&aid=427279&group_id=11050

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

Reply via email to