summaryrefslogtreecommitdiff
path: root/libswscale
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2017-04-29 18:46:48 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2017-05-14 12:20:16 +0200
commit45a0a449bd6f3bad71cfe26ab18bf5db95f45f8d (patch)
treeab80ad470741aab6a97b9618ca51014ed69ed126 /libswscale
parent82bcbad1fd89ace50b2f5a3383f1a544343edf76 (diff)
downloadffmpeg-45a0a449bd6f3bad71cfe26ab18bf5db95f45f8d.tar.gz
libswscale/tests/swscale: Fix uninitialized variables
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 7796f290653349a4126f2d448d11bb4440b9f257) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/tests/swscale.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/tests/swscale.c b/libswscale/tests/swscale.c
index da6a41b779..be4cd9a08e 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;