JPEG: allow lines not divisible by 4 to encode

* seems to work smoothly with recent GPUJPEG library
This commit is contained in:
Martin Pulec
2012-01-20 13:15:19 +01:00
parent 9a0621615e
commit 6f9bc3cdcb

View File

@@ -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) {