summaryrefslogtreecommitdiffstats
path: root/libavcodec/h263dec.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/h263dec.c
parent73a4f7c21bbb179f7542d8a5fedf55fd894fa9da (diff)
downloadffmpeg-streaming-e7021c0ed5d1265d5b4f0f01a01f840196a70415.zip
ffmpeg-streaming-e7021c0ed5d1265d5b4f0f01a01f840196a70415.tar.gz
lavc: remove FF_API_HURRY_UP cruft
Diffstat (limited to 'libavcodec/h263dec.c')
-rw-r--r--libavcodec/h263dec.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index 86ad0ba..afc7c90 100644
--- a/libavcodec/h263dec.c
+++ b/libavcodec/h263dec.c
@@ -597,18 +597,10 @@ retry:
/* skip B-frames if we don't have reference frames */
if(s->last_picture_ptr==NULL && (s->pict_type==FF_B_TYPE || s->dropable)) return get_consumed_bytes(s, buf_size);
-#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 get_consumed_bytes(s, 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)
return get_consumed_bytes(s, buf_size);
-#if FF_API_HURRY_UP
- /* skip everything if we are in a hurry>=5 */
- if(avctx->hurry_up>=5) return get_consumed_bytes(s, buf_size);
-#endif
if(s->next_p_frame_damaged){
if(s->pict_type==FF_B_TYPE)
OpenPOWER on IntegriCloud