diff options
author | Diego Biurrun <diego@biurrun.de> | 2015-03-29 13:24:18 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2015-03-30 17:51:20 +0200 |
commit | 87f87ccf32055aca25fa08e29e22cca1ba9976d5 (patch) | |
tree | c49682d83d30d1073410ed1c2d80064e6b443458 /libavcodec/mjpegenc.h | |
parent | e6e3dcba0c6f11bd7022e2d3b9bcb7b6a09d6c80 (diff) | |
download | ffmpeg-87f87ccf32055aca25fa08e29e22cca1ba9976d5.tar.gz |
mjpeg: Use a more precise type for put_marker()
Diffstat (limited to 'libavcodec/mjpegenc.h')
-rw-r--r-- | libavcodec/mjpegenc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/mjpegenc.h b/libavcodec/mjpegenc.h index eec4d2554d..aa8697edc8 100644 --- a/libavcodec/mjpegenc.h +++ b/libavcodec/mjpegenc.h @@ -35,6 +35,7 @@ #include <stdint.h> +#include "mjpeg.h" #include "mpegvideo.h" #include "put_bits.h" @@ -50,7 +51,7 @@ typedef struct MJpegContext { uint16_t huff_code_ac_chrominance[256]; } MJpegContext; -static inline void put_marker(PutBitContext *p, int code) +static inline void put_marker(PutBitContext *p, enum JpegMarker code) { put_bits(p, 8, 0xff); put_bits(p, 8, code); |