summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/img_format.h
diff options
context:
space:
mode:
authorreynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-16 01:20:30 +0000
committerreynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-16 01:20:30 +0000
commitd427579f79d6b22ce8b65bac27651be03621d23f (patch)
tree82e51e054655f799105ea429ae90c8c92d6f4fe1 /libmpcodecs/img_format.h
parent36e5e1a3fbdca811942796a2487aada40aa35bd9 (diff)
downloadmpv-d427579f79d6b22ce8b65bac27651be03621d23f.tar.bz2
mpv-d427579f79d6b22ce8b65bac27651be03621d23f.tar.xz
marks several read-only string parameters and function return-values which can only be used read-only as const. Patch by Stefan Huehner, stefan _AT huener-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19113 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/img_format.h')
-rw-r--r--libmpcodecs/img_format.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpcodecs/img_format.h b/libmpcodecs/img_format.h
index 6d4374b501..d40aa0259e 100644
--- a/libmpcodecs/img_format.h
+++ b/libmpcodecs/img_format.h
@@ -114,6 +114,6 @@ typedef struct {
int timestamp; // pts, 90000 Hz counter based
} vo_mpegpes_t;
-char *vo_format_name(int format);
+const char *vo_format_name(int format);
#endif