Mercurial > libavcodec.hg
comparison vc1.c @ 3573:7c0a476d0fde libavcodec
Disable B-frames decoding until I return and finish their proper decoding.
author | kostya |
---|---|
date | Fri, 11 Aug 2006 04:41:30 +0000 |
parents | a542b0325239 |
children | 565d9ddd8eb3 |
comparison
equal
deleted
inserted
replaced
3572:d5f97ae4f24f | 3573:7c0a476d0fde |
---|---|
3276 // do parse frame header | 3276 // do parse frame header |
3277 if(vc1_parse_frame_header(v, &s->gb) == -1) | 3277 if(vc1_parse_frame_header(v, &s->gb) == -1) |
3278 return -1; | 3278 return -1; |
3279 | 3279 |
3280 if(s->pict_type != I_TYPE && !v->res_rtm_flag)return -1; | 3280 if(s->pict_type != I_TYPE && !v->res_rtm_flag)return -1; |
3281 if(s->pict_type == B_TYPE)return -1; | |
3281 | 3282 |
3282 // for hurry_up==5 | 3283 // for hurry_up==5 |
3283 s->current_picture.pict_type= s->pict_type; | 3284 s->current_picture.pict_type= s->pict_type; |
3284 s->current_picture.key_frame= s->pict_type == I_TYPE; | 3285 s->current_picture.key_frame= s->pict_type == I_TYPE; |
3285 | 3286 |