1
0
mirror of https://github.com/mpv-player/mpv synced 2025-04-01 14:50:07 +00:00

Mark all ad_info_t/vd_info_t structure declarations as const.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30546 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2010-02-12 16:29:34 +00:00
parent f34f239cce
commit 92e3238508
47 changed files with 47 additions and 47 deletions

View File

@ -29,7 +29,7 @@
#include "ad_internal.h" #include "ad_internal.h"
#include "osdep/timer.h" #include "osdep/timer.h"
static ad_info_t info = static const ad_info_t info =
{ {
"Win32/ACM decoders", "Win32/ACM decoders",
"acm", "acm",

View File

@ -23,7 +23,7 @@
#include "config.h" #include "config.h"
#include "ad_internal.h" #include "ad_internal.h"
static ad_info_t info = static const ad_info_t info =
{ {
"aLaw/uLaw audio decoder", "aLaw/uLaw audio decoder",
"alaw", "alaw",

View File

@ -36,7 +36,7 @@
#include "mpbswap.h" #include "mpbswap.h"
#include "ad_internal.h" #include "ad_internal.h"
static ad_info_t info = static const ad_info_t info =
{ {
"Duck Corp. DK3 ADPCM decoder", "Duck Corp. DK3 ADPCM decoder",
"dk3adpcm", "dk3adpcm",

View File

@ -27,7 +27,7 @@
#include "ad_internal.h" #include "ad_internal.h"
#include "libaf/reorder_ch.h" #include "libaf/reorder_ch.h"
static ad_info_t info = static const ad_info_t info =
{ {
"Win32/DMO decoders", "Win32/DMO decoders",
"dmo", "dmo",

View File

@ -26,7 +26,7 @@
#include "ad_internal.h" #include "ad_internal.h"
static ad_info_t info = static const ad_info_t info =
{ {
"Win32/DirectShow decoders", "Win32/DirectShow decoders",
"dshow", "dshow",

View File

@ -25,7 +25,7 @@
#include "help_mp.h" #include "help_mp.h"
#include "ad_internal.h" #include "ad_internal.h"
static ad_info_t info = static const ad_info_t info =
{ {
"Uncompressed DVD/VOB LPCM audio decoder", "Uncompressed DVD/VOB LPCM audio decoder",
"dvdpcm", "dvdpcm",

View File

@ -28,7 +28,7 @@
#include "ad_internal.h" #include "ad_internal.h"
#include "libaf/reorder_ch.h" #include "libaf/reorder_ch.h"
static ad_info_t info = static const ad_info_t info =
{ {
"AAC (MPEG2/4 Advanced Audio Coding)", "AAC (MPEG2/4 Advanced Audio Coding)",
"faad", "faad",

View File

@ -29,7 +29,7 @@
#include "mpbswap.h" #include "mpbswap.h"
static ad_info_t info = static const ad_info_t info =
{ {
"FFmpeg/libavcodec audio decoders", "FFmpeg/libavcodec audio decoders",
"ffmpeg", "ffmpeg",

View File

@ -38,7 +38,7 @@
static int isdts = -1; static int isdts = -1;
static ad_info_t info = static const ad_info_t info =
{ {
"AC3/DTS pass-through S/PDIF", "AC3/DTS pass-through S/PDIF",
"hwac3", "hwac3",

View File

@ -33,7 +33,7 @@
//based on ad_hwac3.c and ad_libmad.c //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)", "MPEG audio pass-through (fake decoder)",
"hwmpa", "hwmpa",

View File

@ -79,7 +79,7 @@ static const int8_t adpcm_index[8] =
// clamp a number above 16 // clamp a number above 16
#define CLAMP_ABOVE_16(x) if (x < 16) x = 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", "IMA ADPCM audio decoder",
"imaadpcm", "imaadpcm",

View File

@ -63,7 +63,7 @@ static sample_t a52_level = 1;
float a52_drc_level = 1.0; float a52_drc_level = 1.0;
static int a52_drc_action = DRC_NO_ACTION; static int a52_drc_action = DRC_NO_ACTION;
static ad_info_t info = static const ad_info_t info =
{ {
"AC3 decoding with liba52", "AC3 decoding with liba52",
"liba52", "liba52",

View File

@ -32,7 +32,7 @@
#include <dts.h> #include <dts.h>
static ad_info_t info = static const ad_info_t info =
{ {
"DTS decoding with libdca", "DTS decoding with libdca",
"libdca", "libdca",

View File

@ -38,7 +38,7 @@
#include "ad_internal.h" #include "ad_internal.h"
static ad_info_t info = static const ad_info_t info =
{ {
"Raw DV Audio Decoder", "Raw DV Audio Decoder",
"libdv", "libdv",

View File

@ -24,7 +24,7 @@
#include "ad_internal.h" #include "ad_internal.h"
static ad_info_t info = { static const ad_info_t info = {
"libmad mpeg audio decoder", "libmad mpeg audio decoder",
"libmad", "libmad",
"A'rpi", "A'rpi",

View File

@ -26,7 +26,7 @@
#include "ad_internal.h" #include "ad_internal.h"
#include "libaf/reorder_ch.h" #include "libaf/reorder_ch.h"
static ad_info_t info = static const ad_info_t info =
{ {
"Ogg/Vorbis audio decoder", "Ogg/Vorbis audio decoder",
#ifdef CONFIG_TREMOR #ifdef CONFIG_TREMOR

View File

@ -24,7 +24,7 @@
#include "ad_internal.h" #include "ad_internal.h"
static ad_info_t info = static const ad_info_t info =
{ {
"MPEG layer-2, layer-3", "MPEG layer-2, layer-3",
"mp3lib", "mp3lib",

View File

@ -32,7 +32,7 @@
#include "libaf/af_format.h" #include "libaf/af_format.h"
#include "libvo/fastmemcpy.h" #include "libvo/fastmemcpy.h"
static ad_info_t info = static const ad_info_t info =
{ {
"Musepack audio decoder", "Musepack audio decoder",
"mpcdec", "mpcdec",

View File

@ -34,7 +34,7 @@
#include "mpbswap.h" #include "mpbswap.h"
#include "ad_internal.h" #include "ad_internal.h"
static ad_info_t info = static const ad_info_t info =
{ {
"MS ADPCM audio decoder", "MS ADPCM audio decoder",
"msadpcm", "msadpcm",

View File

@ -23,7 +23,7 @@
#include "config.h" #include "config.h"
#include "ad_internal.h" #include "ad_internal.h"
static ad_info_t info = static const ad_info_t info =
{ {
"native GSM/MSGSM audio decoder", "native GSM/MSGSM audio decoder",
"msgsm", "msgsm",

View File

@ -25,7 +25,7 @@
#include "libaf/af_format.h" #include "libaf/af_format.h"
#include "libaf/reorder_ch.h" #include "libaf/reorder_ch.h"
static ad_info_t info = static const ad_info_t info =
{ {
"Uncompressed PCM audio decoder", "Uncompressed PCM audio decoder",
"pcm", "pcm",

View File

@ -33,7 +33,7 @@
#include "loader/wine/windef.h" #include "loader/wine/windef.h"
#endif #endif
static ad_info_t info = { static const ad_info_t info = {
"QuickTime Audio Decoder", "QuickTime Audio Decoder",
"qtaudio", "qtaudio",
"A'rpi", "A'rpi",

View File

@ -31,7 +31,7 @@
#include "ad_internal.h" #include "ad_internal.h"
#include "loader/wine/windef.h" #include "loader/wine/windef.h"
static ad_info_t info = { static const ad_info_t info = {
"RealAudio decoder", "RealAudio decoder",
"realaud", "realaud",
"Alex Beregszaszi", "Alex Beregszaszi",

View File

@ -25,7 +25,7 @@
#include "config.h" #include "config.h"
#include "ad_internal.h" #include "ad_internal.h"
static ad_info_t info = { static const ad_info_t info = {
"Sample audio decoder", // name of the driver "Sample audio decoder", // name of the driver
"sample", // driver name. should be the same as filename without ad_ "sample", // driver name. should be the same as filename without ad_
"A'rpi", // writer/maintainer of _this_ file "A'rpi", // writer/maintainer of _this_ file

View File

@ -28,7 +28,7 @@
#include <speex/speex_header.h> #include <speex/speex_header.h>
#include "ad_internal.h" #include "ad_internal.h"
static ad_info_t info = { static const ad_info_t info = {
"Speex audio decoder", "Speex audio decoder",
"speex", "speex",
"Reimar Döffinger", "Reimar Döffinger",

View File

@ -29,7 +29,7 @@
#include "help_mp.h" #include "help_mp.h"
static ad_info_t info = static const ad_info_t info =
{ {
"TWinVQ decoder", "TWinVQ decoder",
"vqf", "vqf",

View File

@ -29,7 +29,7 @@
#include "loader/dmo/DMO_VideoDecoder.h" #include "loader/dmo/DMO_VideoDecoder.h"
static vd_info_t info = { static const vd_info_t info = {
"DMO video codecs", "DMO video codecs",
"dmo", "dmo",
"A'rpi", "A'rpi",

View File

@ -29,7 +29,7 @@
#include "loader/dshow/DS_VideoDecoder.h" #include "loader/dshow/DS_VideoDecoder.h"
static vd_info_t info = { static const vd_info_t info = {
"DirectShow video codecs", "DirectShow video codecs",
"dshow", "dshow",
"A'rpi", "A'rpi",

View File

@ -33,7 +33,7 @@
#include "vd_internal.h" #include "vd_internal.h"
static vd_info_t info = { static const vd_info_t info = {
"FFmpeg's libavcodec codec family", "FFmpeg's libavcodec codec family",
"ffmpeg", "ffmpeg",
"A'rpi", "A'rpi",

View File

@ -26,7 +26,7 @@
#define TEMP_BUF_SIZE (720*576) #define TEMP_BUF_SIZE (720*576)
static vd_info_t info = { static const vd_info_t info = {
"Hauppauge Macroblock/NV12/NV21 Decoder", "Hauppauge Macroblock/NV12/NV21 Decoder",
"hmblck", "hmblck",
"Alex <d18c7db@hotmail.com>, A'rpi, Alex Beregszaszi", "Alex <d18c7db@hotmail.com>, A'rpi, Alex Beregszaszi",

View File

@ -33,7 +33,7 @@
#include "vd_internal.h" #include "vd_internal.h"
static vd_info_t info = { static const vd_info_t info = {
"JPEG Images decoder", "JPEG Images decoder",
"ijpg", "ijpg",
"Pontscho", "Pontscho",

View File

@ -36,7 +36,7 @@
#include "vd_internal.h" #include "vd_internal.h"
static vd_info_t info = static const vd_info_t info =
{ {
"Raw DV Video Decoder", "Raw DV Video Decoder",
"libdv", "libdv",

View File

@ -27,7 +27,7 @@
//#undef MPEG12_POSTPROC //#undef MPEG12_POSTPROC
static vd_info_t info = static const vd_info_t info =
{ {
"libmpeg2 MPEG 1/2 Video decoder", "libmpeg2 MPEG 1/2 Video decoder",
"libmpeg2", "libmpeg2",

View File

@ -27,7 +27,7 @@
#define MOD_NAME "DecLZO" #define MOD_NAME "DecLZO"
static vd_info_t info = { static const vd_info_t info = {
"LZO compressed Video", "LZO compressed Video",
"lzo", "lzo",
"Tilmann Bitterberg", "Tilmann Bitterberg",

View File

@ -25,7 +25,7 @@
#include "vd_internal.h" #include "vd_internal.h"
static vd_info_t info = static const vd_info_t info =
{ {
"MPEG 1/2 Video passthrough", "MPEG 1/2 Video passthrough",
"mpegpes", "mpegpes",

View File

@ -30,7 +30,7 @@
#include "vd_internal.h" #include "vd_internal.h"
static vd_info_t info = { static const vd_info_t info = {
"PNG Images decoder", "PNG Images decoder",
"mpng", "mpng",
"A'rpi", "A'rpi",

View File

@ -34,7 +34,7 @@
#include "vd_internal.h" #include "vd_internal.h"
static vd_info_t info = static const vd_info_t info =
{ {
"TGA Images decoder", "TGA Images decoder",
"mtga", "mtga",

View File

@ -24,7 +24,7 @@
#include "vd_internal.h" #include "vd_internal.h"
static vd_info_t info = static const vd_info_t info =
{ {
"Null video decoder", "Null video decoder",
"null", "null",

View File

@ -34,7 +34,7 @@
#include "loader/wine/windef.h" #include "loader/wine/windef.h"
#endif #endif
static vd_info_t info = { static const vd_info_t info = {
"Quicktime Video decoder", "Quicktime Video decoder",
"qtvideo", "qtvideo",
"A'rpi", "A'rpi",

View File

@ -24,7 +24,7 @@
#include "vd_internal.h" #include "vd_internal.h"
static vd_info_t info = { static const vd_info_t info = {
"RAW Uncompressed Video", "RAW Uncompressed Video",
"raw", "raw",
"A'rpi", "A'rpi",

View File

@ -32,7 +32,7 @@
#include "vd_internal.h" #include "vd_internal.h"
#include "loader/wine/windef.h" #include "loader/wine/windef.h"
static vd_info_t info = { static const vd_info_t info = {
"RealVideo decoder", "RealVideo decoder",
"realvid", "realvid",
"Alex Beregszaszi", "Alex Beregszaszi",

View File

@ -37,7 +37,7 @@
#define OUT_PIXEL_STRIDE 3 /* RGB */ #define OUT_PIXEL_STRIDE 3 /* RGB */
static vd_info_t info = static const vd_info_t info =
{ {
"SGI Image decoder", "SGI Image decoder",
"sgi", "sgi",

View File

@ -27,7 +27,7 @@
#include "vd_internal.h" #include "vd_internal.h"
static vd_info_t info = { static const vd_info_t info = {
"Theora/VP3", "Theora/VP3",
"theora", "theora",
"David Kuehling", "David Kuehling",

View File

@ -28,7 +28,7 @@
#include "loader/wine/driver.h" #include "loader/wine/driver.h"
#include "loader/wine/vfw.h" #include "loader/wine/vfw.h"
static vd_info_t info = { static const vd_info_t info = {
#ifdef BUILD_VFWEX #ifdef BUILD_VFWEX
"Win32/VfWex video codecs", "Win32/VfWex video codecs",
"vfwex", "vfwex",

View File

@ -34,7 +34,7 @@
#include "vd_internal.h" #include "vd_internal.h"
static vd_info_t info = { static const vd_info_t info = {
"XAnim codecs", "XAnim codecs",
"xanim", "xanim",
"A'rpi & Alex", "A'rpi & Alex",

View File

@ -378,7 +378,7 @@ static float stats2aspect(xvid_dec_stats_t *stats)
* Module structure definition * Module structure definition
****************************************************************************/ ****************************************************************************/
static vd_info_t info = static const vd_info_t info =
{ {
"XviD 1.0 decoder", "XviD 1.0 decoder",
"xvid", "xvid",

View File

@ -36,7 +36,7 @@
#include "vd_internal.h" #include "vd_internal.h"
static vd_info_t info = static const vd_info_t info =
{ {
"Zoran MJPEG Video passthrough", "Zoran MJPEG Video passthrough",
"zrmjpeg", "zrmjpeg",