summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/ad_hwac3.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_hwac3.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_hwac3.c')
-rw-r--r--libmpcodecs/ad_hwac3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpcodecs/ad_hwac3.c b/libmpcodecs/ad_hwac3.c
index 34850f2a6a..a1e6dd66eb 100644
--- a/libmpcodecs/ad_hwac3.c
+++ b/libmpcodecs/ad_hwac3.c
@@ -24,7 +24,7 @@
static int isdts = -1;
-static ad_info_t info =
+static const ad_info_t info =
{
"AC3/DTS pass-through S/PDIF",
"hwac3",