#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
/* 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 */