avformat/rtpenc_jpeg: Check remaining buffer size for SOS
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 12 May 2015 15:55:40 +0000 (17:55 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 10 Jun 2015 00:13:11 +0000 (02:13 +0200)
commitb470e21d61558be80c40dd47bfae85e7fe4a99e5
tree823c08b64c1b151881f51113af00271e40fffdf1
parent4a9ce87ef334e4ae2f21bfa9dc392e7203d2316a
avformat/rtpenc_jpeg: Check remaining buffer size for SOS

Fixes CID1238818

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

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