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. --- video/out/bitmap_packer.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'video/out/bitmap_packer.h') diff --git a/video/out/bitmap_packer.h b/video/out/bitmap_packer.h index c9503fe42c..8fd2fce599 100644 --- a/video/out/bitmap_packer.h +++ b/video/out/bitmap_packer.h @@ -25,8 +25,6 @@ struct bitmap_packer { struct sub_bitmaps; -#define PACKER_MAX_WH 65536 - // Clear all internal state. Leave the following fields: w_max, h_max void packer_reset(struct bitmap_packer *packer); -- cgit v1.2.3