summaryrefslogtreecommitdiff
path: root/src/libxinevdec
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2006-06-02 22:18:56 +0000
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2006-06-02 22:18:56 +0000
commit6a90ef1128ca51713804e94da00f9c3a7440ec16 (patch)
tree7334efc2d5286d3842c0256a26673a381c9514b2 /src/libxinevdec
parent11de71b0938af5b027b78b0e0db9617ab22a319f (diff)
downloadxine-lib-6a90ef1128ca51713804e94da00f9c3a7440ec16.tar.gz
xine-lib-6a90ef1128ca51713804e94da00f9c3a7440ec16.tar.bz2
Various static/const fixes from Gentoo.
CVS patchset: 8009 CVS date: 2006/06/02 22:18:56
Diffstat (limited to 'src/libxinevdec')
-rw-r--r--src/libxinevdec/bitplane.c6
-rw-r--r--src/libxinevdec/foovideo.c6
-rw-r--r--src/libxinevdec/gdkpixbuf.c4
-rw-r--r--src/libxinevdec/image.c4
-rw-r--r--src/libxinevdec/rgb.c6
-rw-r--r--src/libxinevdec/yuv.c6
6 files changed, 16 insertions, 16 deletions
diff --git a/src/libxinevdec/bitplane.c b/src/libxinevdec/bitplane.c
index e63c9c909..61c2763a8 100644
--- a/src/libxinevdec/bitplane.c
+++ b/src/libxinevdec/bitplane.c
@@ -28,7 +28,7 @@
* 8 (long and short)
* - untested (found no testfiles) IFF-ANIM OPT 3, 4 and 6
*
- * $Id: bitplane.c,v 1.13 2006/05/03 19:46:08 dsalt Exp $
+ * $Id: bitplane.c,v 1.14 2006/06/02 22:18:58 dsalt Exp $
*/
#include <stdio.h>
@@ -1574,13 +1574,13 @@ static void *init_plugin (xine_t *xine, void *data) {
* exported plugin catalog entry
*/
-static uint32_t video_types[] = {
+static const uint32_t video_types[] = {
BUF_VIDEO_BITPLANE,
BUF_VIDEO_BITPLANE_BR1,
0
};
-static decoder_info_t dec_info_video = {
+static const decoder_info_t dec_info_video = {
video_types, /* supported types */
1 /* priority */
};
diff --git a/src/libxinevdec/foovideo.c b/src/libxinevdec/foovideo.c
index 442ae894f..c5b07527e 100644
--- a/src/libxinevdec/foovideo.c
+++ b/src/libxinevdec/foovideo.c
@@ -23,7 +23,7 @@
* value from the last frame. This creates a slowly rotating solid color
* frame when the frames are played in succession.
*
- * $Id: foovideo.c,v 1.24 2006/05/03 19:46:08 dsalt Exp $
+ * $Id: foovideo.c,v 1.25 2006/06/02 22:18:58 dsalt Exp $
*/
#include <stdio.h>
@@ -274,7 +274,7 @@ static void *init_plugin (xine_t *xine, void *data) {
* list of valid buffer types (and add a new one if the one you need does
* not exist). Terminate the list with a 0.
*/
-static uint32_t video_types[] = {
+static const uint32_t video_types[] = {
/* BUF_VIDEO_FOOVIDEO, */
BUF_VIDEO_VQA,
BUF_VIDEO_SORENSON_V3,
@@ -287,7 +287,7 @@ static uint32_t video_types[] = {
* plugins that handle the same buffer type. A plugin with priority (n+1)
* will be used instead of a plugin with priority (n).
*/
-static decoder_info_t dec_info_video = {
+static const decoder_info_t dec_info_video = {
video_types, /* supported types */
5 /* priority */
};
diff --git a/src/libxinevdec/gdkpixbuf.c b/src/libxinevdec/gdkpixbuf.c
index a0fdcb338..d3d8953db 100644
--- a/src/libxinevdec/gdkpixbuf.c
+++ b/src/libxinevdec/gdkpixbuf.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: gdkpixbuf.c,v 1.4 2006/05/03 19:46:08 dsalt Exp $
+ * $Id: gdkpixbuf.c,v 1.5 2006/06/02 22:18:58 dsalt Exp $
*
* a gdk-pixbuf-based image video decoder
*/
@@ -302,7 +302,7 @@ static void *init_class (xine_t *xine, void *data) {
static uint32_t supported_types[] = { BUF_VIDEO_IMAGE,
0 };
-static decoder_info_t dec_info_image = {
+static const decoder_info_t dec_info_image = {
supported_types, /* supported types */
7 /* priority */
};
diff --git a/src/libxinevdec/image.c b/src/libxinevdec/image.c
index e51033ca2..383224ed9 100644
--- a/src/libxinevdec/image.c
+++ b/src/libxinevdec/image.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: image.c,v 1.18 2006/05/03 19:46:08 dsalt Exp $
+ * $Id: image.c,v 1.19 2006/06/02 22:18:58 dsalt Exp $
*
* a image video decoder
*/
@@ -273,7 +273,7 @@ static void *init_class (xine_t *xine, void *data) {
static uint32_t supported_types[] = { BUF_VIDEO_IMAGE,
0 };
-static decoder_info_t dec_info_image = {
+static const decoder_info_t dec_info_image = {
supported_types, /* supported types */
6 /* priority */
};
diff --git a/src/libxinevdec/rgb.c b/src/libxinevdec/rgb.c
index 264a0ac5d..744fc1b65 100644
--- a/src/libxinevdec/rgb.c
+++ b/src/libxinevdec/rgb.c
@@ -30,7 +30,7 @@
* One more catch: Raw RGB from a Microsoft file is upside down. This is
* indicated by a negative height parameter.
*
- * $Id: rgb.c,v 1.32 2006/05/03 19:46:08 dsalt Exp $
+ * $Id: rgb.c,v 1.33 2006/06/02 22:18:58 dsalt Exp $
*/
#include <stdio.h>
@@ -448,12 +448,12 @@ static void *init_plugin (xine_t *xine, void *data) {
* exported plugin catalog entry
*/
-static uint32_t video_types[] = {
+static const uint32_t video_types[] = {
BUF_VIDEO_RGB,
0
};
-static decoder_info_t dec_info_video = {
+static const decoder_info_t dec_info_video = {
video_types, /* supported types */
1 /* priority */
};
diff --git a/src/libxinevdec/yuv.c b/src/libxinevdec/yuv.c
index cc551a119..639144223 100644
--- a/src/libxinevdec/yuv.c
+++ b/src/libxinevdec/yuv.c
@@ -21,7 +21,7 @@
* Actually, this decoder just reorganizes chunks of raw YUV data in such
* a way that xine can display them.
*
- * $Id: yuv.c,v 1.35 2006/05/03 19:46:08 dsalt Exp $
+ * $Id: yuv.c,v 1.36 2006/06/02 22:18:58 dsalt Exp $
*/
#include <stdio.h>
@@ -371,7 +371,7 @@ static void *init_plugin (xine_t *xine, void *data) {
* exported plugin catalog entry
*/
-static uint32_t video_types[] = {
+static const uint32_t video_types[] = {
BUF_VIDEO_YUY2,
BUF_VIDEO_YV12,
BUF_VIDEO_YVU9,
@@ -380,7 +380,7 @@ static uint32_t video_types[] = {
0
};
-static decoder_info_t dec_info_video = {
+static const decoder_info_t dec_info_video = {
video_types, /* supported types */
1 /* priority */
};