aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mpjpeg.c
diff options
context:
space:
mode:
authorMike Scheutzow <mike.scheutzow@alcatel-lucent.com>2011-09-26 10:57:53 -0400
committerMichael Niedermayer <michaelni@gmx.at>2011-10-01 20:32:25 +0200
commit7e362df304121003fda7705917d5e797b48a0920 (patch)
tree9434da2a618ce71f11c7a1cf23651b9304422897 /libavformat/mpjpeg.c
parentbe1ae17ec0e03b494e0ab9f1eedefe83cebd7f4e (diff)
downloadffmpeg-7e362df304121003fda7705917d5e797b48a0920.tar.gz
Fix a buffer overflow in libx264 interface to x264 encoder. Previous code ignored the compressed buffer size passed in. This change returns as many complete NALs as can fit in the buffer, and logs an error message.
Signed-off-by: Mike Scheutzow <mike.scheutzow@alcatel-lucent.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit e2dae1faa84ada5746ac2114de7eb68abd824131)
Diffstat (limited to 'libavformat/mpjpeg.c')
0 files changed, 0 insertions, 0 deletions