summaryrefslogtreecommitdiff
path: root/libavcodec/svq1dec.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-04-12 20:51:40 +0200
committerAnton Khirnov <anton@khirnov.net>2011-04-26 08:16:05 +0200
commite7021c0ed5d1265d5b4f0f01a01f840196a70415 (patch)
treedcb6a114d1a187001a03af53436d7b50aca79cb3 /libavcodec/svq1dec.c
parent73a4f7c21bbb179f7542d8a5fedf55fd894fa9da (diff)
downloadffmpeg-e7021c0ed5d1265d5b4f0f01a01f840196a70415.tar.gz
lavc: remove FF_API_HURRY_UP cruft
Diffstat (limited to 'libavcodec/svq1dec.c')
-rw-r--r--libavcodec/svq1dec.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/svq1dec.c b/libavcodec/svq1dec.c
index 5439abbf75..444785aa88 100644
--- a/libavcodec/svq1dec.c
+++ b/libavcodec/svq1dec.c
@@ -684,9 +684,6 @@ static int svq1_decode_frame(AVCodecContext *avctx,
//this should be removed after libavcodec can handle more flexible picture types & ordering
if(s->pict_type==FF_B_TYPE && s->last_picture_ptr==NULL) return buf_size;
-#if FF_API_HURRY_UP
- if(avctx->hurry_up && s->pict_type==FF_B_TYPE) return buf_size;
-#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)