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:
parent
f34f239cce
commit
92e3238508
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -26,7 +26,7 @@
|
||||
|
||||
#include "ad_internal.h"
|
||||
|
||||
static ad_info_t info =
|
||||
static const ad_info_t info =
|
||||
{
|
||||
"Win32/DirectShow decoders",
|
||||
"dshow",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -29,7 +29,7 @@
|
||||
|
||||
#include "mpbswap.h"
|
||||
|
||||
static ad_info_t info =
|
||||
static const ad_info_t info =
|
||||
{
|
||||
"FFmpeg/libavcodec audio decoders",
|
||||
"ffmpeg",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -32,7 +32,7 @@
|
||||
|
||||
#include <dts.h>
|
||||
|
||||
static ad_info_t info =
|
||||
static const ad_info_t info =
|
||||
{
|
||||
"DTS decoding with libdca",
|
||||
"libdca",
|
||||
|
@ -38,7 +38,7 @@
|
||||
|
||||
#include "ad_internal.h"
|
||||
|
||||
static ad_info_t info =
|
||||
static const ad_info_t info =
|
||||
{
|
||||
"Raw DV Audio Decoder",
|
||||
"libdv",
|
||||
|
@ -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",
|
||||
|
@ -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
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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
|
||||
|
@ -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",
|
||||
|
@ -29,7 +29,7 @@
|
||||
|
||||
#include "help_mp.h"
|
||||
|
||||
static ad_info_t info =
|
||||
static const ad_info_t info =
|
||||
{
|
||||
"TWinVQ decoder",
|
||||
"vqf",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -33,7 +33,7 @@
|
||||
|
||||
#include "vd_internal.h"
|
||||
|
||||
static vd_info_t info = {
|
||||
static const vd_info_t info = {
|
||||
"JPEG Images decoder",
|
||||
"ijpg",
|
||||
"Pontscho",
|
||||
|
@ -36,7 +36,7 @@
|
||||
|
||||
#include "vd_internal.h"
|
||||
|
||||
static vd_info_t info =
|
||||
static const vd_info_t info =
|
||||
{
|
||||
"Raw DV Video Decoder",
|
||||
"libdv",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -34,7 +34,7 @@
|
||||
|
||||
#include "vd_internal.h"
|
||||
|
||||
static vd_info_t info =
|
||||
static const vd_info_t info =
|
||||
{
|
||||
"TGA Images decoder",
|
||||
"mtga",
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
#include "vd_internal.h"
|
||||
|
||||
static vd_info_t info =
|
||||
static const vd_info_t info =
|
||||
{
|
||||
"Null video decoder",
|
||||
"null",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -27,7 +27,7 @@
|
||||
|
||||
#include "vd_internal.h"
|
||||
|
||||
static vd_info_t info = {
|
||||
static const vd_info_t info = {
|
||||
"Theora/VP3",
|
||||
"theora",
|
||||
"David Kuehling",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -36,7 +36,7 @@
|
||||
|
||||
#include "vd_internal.h"
|
||||
|
||||
static vd_info_t info =
|
||||
static const vd_info_t info =
|
||||
{
|
||||
"Zoran MJPEG Video passthrough",
|
||||
"zrmjpeg",
|
||||
|
Loading…
Reference in New Issue
Block a user