summaryrefslogtreecommitdiff
path: root/libavcodec/dvdata.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-02-01 15:08:55 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-02-01 15:08:55 +0000
commit095f08d5992491c6790061db6a3f083da8a97a1a (patch)
treec7ed11364654b3045b1c349d3e069d442759321a /libavcodec/dvdata.h
parent4bae195ff530b2af61179a34b004c1ac4119cff1 (diff)
downloadffmpeg-095f08d5992491c6790061db6a3f083da8a97a1a.tar.gz
some const
Originally committed as revision 11758 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dvdata.h')
-rw-r--r--libavcodec/dvdata.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dvdata.h b/libavcodec/dvdata.h
index 05f7bcd8ea..50ea537ef5 100644
--- a/libavcodec/dvdata.h
+++ b/libavcodec/dvdata.h
@@ -2661,7 +2661,7 @@ enum dv_pack_type {
/* largest possible DV frame, in bytes (PAL 50Mbps) */
#define DV_MAX_FRAME_SIZE 288000
-static inline const DVprofile* dv_frame_profile(uint8_t* frame)
+static inline const DVprofile* dv_frame_profile(const uint8_t* frame)
{
if ((frame[3] & 0x80) == 0) { /* DSF flag */
/* it's an NTSC format */