summaryrefslogtreecommitdiff
path: root/ext/jpeg/gstjpegdec.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/jpeg/gstjpegdec.h')
-rw-r--r--ext/jpeg/gstjpegdec.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/jpeg/gstjpegdec.h b/ext/jpeg/gstjpegdec.h
index e8fa2fcbf..39c7f28dd 100644
--- a/ext/jpeg/gstjpegdec.h
+++ b/ext/jpeg/gstjpegdec.h
@@ -90,6 +90,9 @@ struct _GstJpegDec {
/* arrays for indirect decoding */
gboolean idr_width_allocated;
guchar *idr_y[16],*idr_u[16],*idr_v[16];
+ /* scratch buffer for direct decoding overflow */
+ guchar *scratch;
+ guint scratch_size;
/* current (parsed) image size */
guint rem_img_len;
};