Skip to content
Snippets Groups Projects
Commit 360bc0d9 authored by Andreas Cadhalpun's avatar Andreas Cadhalpun
Browse files

smvjpegdec: make sure cur_frame is not negative


This fixes a heap-buffer-overflow detected by AddressSanitizer.

Reviewed-by: default avatarMichael Niedermayer <michael@niedermayer.cc>
Signed-off-by: default avatarAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
parent 005d058f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment