diff options
author | Patrik Kullman <patrik@yes.nu> | 2009-02-14 11:49:54 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2009-02-14 11:49:54 +0000 |
commit | 3fd2d1c4bc43aab583f97afbb63ab91145f9e7ba (patch) | |
tree | ec3de9e936d23a8242e8c0c24097d77720e82247 /vhook | |
parent | fd51ff1643329dc294412bc5b146c08b19fa73e2 (diff) | |
download | ffmpeg-3fd2d1c4bc43aab583f97afbb63ab91145f9e7ba.tar.gz |
Add av_uninit to variable declarations to fix the false positive warnings:
vhook/ppm.c:236: warning: 'out_height' may be used uninitialized in this function
vhook/ppm.c:235: warning: 'out_width' may be used uninitialized in this function
patch by Patrik Kullman, patrik yes nu
Originally committed as revision 17223 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'vhook')
-rw-r--r-- | vhook/ppm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vhook/ppm.c b/vhook/ppm.c index 0e37ac412e..94c034aa83 100644 --- a/vhook/ppm.c +++ b/vhook/ppm.c @@ -232,8 +232,8 @@ void Process(void *ctx, AVPicture *picture, enum PixelFormat pix_fmt, int width, AVPicture picture1; AVPicture picture2; AVPicture *pict = picture; - int out_width; - int out_height; + int av_uninit(out_width); + int av_uninit(out_height); int i; uint8_t *ptr = NULL; FILE *in = rwpipe_reader( ci->rw ); |