[FFmpeg-cvslog] avcodec/msvideo1enc: fix SKIPS_MAX

Michael Niedermayer git at videolan.org
Thu Jan 9 11:53:41 CET 2014


ffmpeg | branch: release/1.2 | Michael Niedermayer <michaelni at gmx.at> | Thu Jan  9 04:02:58 2014 +0100| [e24b33cd68357d978e0798d861867cd988607e1f] | committer: Carl Eugen Hoyos

avcodec/msvideo1enc: fix SKIPS_MAX

Fixes Ticket3270

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit fb8f5d0510619cea2204246631f1c0dcd994ee25)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e24b33cd68357d978e0798d861867cd988607e1f
---

 libavcodec/msvideo1enc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/msvideo1enc.c b/libavcodec/msvideo1enc.c
index e0efb48..2cbf2d4 100644
--- a/libavcodec/msvideo1enc.c
+++ b/libavcodec/msvideo1enc.c
@@ -58,7 +58,7 @@ enum MSV1Mode{
 };
 
 #define SKIP_PREFIX 0x8400
-#define SKIPS_MAX 0x0FFF
+#define SKIPS_MAX 0x03FF
 #define MKRGB555(in, off) ((in[off] << 10) | (in[off + 1] << 5) | (in[off + 2]))
 
 static const int remap[16] = { 0, 1, 4, 5, 2, 3, 6, 7, 8, 9, 12, 13, 10, 11, 14, 15 };



More information about the ffmpeg-cvslog mailing list