|
|
@ -259,10 +259,7 @@ static int decode_slice(AVCodecContext *c, void *arg) |
|
|
|
int width, height, x, y, ret; |
|
|
|
int width, height, x, y, ret; |
|
|
|
const int ps = av_pix_fmt_desc_get(c->pix_fmt)->comp[0].step; |
|
|
|
const int ps = av_pix_fmt_desc_get(c->pix_fmt)->comp[0].step; |
|
|
|
AVFrame * const p = f->cur; |
|
|
|
AVFrame * const p = f->cur; |
|
|
|
int si; |
|
|
|
const int si = (FFV1Context**)arg - f->slice_context; |
|
|
|
|
|
|
|
|
|
|
|
for( si=0; fs != f->slice_context[si]; si ++) |
|
|
|
|
|
|
|
; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (f->fsrc && !(p->flags & AV_FRAME_FLAG_KEY) && f->last_picture.f) |
|
|
|
if (f->fsrc && !(p->flags & AV_FRAME_FLAG_KEY) && f->last_picture.f) |
|
|
|
ff_progress_frame_await(&f->last_picture, si); |
|
|
|
ff_progress_frame_await(&f->last_picture, si); |
|
|
|