[FFmpeg-devel] [PATCH 10/11] rtsp: fix compiler warning for uninitialized variables

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Jan 3 23:04:01 CET 2012

Martin Storsjö <martin <at> martin.st> writes:

> >> -    int rtx, j, i, err, interleave = 0;
> >> +    int rtx = 0, j, i, err, interleave = 0;

> As far as I know this code, the variable won't ever be used uninitialized, 
> but silencing the warning is of course good.

Patch applied.

Thank you both, Carl Eugen

More information about the ffmpeg-devel mailing list