kopia lustrzana https://github.com/xdsopl/robot36
img must be initialized to 0
rodzic
3b27180505
commit
2fd7f3360e
2
debug.c
2
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 width = (0.150 + 3.0 * sync_porch_len) * drate + 20;
|
||||||
const int height = 256;
|
const int height = 256;
|
||||||
img_t *img;
|
img_t *img = 0;
|
||||||
|
|
||||||
int hor_ticks = 0;
|
int hor_ticks = 0;
|
||||||
int y_pixel_x = 0;
|
int y_pixel_x = 0;
|
||||||
|
|
2
decode.c
2
decode.c
|
@ -359,7 +359,7 @@ int main(int argc, char **argv)
|
||||||
|
|
||||||
short *buff = (short *)malloc(sizeof(short) * channels * factor_M);
|
short *buff = (short *)malloc(sizeof(short) * channels * factor_M);
|
||||||
|
|
||||||
img_t *img;
|
img_t *img = 0;
|
||||||
|
|
||||||
for (int out = factor_L;; out++) {
|
for (int out = factor_L;; out++) {
|
||||||
if (out >= factor_L) {
|
if (out >= factor_L) {
|
||||||
|
|
Ładowanie…
Reference in New Issue