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>
Thu, 21 May 2015 18:43:38 +0000 (20:43 +0200)
commitb8e0b6c70294ff2096020c4331856a9e3dedbe51
tree5ecd35c61baf7a672777d599918a8b18915b0612
parent1973b6ac5cf9424169d2e4774cd2b61c1e19ee77
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