raw_fmt->height in never initialized. But width in initialized twice.
Unified · Split
| @@ -367,7 +367,7 @@ hantro_reset_raw_fmt(struct hantro_ctx *ctx) · 366 unmodified lines | |||
| 367 | 367 | ||
| 368 | hantro_reset_fmt(raw_fmt, raw_vpu_fmt); | 368 | hantro_reset_fmt(raw_fmt, raw_vpu_fmt); |
| 369 | raw_fmt->width = encoded_fmt->width; | 369 | raw_fmt->width = encoded_fmt->width; |
| 370 | raw_fmt->width = encoded_fmt->width; | 370 | raw_fmt->height = encoded_fmt->height; |
| 371 | if (ctx->is_encoder) | 371 | if (ctx->is_encoder) |
| 372 | hantro_set_fmt_out(ctx, raw_fmt); | 372 | hantro_set_fmt_out(ctx, raw_fmt); |
| 373 | else | 373 | else |