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>
Tue, 12 May 2015 15:55:40 +0000 (17:55 +0200)
commit81198a68370e88f7d02f16de58db36713c2a50b6
treed8b5ceaec4883bbf545415ff3284512f8b89f3ab
parentc3671e1d5760d79c083e7565d951f4628c06cf41
avformat/rtpenc_jpeg: Check remaining buffer size for SOS

Fixes CID1238818

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