Mercurial > mplayer.hg
changeset 32033:c42345605c7a
Mark video encoder vf_info_t structs as const.
author | diego |
---|---|
date | Thu, 09 Sep 2010 16:38:11 +0000 |
parents | 52b0385d2d7a |
children | ccf4905a8ca6 |
files | libmpcodecs/ve.c libmpcodecs/ve_lavc.c libmpcodecs/ve_libdv.c libmpcodecs/ve_nuv.c libmpcodecs/ve_qtvideo.c libmpcodecs/ve_raw.c libmpcodecs/ve_vfw.c libmpcodecs/ve_x264.c libmpcodecs/ve_xvid4.c |
diffstat | 9 files changed, 16 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/ve.c Thu Sep 09 16:17:27 2010 +0000 +++ b/libmpcodecs/ve.c Thu Sep 09 16:38:11 2010 +0000 @@ -27,14 +27,14 @@ #include "mp_image.h" #include "vf.h" -extern vf_info_t ve_info_lavc; -extern vf_info_t ve_info_vfw; -extern vf_info_t ve_info_raw; -extern vf_info_t ve_info_libdv; -extern vf_info_t ve_info_xvid; -extern vf_info_t ve_info_qtvideo; -extern vf_info_t ve_info_nuv; -extern vf_info_t ve_info_x264; +extern const vf_info_t ve_info_lavc; +extern const vf_info_t ve_info_vfw; +extern const vf_info_t ve_info_raw; +extern const vf_info_t ve_info_libdv; +extern const vf_info_t ve_info_xvid; +extern const vf_info_t ve_info_qtvideo; +extern const vf_info_t ve_info_nuv; +extern const vf_info_t ve_info_x264; /* Please do not add any new encoders here. If you want to implement a new * encoder, add it to libavcodec, except for wrappers around external
--- a/libmpcodecs/ve_lavc.c Thu Sep 09 16:17:27 2010 +0000 +++ b/libmpcodecs/ve_lavc.c Thu Sep 09 16:38:11 2010 +0000 @@ -1049,7 +1049,7 @@ return 1; } -vf_info_t ve_info_lavc = { +const vf_info_t ve_info_lavc = { "libavcodec encoder", "lavc", "A'rpi, Alex, Michael",
--- a/libmpcodecs/ve_libdv.c Thu Sep 09 16:17:27 2010 +0000 +++ b/libmpcodecs/ve_libdv.c Thu Sep 09 16:38:11 2010 +0000 @@ -124,7 +124,7 @@ return 1; } -vf_info_t ve_info_libdv = { +const vf_info_t ve_info_libdv = { "DV encoder using libdv", "libdv", "A'rpi",
--- a/libmpcodecs/ve_nuv.c Thu Sep 09 16:17:27 2010 +0000 +++ b/libmpcodecs/ve_nuv.c Thu Sep 09 16:38:11 2010 +0000 @@ -244,7 +244,7 @@ return 1; } -vf_info_t ve_info_nuv = { +const vf_info_t ve_info_nuv = { "nuv encoder", "nuv", "Albeu",
--- a/libmpcodecs/ve_qtvideo.c Thu Sep 09 16:17:27 2010 +0000 +++ b/libmpcodecs/ve_qtvideo.c Thu Sep 09 16:38:11 2010 +0000 @@ -348,7 +348,7 @@ return 1; } -vf_info_t ve_info_qtvideo = { +const vf_info_t ve_info_qtvideo = { "Quicktime video encoder using win32 DLLs", "qtvideo", "Sascha Sommer",
--- a/libmpcodecs/ve_raw.c Thu Sep 09 16:17:27 2010 +0000 +++ b/libmpcodecs/ve_raw.c Thu Sep 09 16:38:11 2010 +0000 @@ -167,7 +167,7 @@ return 1; } -vf_info_t ve_info_raw = { +const vf_info_t ve_info_raw = { "raw encoder", "raw", "jwe21@cam.ac.uk",
--- a/libmpcodecs/ve_vfw.c Thu Sep 09 16:17:27 2010 +0000 +++ b/libmpcodecs/ve_vfw.c Thu Sep 09 16:38:11 2010 +0000 @@ -367,7 +367,7 @@ return 1; } -vf_info_t ve_info_vfw = { +const vf_info_t ve_info_vfw = { "Win32/VfW encoders", "vfw", "A'rpi",
--- a/libmpcodecs/ve_x264.c Thu Sep 09 16:17:27 2010 +0000 +++ b/libmpcodecs/ve_x264.c Thu Sep 09 16:38:11 2010 +0000 @@ -304,7 +304,7 @@ return 1; } -vf_info_t ve_info_x264 = { +const vf_info_t ve_info_x264 = { "H.264 encoder", "x264", "Bernhard Rosenkraenzer <bero@arklinux.org>",
--- a/libmpcodecs/ve_xvid4.c Thu Sep 09 16:17:27 2010 +0000 +++ b/libmpcodecs/ve_xvid4.c Thu Sep 09 16:38:11 2010 +0000 @@ -1518,7 +1518,7 @@ * Module structure definition ****************************************************************************/ -vf_info_t ve_info_xvid = { +const vf_info_t ve_info_xvid = { "XviD 1.0 encoder", "xvid", "Marco Belli <elcabesa@inwind.it>, Edouard Gomez <ed.gomez@free.fr>",