git.videolan.org
/
ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lavc/prores: restore pict_type and key_frame setting.
[ffmpeg.git]
/
libavcodec
/
proresdec2.c
diff --git
a/libavcodec/proresdec2.c
b/libavcodec/proresdec2.c
index
b7aef36
..
bd6404a
100644
(file)
--- a/
libavcodec/proresdec2.c
+++ b/
libavcodec/proresdec2.c
@@
-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;