diff options
Diffstat (limited to 'video/sws_utils.c')
-rw-r--r-- | video/sws_utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/sws_utils.c b/video/sws_utils.c index 00b00513bc..5424bcfe27 100644 --- a/video/sws_utils.c +++ b/video/sws_utils.c @@ -159,8 +159,8 @@ int mp_sws_reinit(struct mp_sws_context *ctx) struct mp_image_params *dst = &ctx->dst; // Neutralize unsupported or ignored parameters. - src->d_w = dst->d_w = 0; - src->d_h = dst->d_h = 0; + src->p_w = dst->p_w = 0; + src->p_h = dst->p_h = 0; if (cache_valid(ctx)) return 0; |