Commit b56ffce0 authored by Timothy B. Terriberry's avatar Timothy B. Terriberry Committed by Ralph Giles

Port r19419 to Tremor.

Fix crash on corrupt input file (invalid mode index)

git-svn-id: 0101bb08-14d6-0310-b084-bc0e0c8e3800
parent 2e87629f
......@@ -124,7 +124,7 @@ long vorbis_packet_blocksize(vorbis_info *vi,ogg_packet *op){
/* read our mode and pre/post windowsize */
if(mode==-1 || !ci->mode_param[mode])return(OV_EBADPACKET);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment