diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-04-12 22:51:40 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-04-26 10:16:05 +0400 |
commit | e7021c0ed5d1265d5b4f0f01a01f840196a70415 (patch) | |
tree | dcb6a114d1a187001a03af53436d7b50aca79cb3 /libavcodec/svq3.c | |
parent | 73a4f7c21bbb179f7542d8a5fedf55fd894fa9da (diff) |
lavc: remove FF_API_HURRY_UP cruft
Diffstat (limited to 'libavcodec/svq3.c')
-rw-r--r-- | libavcodec/svq3.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c index 50c5d22fe4..827a408d31 100644 --- a/libavcodec/svq3.c +++ b/libavcodec/svq3.c @@ -952,14 +952,6 @@ static int svq3_decode_frame(AVCodecContext *avctx, /* Skip B-frames if we do not have reference frames. */ if (s->last_picture_ptr == NULL && s->pict_type == FF_B_TYPE) return 0; -#if FF_API_HURRY_UP - /* Skip B-frames if we are in a hurry. */ - if (avctx->hurry_up && s->pict_type == FF_B_TYPE) - return 0; - /* Skip everything if we are in a hurry >= 5. */ - if (avctx->hurry_up >= 5) - return 0; -#endif if ( (avctx->skip_frame >= AVDISCARD_NONREF && s->pict_type == FF_B_TYPE) ||(avctx->skip_frame >= AVDISCARD_NONKEY && s->pict_type != FF_I_TYPE) || avctx->skip_frame >= AVDISCARD_ALL) |