Mercurial > libavcodec.hg
diff svq1.c @ 561:2d5ae7516af0 libavcodec
hurry up support
returning buf_size insetad of 0
| author | michaelni |
|---|---|
| date | Tue, 16 Jul 2002 10:29:07 +0000 |
| parents | 81227ab62678 |
| children | ba17f7dbe745 |
line wrap: on
line diff
--- 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)
