1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-11 08:37:59 +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 "osdep/timer.h"
static ad_info_t info =
static const ad_info_t info =
{
"Win32/ACM decoders",
"acm",

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

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

View File

@ -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",

View File

@ -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",

View File

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

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

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

View File

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

View File

@ -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",

View File

@ -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

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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

View File

@ -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",

View File

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

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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@hotmail.com>, A'rpi, Alex Beregszaszi",

View File

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

View File

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

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

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

View File

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

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

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

View File

@ -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",

View File

@ -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",

View File

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

View File

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