diff options
author | Michael Niedermayer <[email protected]> | 2017-04-29 18:46:48 +0200 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2017-08-23 13:15:17 +0200 |
commit | 04f39ac54258383682d796c97c8dfc6e9b0a1a21 (patch) | |
tree | d9cbd0b826097c44e5a32038123f9099defe883c | |
parent | 20ba86574034c66fbbc934c0d0f8e4c499d38210 (diff) |
libswscale/tests/swscale: Fix uninitialized variables
Signed-off-by: Michael Niedermayer <[email protected]>
(cherry picked from commit 7796f290653349a4126f2d448d11bb4440b9f257)
Signed-off-by: Michael Niedermayer <[email protected]>
-rw-r--r-- | libswscale/swscale-test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/swscale-test.c b/libswscale/swscale-test.c index b79bb2373a..45e25a378c 100644 --- a/libswscale/swscale-test.c +++ b/libswscale/swscale-test.c @@ -298,10 +298,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; |