]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/dvdata.h
cosmetics: typo
[ffmpeg] / libavcodec / dvdata.h
index 05f7bcd8ea039f80b10c860734a6fd6bae69d76f..7d8f19df838618744df6e75380bbd71d759d2dea 100644 (file)
@@ -27,8 +27,8 @@
 #ifndef FFMPEG_DVDATA_H
 #define FFMPEG_DVDATA_H
 
+#include "libavutil/rational.h"
 #include "avcodec.h"
-#include "rational.h"
 
 /*
  * DVprofile is used to express the differences between various
@@ -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 */