#1943: Check return value of sound_CreateOggVorbisDecoder in
sound_DecodeOggVorbisTrack
---------------------------+------------------------------------------------
Reporter: Safety0ff | Owner:
Type: patch | Status: new
Priority: minor | Milestone: unspecified
Component: Engine: Sound | Version: svn/trunk
Keywords: | Operating_system: All/Non-Specific
Blockedby: | Blocking:
---------------------------+------------------------------------------------
sound_CreateOggVorbisDecoder can return a NULL, and so we must check this.
We do it in sound_PlayStreamWithBuf, but it looks like it was forgotten in
sound_DecodeOggVorbisTrack.
--
Ticket URL: <http://developer.wz2100.net/ticket/1943>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project
_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev