comparison vc1dec.c @ 12521:db36486a6f89 libavcodec

Make WMV3 decoder attempt to decode WMVP as well
author kostya
date Sun, 26 Sep 2010 13:56:50 +0000
parents 7e93f85e48bf
children
comparison
equal deleted inserted replaced
12520:5915f4f0e172 12521:db36486a6f89
3238 av_free(buf2); 3238 av_free(buf2);
3239 return -1; 3239 return -1;
3240 } 3240 }
3241 } 3241 }
3242 3242
3243 if(v->res_sprite && (s->pict_type!=FF_I_TYPE)){
3244 av_free(buf2);
3245 return -1;
3246 }
3247
3243 // for hurry_up==5 3248 // for hurry_up==5
3244 s->current_picture.pict_type= s->pict_type; 3249 s->current_picture.pict_type= s->pict_type;
3245 s->current_picture.key_frame= s->pict_type == FF_I_TYPE; 3250 s->current_picture.key_frame= s->pict_type == FF_I_TYPE;
3246 3251
3247 /* skip B-frames if we don't have reference frames */ 3252 /* skip B-frames if we don't have reference frames */