[FFmpeg-cvslog] msvideo1enc: fix initial keyframe value
Michael Niedermayer
git at videolan.org
Tue Oct 16 01:16:10 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Oct 15 23:04:22 2012 +0200| [db3a0aae9fdc2249b5408076d89f5fef52d61abb] | committer: Michael Niedermayer
msvideo1enc: fix initial keyframe value
keyframe was never set to anything but 1
Fixes CID733730
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=db3a0aae9fdc2249b5408076d89f5fef52d61abb
---
libavcodec/msvideo1enc.c | 2 +-
tests/ref/fate/vsynth1-msvideo1 | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/libavcodec/msvideo1enc.c b/libavcodec/msvideo1enc.c
index 50c0a06..d5088fe 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;
diff --git a/tests/ref/fate/vsynth1-msvideo1 b/tests/ref/fate/vsynth1-msvideo1
index 9beb739..b59274c 100644
--- a/tests/ref/fate/vsynth1-msvideo1
+++ b/tests/ref/fate/vsynth1-msvideo1
@@ -1,4 +1,4 @@
-37aa67b5928794534cb6a268d4adf48c *tests/data/fate/vsynth1-msvideo1.avi
+afe516f762a598f3f9c7ae8a9f288d3e *tests/data/fate/vsynth1-msvideo1.avi
2162264 tests/data/fate/vsynth1-msvideo1.avi
-c0665fac1bd896b6fe7fe0eead805bd5 *tests/data/fate/vsynth1-msvideo1.out.rawvideo
+ef76473f7be587dac7676a69835e43ce *tests/data/fate/vsynth1-msvideo1.out.rawvideo
stddev: 11.80 PSNR: 26.69 MAXDIFF: 151 bytes: 7603200/ 7603200
More information about the ffmpeg-cvslog
mailing list