[FFmpeg-cvslog] avcodec/loco: use enum for mode variable

Michael Niedermayer git at videolan.org
Wed Dec 31 15:43:06 CET 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Dec 31 15:10:25 2014 +0100| [131a18582682d67ca3d05500ead4cc332d4043b6] | committer: Michael Niedermayer

avcodec/loco: use enum for mode variable

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=131a18582682d67ca3d05500ead4cc332d4043b6
---

 libavcodec/loco.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/loco.c b/libavcodec/loco.c
index 88c66d9..9b73598 100644
--- a/libavcodec/loco.c
+++ b/libavcodec/loco.c
@@ -46,7 +46,7 @@ enum LOCO_MODE {
 typedef struct LOCOContext {
     AVCodecContext *avctx;
     int lossy;
-    int mode;
+    enum LOCO_MODE mode;
 } LOCOContext;
 
 typedef struct RICEContext {



More information about the ffmpeg-cvslog mailing list