[FFmpeg-devel] [PATCH] Zero-initialize the reply struct in ff_rtsp_connect

Ronald S. Bultje rsbultje
Sun Apr 4 03:16:32 CEST 2010


Hi,

On Sat, Apr 3, 2010 at 8:24 AM, Martin Storsj? <martin at martin.st> wrote:
> This is a simple solution to the problem explained here:
> http://tranquillity.ath.cx/clang/2010-04-02-1/report-4tXxXX.html#EndPath
> Are you Ronald ok with this one, or should we just zero out status_code?

I wonder if RTSPMessageHeader reply = { 0 }; has the same effect as
memset(&reply, 0, ..);? That saves two lines.

Ronald



More information about the ffmpeg-devel mailing list