summaryrefslogtreecommitdiffstats
path: root/sub
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-06-18 19:31:23 +0200
committerwm4 <wm4@nowhere>2016-06-18 19:31:23 +0200
commit0cf187caca31265bb4138995b3eb20686bb71be5 (patch)
tree442680e332014d3c315a33e7feee71f9cde8f064 /sub
parent07c11656e3a108d646f7d7c686c497e19ce6d7fe (diff)
downloadmpv-0cf187caca31265bb4138995b3eb20686bb71be5.tar.bz2
mpv-0cf187caca31265bb4138995b3eb20686bb71be5.tar.xz
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.
Diffstat (limited to 'sub')
-rw-r--r--sub/sd_lavc.c1
1 files changed, 0 insertions, 1 deletions
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: