OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3e9f26
)
lavc/prores: restore pict_type and key_frame setting.
author
Clément Bœsch
<ubitux@gmail.com>
Fri, 22 Mar 2013 18:56:39 +0000
(19:56 +0100)
committer
Clément Bœsch
<ubitux@gmail.com>
Fri, 22 Mar 2013 22:05:50 +0000
(23:05 +0100)
libavcodec/proresdec2.c
patch
|
blob
|
history
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;