From 6f9bc3cdcbeadea3ba6fc006874bf95fcb4b8393 Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Fri, 20 Jan 2012 13:15:19 +0100 Subject: [PATCH] JPEG: allow lines not divisible by 4 to encode * seems to work smoothly with recent GPUJPEG library --- ultragrid/src/video_compress/jpeg.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ultragrid/src/video_compress/jpeg.c b/ultragrid/src/video_compress/jpeg.c index eed2c4ae5..ef343880d 100644 --- a/ultragrid/src/video_compress/jpeg.c +++ b/ultragrid/src/video_compress/jpeg.c @@ -77,7 +77,6 @@ static int configure_with(struct compress_jpeg_state *s, struct video_frame *fra { unsigned int x; - assert(vf_get_tile(frame, 0)->width % 4 == 0); s->out = vf_alloc(frame->tile_count); for (x = 0; x < frame->tile_count; ++x) {