1 Index: /trunk/theora/lib/dec/decapiwrapper.c
2 ===================================================================
3 --- /trunk/theora/lib/dec/decapiwrapper.c (revision 14385)
4 +++ /trunk/theora/lib/dec/decapiwrapper.c (revision 15144)
9 + if(!_td || !_td->i || !_td->i->codec_setup)return OC_FAULT;
10 api=(th_api_wrapper *)_td->i->codec_setup;
11 + if(!api || !api->decode)return OC_FAULT;
12 ret=th_decode_packetin(api->decode,_op,&gp);
19 if(ret<0)return OC_BADPACKET;
23 + if(!_td || !_td->i || !_td->i->codec_setup)return OC_FAULT;
24 api=(th_api_wrapper *)_td->i->codec_setup;
25 + if(!api || !api->decode)return OC_FAULT;
26 ret=th_decode_ycbcr_out(api->decode,buf);