From 095f08d5992491c6790061db6a3f083da8a97a1a Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 1 Feb 2008 15:08:55 +0000 Subject: some const Originally committed as revision 11758 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/dvdata.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/dvdata.h') 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 */ -- cgit v1.2.3