diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2017-03-06 23:33:18 +0300 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-03-08 23:15:07 +0300 |
commit | 01a33b835f7a9e135eb8c7b7dd98c8b89f15dea1 (patch) | |
tree | a498d54438afa24238a8bafe38ac6ae944ab1499 /libavcodec/pictordec.c | |
parent | fe57bf7cd6ac8ffd8bcc398d50150cab1e55f84c (diff) |
avcodec/pictordec: Fix runtime error: left shift of 64 by 25 places cannot be represented in type 'int'
Fixes: 724/clusterfuzz-testcase-6738249571631104
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/pictordec.c')
-rw-r--r-- | libavcodec/pictordec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/pictordec.c b/libavcodec/pictordec.c index a09ee379c0..2dbc040b5c 100644 --- a/libavcodec/pictordec.c +++ b/libavcodec/pictordec.c @@ -57,7 +57,7 @@ static void picmemset_8bpp(PicContext *s, AVFrame *frame, int value, int run, } } -static void picmemset(PicContext *s, AVFrame *frame, int value, int run, +static void picmemset(PicContext *s, AVFrame *frame, unsigned value, int run, int *x, int *y, int *plane, int bits_per_plane) { uint8_t *d; |