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:
75c1ed2
)
flashsvenc: Keep coded_frame.key_frame a write-only variable
author
Vittorio Giovara
<vittorio.giovara@gmail.com>
Wed, 15 Jul 2015 17:41:19 +0000
(18:41 +0100)
committer
Vittorio Giovara
<vittorio.giovara@gmail.com>
Mon, 20 Jul 2015 13:13:42 +0000
(14:13 +0100)
libavcodec/flashsvenc.c
patch
|
blob
|
history
diff --git
a/libavcodec/flashsvenc.c
b/libavcodec/flashsvenc.c
index
971ce1b
..
1c87ae3
100644
(file)
--- a/
libavcodec/flashsvenc.c
+++ b/
libavcodec/flashsvenc.c
@@
-275,7
+275,7
@@
static int flashsv_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
avctx->coded_frame->key_frame = 0;
}
- if (
avctx->coded_frame->key
_frame)
+ if (
I
_frame)
pkt->flags |= AV_PKT_FLAG_KEY;
*got_packet = 1;