]> git.sesse.net Git - vlc/commit
Increase avcodec encoding output buffer size
authorRafaël Carré <rafael.carre@gmail.com>
Mon, 21 Dec 2009 10:54:06 +0000 (11:54 +0100)
committerRafaël Carré <rafael.carre@gmail.com>
Mon, 21 Dec 2009 10:54:06 +0000 (11:54 +0100)
commitcdae7653cc243584b963716065a404f1e0665d0f
tree8475a11a259e13575cb60ecc666a25dbca3a5745
parent34f66f14f6cc7c228785be7b474579eace57bc97
Increase avcodec encoding output buffer size

Make some room for potential headers, You can now output VLC_CODEC_BMP
We use the same arbitrary value of 200 bytes than ffmpeg.c

Note: if we can ask FFmpeg to output RGBA (32bpp) or RGB48 (48bpp) then
the multiplier should be increased to 4 or 6 (needs to be investigated)

Pointed-out-by: ivoire
modules/codec/avcodec/encoder.c