Lines Matching refs:err_out

226   if(vi->rate<1)goto err_out;  in _vorbis_unpack_info()
227 if(vi->channels<1)goto err_out; in _vorbis_unpack_info()
228 if(ci->blocksizes[0]<64)goto err_out; in _vorbis_unpack_info()
229 if(ci->blocksizes[1]<ci->blocksizes[0])goto err_out; in _vorbis_unpack_info()
230 if(ci->blocksizes[1]>8192)goto err_out; in _vorbis_unpack_info()
232 if(oggpack_read(opb,1)!=1)goto err_out; /* EOP check */ in _vorbis_unpack_info()
235 err_out: in _vorbis_unpack_info()
243 if(vendorlen<0)goto err_out; in _vorbis_unpack_comment()
244 if(vendorlen>opb->storage-8)goto err_out; in _vorbis_unpack_comment()
248 if(i<0)goto err_out; in _vorbis_unpack_comment()
249 if(i>((opb->storage-oggpack_bytes(opb))>>2))goto err_out; in _vorbis_unpack_comment()
256 if(len<0)goto err_out; in _vorbis_unpack_comment()
257 if(len>opb->storage-oggpack_bytes(opb))goto err_out; in _vorbis_unpack_comment()
262 if(oggpack_read(opb,1)!=1)goto err_out; /* EOP check */ in _vorbis_unpack_comment()
265 err_out: in _vorbis_unpack_comment()
279 if(ci->books<=0)goto err_out; in _vorbis_unpack_books()
282 if(!ci->book_param[i])goto err_out; in _vorbis_unpack_books()
288 if(times<=0)goto err_out; in _vorbis_unpack_books()
291 if(test<0 || test>=VI_TIMEB)goto err_out; in _vorbis_unpack_books()
297 if(ci->floors<=0)goto err_out; in _vorbis_unpack_books()
300 if(ci->floor_type[i]<0 || ci->floor_type[i]>=VI_FLOORB)goto err_out; in _vorbis_unpack_books()
302 if(!ci->floor_param[i])goto err_out; in _vorbis_unpack_books()
307 if(ci->residues<=0)goto err_out; in _vorbis_unpack_books()
310 if(ci->residue_type[i]<0 || ci->residue_type[i]>=VI_RESB)goto err_out; in _vorbis_unpack_books()
312 if(!ci->residue_param[i])goto err_out; in _vorbis_unpack_books()
317 if(ci->maps<=0)goto err_out; in _vorbis_unpack_books()
320 if(ci->map_type[i]<0 || ci->map_type[i]>=VI_MAPB)goto err_out; in _vorbis_unpack_books()
322 if(!ci->map_param[i])goto err_out; in _vorbis_unpack_books()
327 if(ci->modes<=0)goto err_out; in _vorbis_unpack_books()
335 if(ci->mode_param[i]->windowtype>=VI_WINDOWB)goto err_out; in _vorbis_unpack_books()
336 if(ci->mode_param[i]->transformtype>=VI_WINDOWB)goto err_out; in _vorbis_unpack_books()
337 if(ci->mode_param[i]->mapping>=ci->maps)goto err_out; in _vorbis_unpack_books()
338 if(ci->mode_param[i]->mapping<0)goto err_out; in _vorbis_unpack_books()
341 if(oggpack_read(opb,1)!=1)goto err_out; /* top level EOP check */ in _vorbis_unpack_books()
344 err_out: in _vorbis_unpack_books()
502 if(vorbis_staticbook_pack(ci->book_param[i],opb))goto err_out; in _vorbis_pack_books()
515 goto err_out; in _vorbis_pack_books()
543 err_out: in _vorbis_pack_books()
579 goto err_out; in vorbis_analysis_headerout()
585 if(_vorbis_pack_info(&opb,vi))goto err_out; in vorbis_analysis_headerout()
601 if(_vorbis_pack_comment(&opb,vc))goto err_out; in vorbis_analysis_headerout()
616 if(_vorbis_pack_books(&opb,vi))goto err_out; in vorbis_analysis_headerout()
630 err_out: in vorbis_analysis_headerout()