[MPlayer-cvslog] r30546 - in trunk/libmpcodecs: ad_acm.c ad_alaw.c ad_dk3adpcm.c ad_dmo.c ad_dshow.c ad_dvdpcm.c ad_faad.c ad_ffmpeg.c ad_hwac3.c ad_hwmpa.c ad_imaadpcm.c ad_liba52.c ad_libdca.c ad_libdv.c ad_libma...
diego
subversion at mplayerhq.hu
Fri Feb 12 17:29:35 CET 2010
Author: diego
Date: Fri Feb 12 17:29:34 2010
New Revision: 30546
Log:
Mark all ad_info_t/vd_info_t structure declarations as const.
Modified:
trunk/libmpcodecs/ad_acm.c
trunk/libmpcodecs/ad_alaw.c
trunk/libmpcodecs/ad_dk3adpcm.c
trunk/libmpcodecs/ad_dmo.c
trunk/libmpcodecs/ad_dshow.c
trunk/libmpcodecs/ad_dvdpcm.c
trunk/libmpcodecs/ad_faad.c
trunk/libmpcodecs/ad_ffmpeg.c
trunk/libmpcodecs/ad_hwac3.c
trunk/libmpcodecs/ad_hwmpa.c
trunk/libmpcodecs/ad_imaadpcm.c
trunk/libmpcodecs/ad_liba52.c
trunk/libmpcodecs/ad_libdca.c
trunk/libmpcodecs/ad_libdv.c
trunk/libmpcodecs/ad_libmad.c
trunk/libmpcodecs/ad_libvorbis.c
trunk/libmpcodecs/ad_mp3lib.c
trunk/libmpcodecs/ad_mpc.c
trunk/libmpcodecs/ad_msadpcm.c
trunk/libmpcodecs/ad_msgsm.c
trunk/libmpcodecs/ad_pcm.c
trunk/libmpcodecs/ad_qtaudio.c
trunk/libmpcodecs/ad_realaud.c
trunk/libmpcodecs/ad_sample.c
trunk/libmpcodecs/ad_speex.c
trunk/libmpcodecs/ad_twin.c
trunk/libmpcodecs/vd_dmo.c
trunk/libmpcodecs/vd_dshow.c
trunk/libmpcodecs/vd_ffmpeg.c
trunk/libmpcodecs/vd_hmblck.c
trunk/libmpcodecs/vd_ijpg.c
trunk/libmpcodecs/vd_libdv.c
trunk/libmpcodecs/vd_libmpeg2.c
trunk/libmpcodecs/vd_lzo.c
trunk/libmpcodecs/vd_mpegpes.c
trunk/libmpcodecs/vd_mpng.c
trunk/libmpcodecs/vd_mtga.c
trunk/libmpcodecs/vd_null.c
trunk/libmpcodecs/vd_qtvideo.c
trunk/libmpcodecs/vd_raw.c
trunk/libmpcodecs/vd_realvid.c
trunk/libmpcodecs/vd_sgi.c
trunk/libmpcodecs/vd_theora.c
trunk/libmpcodecs/vd_vfw.c
trunk/libmpcodecs/vd_xanim.c
trunk/libmpcodecs/vd_xvid4.c
trunk/libmpcodecs/vd_zrmjpeg.c
Modified: trunk/libmpcodecs/ad_acm.c
==============================================================================
--- trunk/libmpcodecs/ad_acm.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/ad_acm.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -29,7 +29,7 @@
#include "ad_internal.h"
#include "osdep/timer.h"
-static ad_info_t info =
+static const ad_info_t info =
{
"Win32/ACM decoders",
"acm",
Modified: trunk/libmpcodecs/ad_alaw.c
==============================================================================
--- trunk/libmpcodecs/ad_alaw.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/ad_alaw.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -23,7 +23,7 @@
#include "config.h"
#include "ad_internal.h"
-static ad_info_t info =
+static const ad_info_t info =
{
"aLaw/uLaw audio decoder",
"alaw",
Modified: trunk/libmpcodecs/ad_dk3adpcm.c
==============================================================================
--- trunk/libmpcodecs/ad_dk3adpcm.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/ad_dk3adpcm.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -36,7 +36,7 @@
#include "mpbswap.h"
#include "ad_internal.h"
-static ad_info_t info =
+static const ad_info_t info =
{
"Duck Corp. DK3 ADPCM decoder",
"dk3adpcm",
Modified: trunk/libmpcodecs/ad_dmo.c
==============================================================================
--- trunk/libmpcodecs/ad_dmo.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/ad_dmo.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -27,7 +27,7 @@
#include "ad_internal.h"
#include "libaf/reorder_ch.h"
-static ad_info_t info =
+static const ad_info_t info =
{
"Win32/DMO decoders",
"dmo",
Modified: trunk/libmpcodecs/ad_dshow.c
==============================================================================
--- trunk/libmpcodecs/ad_dshow.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/ad_dshow.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -26,7 +26,7 @@
#include "ad_internal.h"
-static ad_info_t info =
+static const ad_info_t info =
{
"Win32/DirectShow decoders",
"dshow",
Modified: trunk/libmpcodecs/ad_dvdpcm.c
==============================================================================
--- trunk/libmpcodecs/ad_dvdpcm.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/ad_dvdpcm.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -25,7 +25,7 @@
#include "help_mp.h"
#include "ad_internal.h"
-static ad_info_t info =
+static const ad_info_t info =
{
"Uncompressed DVD/VOB LPCM audio decoder",
"dvdpcm",
Modified: trunk/libmpcodecs/ad_faad.c
==============================================================================
--- trunk/libmpcodecs/ad_faad.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/ad_faad.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -28,7 +28,7 @@
#include "ad_internal.h"
#include "libaf/reorder_ch.h"
-static ad_info_t info =
+static const ad_info_t info =
{
"AAC (MPEG2/4 Advanced Audio Coding)",
"faad",
Modified: trunk/libmpcodecs/ad_ffmpeg.c
==============================================================================
--- trunk/libmpcodecs/ad_ffmpeg.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/ad_ffmpeg.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -29,7 +29,7 @@
#include "mpbswap.h"
-static ad_info_t info =
+static const ad_info_t info =
{
"FFmpeg/libavcodec audio decoders",
"ffmpeg",
Modified: trunk/libmpcodecs/ad_hwac3.c
==============================================================================
--- trunk/libmpcodecs/ad_hwac3.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/ad_hwac3.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -38,7 +38,7 @@
static int isdts = -1;
-static ad_info_t info =
+static const ad_info_t info =
{
"AC3/DTS pass-through S/PDIF",
"hwac3",
Modified: trunk/libmpcodecs/ad_hwmpa.c
==============================================================================
--- trunk/libmpcodecs/ad_hwmpa.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/ad_hwmpa.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -33,7 +33,7 @@
//based on ad_hwac3.c and ad_libmad.c
-static ad_info_t info =
+static const ad_info_t info =
{
"MPEG audio pass-through (fake decoder)",
"hwmpa",
Modified: trunk/libmpcodecs/ad_imaadpcm.c
==============================================================================
--- trunk/libmpcodecs/ad_imaadpcm.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/ad_imaadpcm.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -79,7 +79,7 @@ static const int8_t adpcm_index[8] =
// clamp a number above 16
#define CLAMP_ABOVE_16(x) if (x < 16) x = 16;
-static ad_info_t info =
+static const ad_info_t info =
{
"IMA ADPCM audio decoder",
"imaadpcm",
Modified: trunk/libmpcodecs/ad_liba52.c
==============================================================================
--- trunk/libmpcodecs/ad_liba52.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/ad_liba52.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -63,7 +63,7 @@ static sample_t a52_level = 1;
float a52_drc_level = 1.0;
static int a52_drc_action = DRC_NO_ACTION;
-static ad_info_t info =
+static const ad_info_t info =
{
"AC3 decoding with liba52",
"liba52",
Modified: trunk/libmpcodecs/ad_libdca.c
==============================================================================
--- trunk/libmpcodecs/ad_libdca.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/ad_libdca.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -32,7 +32,7 @@
#include <dts.h>
-static ad_info_t info =
+static const ad_info_t info =
{
"DTS decoding with libdca",
"libdca",
Modified: trunk/libmpcodecs/ad_libdv.c
==============================================================================
--- trunk/libmpcodecs/ad_libdv.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/ad_libdv.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -38,7 +38,7 @@
#include "ad_internal.h"
-static ad_info_t info =
+static const ad_info_t info =
{
"Raw DV Audio Decoder",
"libdv",
Modified: trunk/libmpcodecs/ad_libmad.c
==============================================================================
--- trunk/libmpcodecs/ad_libmad.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/ad_libmad.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -24,7 +24,7 @@
#include "ad_internal.h"
-static ad_info_t info = {
+static const ad_info_t info = {
"libmad mpeg audio decoder",
"libmad",
"A'rpi",
Modified: trunk/libmpcodecs/ad_libvorbis.c
==============================================================================
--- trunk/libmpcodecs/ad_libvorbis.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/ad_libvorbis.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -26,7 +26,7 @@
#include "ad_internal.h"
#include "libaf/reorder_ch.h"
-static ad_info_t info =
+static const ad_info_t info =
{
"Ogg/Vorbis audio decoder",
#ifdef CONFIG_TREMOR
Modified: trunk/libmpcodecs/ad_mp3lib.c
==============================================================================
--- trunk/libmpcodecs/ad_mp3lib.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/ad_mp3lib.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -24,7 +24,7 @@
#include "ad_internal.h"
-static ad_info_t info =
+static const ad_info_t info =
{
"MPEG layer-2, layer-3",
"mp3lib",
Modified: trunk/libmpcodecs/ad_mpc.c
==============================================================================
--- trunk/libmpcodecs/ad_mpc.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/ad_mpc.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -32,7 +32,7 @@
#include "libaf/af_format.h"
#include "libvo/fastmemcpy.h"
-static ad_info_t info =
+static const ad_info_t info =
{
"Musepack audio decoder",
"mpcdec",
Modified: trunk/libmpcodecs/ad_msadpcm.c
==============================================================================
--- trunk/libmpcodecs/ad_msadpcm.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/ad_msadpcm.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -34,7 +34,7 @@
#include "mpbswap.h"
#include "ad_internal.h"
-static ad_info_t info =
+static const ad_info_t info =
{
"MS ADPCM audio decoder",
"msadpcm",
Modified: trunk/libmpcodecs/ad_msgsm.c
==============================================================================
--- trunk/libmpcodecs/ad_msgsm.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/ad_msgsm.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -23,7 +23,7 @@
#include "config.h"
#include "ad_internal.h"
-static ad_info_t info =
+static const ad_info_t info =
{
"native GSM/MSGSM audio decoder",
"msgsm",
Modified: trunk/libmpcodecs/ad_pcm.c
==============================================================================
--- trunk/libmpcodecs/ad_pcm.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/ad_pcm.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -25,7 +25,7 @@
#include "libaf/af_format.h"
#include "libaf/reorder_ch.h"
-static ad_info_t info =
+static const ad_info_t info =
{
"Uncompressed PCM audio decoder",
"pcm",
Modified: trunk/libmpcodecs/ad_qtaudio.c
==============================================================================
--- trunk/libmpcodecs/ad_qtaudio.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/ad_qtaudio.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -33,7 +33,7 @@
#include "loader/wine/windef.h"
#endif
-static ad_info_t info = {
+static const ad_info_t info = {
"QuickTime Audio Decoder",
"qtaudio",
"A'rpi",
Modified: trunk/libmpcodecs/ad_realaud.c
==============================================================================
--- trunk/libmpcodecs/ad_realaud.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/ad_realaud.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -31,7 +31,7 @@
#include "ad_internal.h"
#include "loader/wine/windef.h"
-static ad_info_t info = {
+static const ad_info_t info = {
"RealAudio decoder",
"realaud",
"Alex Beregszaszi",
Modified: trunk/libmpcodecs/ad_sample.c
==============================================================================
--- trunk/libmpcodecs/ad_sample.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/ad_sample.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -25,7 +25,7 @@
#include "config.h"
#include "ad_internal.h"
-static ad_info_t info = {
+static const ad_info_t info = {
"Sample audio decoder", // name of the driver
"sample", // driver name. should be the same as filename without ad_
"A'rpi", // writer/maintainer of _this_ file
Modified: trunk/libmpcodecs/ad_speex.c
==============================================================================
--- trunk/libmpcodecs/ad_speex.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/ad_speex.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -28,7 +28,7 @@
#include <speex/speex_header.h>
#include "ad_internal.h"
-static ad_info_t info = {
+static const ad_info_t info = {
"Speex audio decoder",
"speex",
"Reimar Döffinger",
Modified: trunk/libmpcodecs/ad_twin.c
==============================================================================
--- trunk/libmpcodecs/ad_twin.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/ad_twin.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -29,7 +29,7 @@
#include "help_mp.h"
-static ad_info_t info =
+static const ad_info_t info =
{
"TWinVQ decoder",
"vqf",
Modified: trunk/libmpcodecs/vd_dmo.c
==============================================================================
--- trunk/libmpcodecs/vd_dmo.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/vd_dmo.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -29,7 +29,7 @@
#include "loader/dmo/DMO_VideoDecoder.h"
-static vd_info_t info = {
+static const vd_info_t info = {
"DMO video codecs",
"dmo",
"A'rpi",
Modified: trunk/libmpcodecs/vd_dshow.c
==============================================================================
--- trunk/libmpcodecs/vd_dshow.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/vd_dshow.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -29,7 +29,7 @@
#include "loader/dshow/DS_VideoDecoder.h"
-static vd_info_t info = {
+static const vd_info_t info = {
"DirectShow video codecs",
"dshow",
"A'rpi",
Modified: trunk/libmpcodecs/vd_ffmpeg.c
==============================================================================
--- trunk/libmpcodecs/vd_ffmpeg.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/vd_ffmpeg.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -33,7 +33,7 @@
#include "vd_internal.h"
-static vd_info_t info = {
+static const vd_info_t info = {
"FFmpeg's libavcodec codec family",
"ffmpeg",
"A'rpi",
Modified: trunk/libmpcodecs/vd_hmblck.c
==============================================================================
--- trunk/libmpcodecs/vd_hmblck.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/vd_hmblck.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -26,7 +26,7 @@
#define TEMP_BUF_SIZE (720*576)
-static vd_info_t info = {
+static const vd_info_t info = {
"Hauppauge Macroblock/NV12/NV21 Decoder",
"hmblck",
"Alex <d18c7db at hotmail.com>, A'rpi, Alex Beregszaszi",
Modified: trunk/libmpcodecs/vd_ijpg.c
==============================================================================
--- trunk/libmpcodecs/vd_ijpg.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/vd_ijpg.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -33,7 +33,7 @@
#include "vd_internal.h"
-static vd_info_t info = {
+static const vd_info_t info = {
"JPEG Images decoder",
"ijpg",
"Pontscho",
Modified: trunk/libmpcodecs/vd_libdv.c
==============================================================================
--- trunk/libmpcodecs/vd_libdv.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/vd_libdv.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -36,7 +36,7 @@
#include "vd_internal.h"
-static vd_info_t info =
+static const vd_info_t info =
{
"Raw DV Video Decoder",
"libdv",
Modified: trunk/libmpcodecs/vd_libmpeg2.c
==============================================================================
--- trunk/libmpcodecs/vd_libmpeg2.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/vd_libmpeg2.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -27,7 +27,7 @@
//#undef MPEG12_POSTPROC
-static vd_info_t info =
+static const vd_info_t info =
{
"libmpeg2 MPEG 1/2 Video decoder",
"libmpeg2",
Modified: trunk/libmpcodecs/vd_lzo.c
==============================================================================
--- trunk/libmpcodecs/vd_lzo.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/vd_lzo.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -27,7 +27,7 @@
#define MOD_NAME "DecLZO"
-static vd_info_t info = {
+static const vd_info_t info = {
"LZO compressed Video",
"lzo",
"Tilmann Bitterberg",
Modified: trunk/libmpcodecs/vd_mpegpes.c
==============================================================================
--- trunk/libmpcodecs/vd_mpegpes.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/vd_mpegpes.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -25,7 +25,7 @@
#include "vd_internal.h"
-static vd_info_t info =
+static const vd_info_t info =
{
"MPEG 1/2 Video passthrough",
"mpegpes",
Modified: trunk/libmpcodecs/vd_mpng.c
==============================================================================
--- trunk/libmpcodecs/vd_mpng.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/vd_mpng.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -30,7 +30,7 @@
#include "vd_internal.h"
-static vd_info_t info = {
+static const vd_info_t info = {
"PNG Images decoder",
"mpng",
"A'rpi",
Modified: trunk/libmpcodecs/vd_mtga.c
==============================================================================
--- trunk/libmpcodecs/vd_mtga.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/vd_mtga.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -34,7 +34,7 @@
#include "vd_internal.h"
-static vd_info_t info =
+static const vd_info_t info =
{
"TGA Images decoder",
"mtga",
Modified: trunk/libmpcodecs/vd_null.c
==============================================================================
--- trunk/libmpcodecs/vd_null.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/vd_null.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -24,7 +24,7 @@
#include "vd_internal.h"
-static vd_info_t info =
+static const vd_info_t info =
{
"Null video decoder",
"null",
Modified: trunk/libmpcodecs/vd_qtvideo.c
==============================================================================
--- trunk/libmpcodecs/vd_qtvideo.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/vd_qtvideo.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -34,7 +34,7 @@
#include "loader/wine/windef.h"
#endif
-static vd_info_t info = {
+static const vd_info_t info = {
"Quicktime Video decoder",
"qtvideo",
"A'rpi",
Modified: trunk/libmpcodecs/vd_raw.c
==============================================================================
--- trunk/libmpcodecs/vd_raw.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/vd_raw.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -24,7 +24,7 @@
#include "vd_internal.h"
-static vd_info_t info = {
+static const vd_info_t info = {
"RAW Uncompressed Video",
"raw",
"A'rpi",
Modified: trunk/libmpcodecs/vd_realvid.c
==============================================================================
--- trunk/libmpcodecs/vd_realvid.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/vd_realvid.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -32,7 +32,7 @@
#include "vd_internal.h"
#include "loader/wine/windef.h"
-static vd_info_t info = {
+static const vd_info_t info = {
"RealVideo decoder",
"realvid",
"Alex Beregszaszi",
Modified: trunk/libmpcodecs/vd_sgi.c
==============================================================================
--- trunk/libmpcodecs/vd_sgi.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/vd_sgi.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -37,7 +37,7 @@
#define OUT_PIXEL_STRIDE 3 /* RGB */
-static vd_info_t info =
+static const vd_info_t info =
{
"SGI Image decoder",
"sgi",
Modified: trunk/libmpcodecs/vd_theora.c
==============================================================================
--- trunk/libmpcodecs/vd_theora.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/vd_theora.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -27,7 +27,7 @@
#include "vd_internal.h"
-static vd_info_t info = {
+static const vd_info_t info = {
"Theora/VP3",
"theora",
"David Kuehling",
Modified: trunk/libmpcodecs/vd_vfw.c
==============================================================================
--- trunk/libmpcodecs/vd_vfw.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/vd_vfw.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -28,7 +28,7 @@
#include "loader/wine/driver.h"
#include "loader/wine/vfw.h"
-static vd_info_t info = {
+static const vd_info_t info = {
#ifdef BUILD_VFWEX
"Win32/VfWex video codecs",
"vfwex",
Modified: trunk/libmpcodecs/vd_xanim.c
==============================================================================
--- trunk/libmpcodecs/vd_xanim.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/vd_xanim.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -34,7 +34,7 @@
#include "vd_internal.h"
-static vd_info_t info = {
+static const vd_info_t info = {
"XAnim codecs",
"xanim",
"A'rpi & Alex",
Modified: trunk/libmpcodecs/vd_xvid4.c
==============================================================================
--- trunk/libmpcodecs/vd_xvid4.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/vd_xvid4.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -378,7 +378,7 @@ static float stats2aspect(xvid_dec_stats
* Module structure definition
****************************************************************************/
-static vd_info_t info =
+static const vd_info_t info =
{
"XviD 1.0 decoder",
"xvid",
Modified: trunk/libmpcodecs/vd_zrmjpeg.c
==============================================================================
--- trunk/libmpcodecs/vd_zrmjpeg.c Fri Feb 12 15:25:25 2010 (r30545)
+++ trunk/libmpcodecs/vd_zrmjpeg.c Fri Feb 12 17:29:34 2010 (r30546)
@@ -36,7 +36,7 @@
#include "vd_internal.h"
-static vd_info_t info =
+static const vd_info_t info =
{
"Zoran MJPEG Video passthrough",
"zrmjpeg",
More information about the MPlayer-cvslog
mailing list