[FFmpeg-cvslog] libswscale/tests/swscale: Fix uninitialized variables
Michael Niedermayer
git at videolan.org
Sun Apr 30 15:25:34 EEST 2017
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Sat Apr 29 18:46:48 2017 +0200| [7796f290653349a4126f2d448d11bb4440b9f257] | committer: Michael Niedermayer
libswscale/tests/swscale: Fix uninitialized variables
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7796f290653349a4126f2d448d11bb4440b9f257
---
libswscale/tests/swscale.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libswscale/tests/swscale.c b/libswscale/tests/swscale.c
index bd8d098a3d..b4b8173a31 100644
--- a/libswscale/tests/swscale.c
+++ b/libswscale/tests/swscale.c
@@ -309,10 +309,10 @@ static int fileTest(uint8_t *ref[4], int refStride[4], int w, int h, FILE *fp,
struct Results r;
enum AVPixelFormat srcFormat;
char srcStr[12];
- int srcW, srcH;
+ int srcW = 0, srcH = 0;
enum AVPixelFormat dstFormat;
char dstStr[12];
- int dstW, dstH;
+ int dstW = 0, dstH = 0;
int flags;
int ret;
More information about the ffmpeg-cvslog
mailing list