From 9d8c956983b3db00a92308234cb318908e91da1f Mon Sep 17 00:00:00 2001 From: Andri Yngvason Date: Sun, 6 Mar 2022 11:24:33 +0000 Subject: [PATCH] h264-encoder: Fix copy-pasta --- src/h264-encoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/h264-encoder.c b/src/h264-encoder.c index 4284e65..63179ab 100644 --- a/src/h264-encoder.c +++ b/src/h264-encoder.c @@ -288,7 +288,7 @@ static int h264_encoder__init_codec_context(struct h264_encoder* self, struct AVCodecContext* c = self->codec_ctx; c->width = self->width; - c->height = self->width; + c->height = self->height; c->time_base = self->timebase; c->sample_aspect_ratio = self->sample_aspect_ratio; c->pix_fmt = AV_PIX_FMT_VAAPI;