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/mjpeg.h | |
parent | e6e3dcba0c6f11bd7022e2d3b9bcb7b6a09d6c80 (diff) | |
download | ffmpeg-87f87ccf32055aca25fa08e29e22cca1ba9976d5.tar.gz |
mjpeg: Use a more precise type for put_marker()
Diffstat (limited to 'libavcodec/mjpeg.h')
-rw-r--r-- | libavcodec/mjpeg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mjpeg.h b/libavcodec/mjpeg.h index 8b7bf8d822..39c9c32948 100644 --- a/libavcodec/mjpeg.h +++ b/libavcodec/mjpeg.h @@ -38,7 +38,7 @@ #include "avcodec.h" /* JPEG marker codes */ -typedef enum { +enum JpegMarker { /* start of frame */ SOF0 = 0xc0, /* baseline */ SOF1 = 0xc1, /* extended sequential, huffman */ @@ -117,7 +117,7 @@ typedef enum { TEM = 0x01, /* temporary private use for arithmetic coding */ /* 0x02 -> 0xbf reserved */ -} JPEG_MARKER; +}; #define PREDICT(ret, topleft, top, left, predictor)\ switch(predictor){\ |