Browse Source

lavc/prores: restore pict_type and key_frame setting.

tags/n2.0
Clément Bœsch 13 years ago
parent
commit
859f7da543
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavcodec/proresdec2.c

+ 2
- 0
libavcodec/proresdec2.c View File

@@ -533,6 +533,8 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
}

ctx->frame = frame;
ctx->frame->pict_type = AV_PICTURE_TYPE_I;
ctx->frame->key_frame = 1;
ctx->first_field = 1;

buf += 8;


Loading…
Cancel
Save