[vlc-commits] jpeg: fix compilation for win32

Jean-Baptiste Kempf git at videolan.org
Wed Apr 20 13:29:19 CEST 2016


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Apr 20 13:29:11 2016 +0200| [5743000cfd1f0738926aea003d673faf04390b3f] | committer: Jean-Baptiste Kempf

jpeg: fix compilation for win32

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5743000cfd1f0738926aea003d673faf04390b3f
---

 modules/codec/jpeg.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/codec/jpeg.c b/modules/codec/jpeg.c
index 981d077..ca75b27 100644
--- a/modules/codec/jpeg.c
+++ b/modules/codec/jpeg.c
@@ -203,6 +203,9 @@ static int OpenDecoder(vlc_object_t *p_this)
 #define G_LITTLE_ENDIAN     1234
 #define G_BIG_ENDIAN        4321
 
+typedef unsigned int uint;
+typedef unsigned short ushort;
+
 LOCAL( unsigned short )
 de_get16( void * ptr, uint endian ) {
     unsigned short val;



More information about the vlc-commits mailing list