Commit 9c75c26c authored by michaelni's avatar michaelni

hurry up support

returning buf_size insetad of 0


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@767 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ac115fda
......@@ -2577,6 +2577,8 @@ static int svq1_decode_frame(AVCodecContext *avctx,
#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 @@ static int svq1_decode_frame(AVCodecContext *avctx,
}
*data_size=sizeof(AVPicture);
return 0;
return buf_size;
}
static int svq1_decode_init(AVCodecContext *avctx)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment