Revision 8ed2ae09 libavcodec/mpegvideo.c
libavcodec/mpegvideo.c | ||
---|---|---|
1025 | 1025 |
} |
1026 | 1026 |
} |
1027 | 1027 |
|
1028 |
#if FF_API_HURRY_UP |
|
1028 | 1029 |
s->hurry_up= s->avctx->hurry_up; |
1030 |
#endif |
|
1029 | 1031 |
s->error_recognition= avctx->error_recognition; |
1030 | 1032 |
|
1031 | 1033 |
/* set dequantizer, we can't do it during init as it might change for mpeg4 |
... | ... | |
1962 | 1964 |
} |
1963 | 1965 |
|
1964 | 1966 |
/* skip dequant / idct if we are really late ;) */ |
1967 |
#if FF_API_HURRY_UP |
|
1965 | 1968 |
if(s->hurry_up>1) goto skip_idct; |
1969 |
#endif |
|
1966 | 1970 |
if(s->avctx->skip_idct){ |
1967 | 1971 |
if( (s->avctx->skip_idct >= AVDISCARD_NONREF && s->pict_type == FF_B_TYPE) |
1968 | 1972 |
||(s->avctx->skip_idct >= AVDISCARD_NONKEY && s->pict_type != FF_I_TYPE) |
Also available in: Unified diff