mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-08 04:41:31 +00:00
jpegdec: increase acceptable output sizes
We can perfectly decode 1x1 images so lower the min width and height to 1. Fixes #618392
This commit is contained in:
parent
3e4bc043a5
commit
3cfd7968b4
1 changed files with 2 additions and 2 deletions
|
@ -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) \
|
||||
|
|
Loading…
Reference in a new issue