diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-01-09 04:02:58 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-01-09 04:04:40 +0100 |
commit | fb8f5d0510619cea2204246631f1c0dcd994ee25 (patch) | |
tree | 26bfa023a6871043fe57665f00d5d1e03f374402 | |
parent | c0a33c477094b7fec2eeff86b6d93bad934e2f98 (diff) | |
download | ffmpeg-fb8f5d0510619cea2204246631f1c0dcd994ee25.tar.gz |
avcodec/msvideo1enc: fix SKIPS_MAX
Fixes Ticket3270
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-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 99282502aa..b27eadf06b 100644 --- a/libavcodec/msvideo1enc.c +++ b/libavcodec/msvideo1enc.c @@ -57,7 +57,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 }; |