diff options
author | Mike Scheutzow <mike.scheutzow@alcatel-lucent.com> | 2011-09-26 10:57:53 -0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-10-01 20:32:25 +0200 |
commit | 7e362df304121003fda7705917d5e797b48a0920 (patch) | |
tree | 9434da2a618ce71f11c7a1cf23651b9304422897 /libavformat/mpjpeg.c | |
parent | be1ae17ec0e03b494e0ab9f1eedefe83cebd7f4e (diff) | |
download | ffmpeg-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