From 7e5d4b0fa93f0721f0cbd9c86c51e6b7dfc8692c Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Thu, 8 Apr 2010 13:40:36 +0300 Subject: [PATCH] jpegdec: move macro to c source One less semi public symbol without namespace prefix in the headers. --- ext/jpeg/gstjpegdec.c | 3 +++ ext/jpeg/gstjpegdec.h | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/jpeg/gstjpegdec.c b/ext/jpeg/gstjpegdec.c index 4936ffb..cfdaec6 100644 --- a/ext/jpeg/gstjpegdec.c +++ b/ext/jpeg/gstjpegdec.c @@ -48,6 +48,9 @@ #define MIN_HEIGHT 8 #define MAX_HEIGHT 65535 +#define CINFO_GET_JPEGDEC(cinfo_ptr) \ + (((struct GstJpegDecSourceMgr*)((cinfo_ptr)->src))->dec) + #define JPEG_DEFAULT_IDCT_METHOD JDCT_FASTEST enum diff --git a/ext/jpeg/gstjpegdec.h b/ext/jpeg/gstjpegdec.h index 68affa8..cdf77db 100644 --- a/ext/jpeg/gstjpegdec.h +++ b/ext/jpeg/gstjpegdec.h @@ -58,9 +58,6 @@ struct GstJpegDecSourceMgr { GstJpegDec *dec; }; -#define CINFO_GET_JPEGDEC(cinfo_ptr) \ - (((struct GstJpegDecSourceMgr*)((cinfo_ptr)->src))->dec) - /* Can't use GstBaseTransform, because GstBaseTransform * doesn't handle the N buffers in, 1 buffer out case, * but only the 1-in 1-out case */ -- 2.7.4