[MPlayer-dev-eng] [PATCH] demuxer-independent sub and audio track selection

Uoti Urpala uoti.urpala at pp1.inet.fi
Mon Feb 25 21:43:34 CET 2008


On Mon, 2008-02-25 at 23:22 +0300, Evgeniy Stepanov wrote:
> By the way, it seems that the check 'len <= size' at libavutil/string.c:55 is 
> always true. Why is it there ? Am I missing anything ?

I guess it's for the case where dst size is 0. With that check the
function won't do an illegal write (but will instead fail the
requirement of 0-terminating the result).




More information about the MPlayer-dev-eng mailing list