diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-11-10 22:09:03 +0100 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-11-17 23:17:20 +0100 |
commit | d8affeea82e5215463fc2288c64b42edda156e25 (patch) | |
tree | 2ecf89aa4c28131fa3517aab43c7462a8ed06885 /libavfilter/vf_fieldhint.c | |
parent | 1615d83dcf6ed0401be2f8afbdd8af8d2fc56815 (diff) | |
download | ffmpeg-d8affeea82e5215463fc2288c64b42edda156e25.tar.gz |
smvjpegdec: make sure cur_frame is not negative
This fixes a heap-buffer-overflow detected by AddressSanitizer.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
(cherry picked from commit 360bc0d90aa66cf21e9f488e77d21db18e01ec9c)
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavfilter/vf_fieldhint.c')
0 files changed, 0 insertions, 0 deletions