diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-01-09 04:02:58 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2014-01-09 11:45:45 +0100 |
commit | e24b33cd68357d978e0798d861867cd988607e1f (patch) | |
tree | 959c85a26861d99dca39c4ba279dc9d620f70b5e /libavcodec | |
parent | 6f7fd2f589566e3aa44215fb3970b941c2070885 (diff) | |
download | ffmpeg-e24b33cd68357d978e0798d861867cd988607e1f.tar.gz |
avcodec/msvideo1enc: fix SKIPS_MAX
Fixes Ticket3270
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit fb8f5d0510619cea2204246631f1c0dcd994ee25)
Diffstat (limited to 'libavcodec')
-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 e0efb4823f..2cbf2d48d7 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 }; |