ljpegenc: allocate needed scratch-buffer
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 5 Feb 2013 17:52:07 +0000 (18:52 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 5 Feb 2013 17:52:07 +0000 (18:52 +0100)
commitc2dd5a18b27bb33d871d41fbed9104f3a68d68fe
tree55210bacf58fe25a54222c024f11f09cf8fb4619
parenta8343bfb6a3f00777943b94ff2969422f578f246
ljpegenc: allocate needed scratch-buffer

Fixes null pointer dereference
Fixes Ticket2207

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