summaryrefslogtreecommitdiff
path: root/libavcodec/dvdata.h
diff options
context:
space:
mode:
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 */