diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-15 23:04:22 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-15 23:52:08 +0200 |
commit | db3a0aae9fdc2249b5408076d89f5fef52d61abb (patch) | |
tree | a26eac3046b3a44593ce112bc8cdfddce43b3f80 /libavcodec/msvideo1enc.c | |
parent | faa1cb50ed7d2258932475ff571b7662f0089514 (diff) | |
download | ffmpeg-db3a0aae9fdc2249b5408076d89f5fef52d61abb.tar.gz |
msvideo1enc: fix initial keyframe value
keyframe was never set to anything but 1
Fixes CID733730
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/msvideo1enc.c')
-rw-r--r-- | libavcodec/msvideo1enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/msvideo1enc.c b/libavcodec/msvideo1enc.c index 50c0a06dff..d5088feeb8 100644 --- a/libavcodec/msvideo1enc.c +++ b/libavcodec/msvideo1enc.c @@ -71,7 +71,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt, uint16_t *src; uint8_t *prevptr; uint8_t *dst, *buf; - int keyframe = 1; + int keyframe = 0; int no_skips = 1; int i, j, k, x, y, ret; int skips = 0; |