Commit 3cfd7968 authored by Wim Taymans's avatar Wim Taymans
Browse files

jpegdec: increase acceptable output sizes

We can perfectly decode 1x1 images so lower the min width and height to 1.

Fixes #618392
parent 3e4bc043
......@@ -43,9 +43,9 @@
#include "gst/gst-i18n-plugin.h"
#include <jerror.h>
#define MIN_WIDTH 16
#define MIN_WIDTH 1
#define MAX_WIDTH 65535
#define MIN_HEIGHT 8
#define MIN_HEIGHT 1
#define MAX_HEIGHT 65535
#define CINFO_GET_JPEGDEC(cinfo_ptr) \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment