# HG changeset patch # User michaelni # Date 1026815347 0 # Node ID 2d5ae7516af09577c80003690e6a5ae444f99bde # Parent 81227ab6267846b9b66c6a7ab687ea2f9ba45c58 hurry up support returning buf_size insetad of 0 diff -r 81227ab62678 -r 2d5ae7516af0 svq1.c --- a/svq1.c Tue Jul 16 10:19:00 2002 +0000 +++ b/svq1.c Tue Jul 16 10:29:07 2002 +0000 @@ -2577,6 +2577,8 @@ #endif return result; } + + if(avctx->hurry_up && s->pict_type==B_TYPE) return buf_size; /* decode y, u and v components */ for (i=0; i < 3; i++) { @@ -2645,7 +2647,7 @@ } *data_size=sizeof(AVPicture); - return 0; + return buf_size; } static int svq1_decode_init(AVCodecContext *avctx)