diff --git a/debug.c b/debug.c index f4200b7..abea7b0 100644 --- a/debug.c +++ b/debug.c @@ -130,7 +130,7 @@ int main(int argc, char **argv) const int width = (0.150 + 3.0 * sync_porch_len) * drate + 20; const int height = 256; - img_t *img; + img_t *img = 0; int hor_ticks = 0; int y_pixel_x = 0; diff --git a/decode.c b/decode.c index 24bc9c3..dec3a6d 100644 --- a/decode.c +++ b/decode.c @@ -359,7 +359,7 @@ int main(int argc, char **argv) short *buff = (short *)malloc(sizeof(short) * channels * factor_M); - img_t *img; + img_t *img = 0; for (int out = factor_L;; out++) { if (out >= factor_L) {