• Baptiste Coudurier's avatar
    Init state to -1 in h264 parser. · 8fa0ae06
    Baptiste Coudurier authored
    Fix:
    ==22063== Conditional jump or move depends on uninitialised value(s)
    ==22063==    at 0x811A4B7: ff_find_start_code (mpegvideo.c:99)
    ==22063==    by 0x82F5B74: parse_nal_units (h264_parser.c:132)
    ==22063==    by 0x82F5A68: h264_parse (h264_parser.c:261)
    [...]
    ==22063==  Uninitialised value was created by a stack allocation
    ==22063==    at 0x82F5AF5: parse_nal_units (h264_parser.c:112)
    
    Originally committed as revision 18479 to svn://svn.ffmpeg.org/ffmpeg/trunk
    8fa0ae06
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...
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...
LICENSE 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...
subdir.mak Loading commit data...
version.sh Loading commit data...