aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mjpeg.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-03-31 00:47:40 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-03-31 00:48:04 +0200
commit48183f144d1d6f7af8e8526a2e020a6a88ad38c0 (patch)
treebdf395dc9de6ef32a268cbb0b878475374a5d93f /libavcodec/mjpeg.h
parent21ee6da70c4e5a56ea74aec0f8d21465a873b874 (diff)
parent87f87ccf32055aca25fa08e29e22cca1ba9976d5 (diff)
downloadffmpeg-48183f144d1d6f7af8e8526a2e020a6a88ad38c0.tar.gz
Merge commit '87f87ccf32055aca25fa08e29e22cca1ba9976d5'
* commit '87f87ccf32055aca25fa08e29e22cca1ba9976d5': mjpeg: Use a more precise type for put_marker() Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mjpeg.h')
-rw-r--r--libavcodec/mjpeg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mjpeg.h b/libavcodec/mjpeg.h
index 0e62b2aeff..869aebb135 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){\