avcodec/smvjpegdec: check avcodec_decode_video2() return code
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 15 May 2015 15:21:10 +0000 (17:21 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 15 May 2015 15:52:07 +0000 (17:52 +0200)
commit211ec9196dffc3d2261e5bf27a003947dcc598cc
tree63b17da27900fa900b516fe2ba7e204374c7405b
parente4318f68750275f50474a241ce316f9fe6afb53e
avcodec/smvjpegdec: check avcodec_decode_video2() return code

Fixes CID1271810

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit cdd25f9a3df3905543a5546cf6076d2eaf895736)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/smvjpegdec.c