git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8dd3a53
)
libswscale/tests/swscale: Fix uninitialized variables
author
Michael Niedermayer
<michael@niedermayer.cc>
Sat, 29 Apr 2017 16:46:48 +0000
(18:46 +0200)
committer
Michael Niedermayer
<michael@niedermayer.cc>
Sun, 30 Apr 2017 12:23:27 +0000
(14:23 +0200)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libswscale/tests/swscale.c
patch
|
blob
|
history
diff --git
a/libswscale/tests/swscale.c
b/libswscale/tests/swscale.c
index
bd8d098
..
b4b8173
100644
(file)
--- 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;