summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/ad_sample.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-26 16:48:06 +0300
committerUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-26 16:51:17 +0300
commit170d69a71ecd679d0b5c7f4b6aad008d9dfc0bdf (patch)
tree0906e3dd54e8fdb0a270468d31ca25fd7f80145b /libmpcodecs/ad_sample.c
parentdef7ed045daee1b1342669a35a1e543b8720895d (diff)
downloadmpv-170d69a71ecd679d0b5c7f4b6aad008d9dfc0bdf.tar.bz2
mpv-170d69a71ecd679d0b5c7f4b6aad008d9dfc0bdf.tar.xz
Make audio decoder description structs const
Make the per-decoder struct ad_functions and its ->info struct constants. Same for the mpcodecs_ad_drivers[] table of pointers to those structs.
Diffstat (limited to 'libmpcodecs/ad_sample.c')
-rw-r--r--libmpcodecs/ad_sample.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpcodecs/ad_sample.c b/libmpcodecs/ad_sample.c
index 848152c68e..69d1440987 100644
--- a/libmpcodecs/ad_sample.c
+++ b/libmpcodecs/ad_sample.c
@@ -7,7 +7,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