summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/ad_pcm.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_pcm.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_pcm.c')
-rw-r--r--libmpcodecs/ad_pcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpcodecs/ad_pcm.c b/libmpcodecs/ad_pcm.c
index 1717cdd75d..1c2ef53813 100644
--- a/libmpcodecs/ad_pcm.c
+++ b/libmpcodecs/ad_pcm.c
@@ -7,7 +7,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",