You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
hurry up support
returning buf_size insetad of 0 Originally committed as revision 767 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -2578,6 +2578,8 @@ static int svq1_decode_frame(AVCodecContext *avctx,
|
||||
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++) {
|
||||
int linesize;
|
||||
@@ -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)
|
||||
|
Reference in New Issue
Block a user