• Ronald S. Bultje's avatar
    Reduce allocated length of the HTTP authentication request field buffer, as · d176f903
    Ronald S. Bultje authored
    noticed by Stefano and Luca in the "[PATCH]RTSP Basic Authentication"
    mailinglist thread.
    
    av_base64_encode() was recently changed. The previous implementation required
    12 extra bytes (ceil(len(src)/3.)*4+12), whereas the new one is guaranteed to
    fit in an exact buffer (ceil(len(src)/3.)*4), plus one extra byte for the
    trailing zero. This change fixes no bug, it just slightly decreases the
    amount of allocated memory.
    
    Originally committed as revision 17761 to svn://svn.ffmpeg.org/ffmpeg/trunk
    d176f903
Name
Last commit
Last update
doc Loading commit data...
ffpresets Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavutil Loading commit data...
libpostproc Loading commit data...
libswscale Loading commit data...
tests Loading commit data...
tools Loading commit data...
vhook Loading commit data...
COPYING.GPL Loading commit data...
COPYING.LGPL Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
Doxyfile Loading commit data...
INSTALL Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README Loading commit data...
cmdutils.c Loading commit data...
cmdutils.h Loading commit data...
common.mak Loading commit data...
configure Loading commit data...
ffmpeg.c Loading commit data...
ffplay.c Loading commit data...
ffserver.c Loading commit data...
ffserver.h Loading commit data...
output_example.c Loading commit data...
subdir.mak Loading commit data...
version.sh Loading commit data...