summaryrefslogtreecommitdiff
path: root/contrib/ffmpeg/libavcodec/rtjpeg.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ffmpeg/libavcodec/rtjpeg.h')
-rw-r--r--contrib/ffmpeg/libavcodec/rtjpeg.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/contrib/ffmpeg/libavcodec/rtjpeg.h b/contrib/ffmpeg/libavcodec/rtjpeg.h
index daecc8a75..0c23eced5 100644
--- a/contrib/ffmpeg/libavcodec/rtjpeg.h
+++ b/contrib/ffmpeg/libavcodec/rtjpeg.h
@@ -19,8 +19,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RTJPEG_H
-#define RTJPEG_H
+#ifndef FFMPEG_RTJPEG_H
+#define FFMPEG_RTJPEG_H
+
+#include <stdint.h>
+#include <dsputil.h>
typedef struct {
int w, h;
@@ -32,8 +35,8 @@ typedef struct {
void rtjpeg_decode_init(RTJpegContext *c, DSPContext *dsp,
int width, int height,
- uint32_t *lquant, uint32_t *cquant);
+ const uint32_t *lquant, const uint32_t *cquant);
int rtjpeg_decode_frame_yuv420(RTJpegContext *c, AVFrame *f,
- uint8_t *buf, int buf_size);
-#endif
+ const uint8_t *buf, int buf_size);
+#endif /* FFMPEG_RTJPEG_H */