From 0cf187caca31265bb4138995b3eb20686bb71be5 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 18 Jun 2016 19:31:23 +0200 Subject: bitmap_packet: let max=0 mean unlimited And remove the strange PACKER_MAX_WH define. This is more convenient for users which don't care about limits, such as sd_lavc.c. --- sub/sd_lavc.c | 1 - 1 file changed, 1 deletion(-) (limited to 'sub') diff --git a/sub/sd_lavc.c b/sub/sd_lavc.c index 10363748ac..7f68a2224e 100644 --- a/sub/sd_lavc.c +++ b/sub/sd_lavc.c @@ -150,7 +150,6 @@ static int init(struct sd *sd) priv->displayed_id = -1; priv->current_pts = MP_NOPTS_VALUE; priv->packer = talloc_zero(priv, struct bitmap_packer); - priv->packer->w_max = priv->packer->h_max = PACKER_MAX_WH; return 0; error: -- cgit v1.2.3