[vlc-commits] Jpeg: more precise definition of int types

Wayne McDougall git at videolan.org
Sat May 7 20:44:41 CEST 2016


vlc | branch: master | Wayne McDougall <waynemcdougall at gmail.com> | Thu Apr 21 22:38:45 2016 +1200| [f0b54ded868ff678033e90242703e7edb3507c92] | committer: Jean-Baptiste Kempf

Jpeg: more precise definition of int types

Tighter definition of int types, tightening of code, improved
change to type definition for win32 compilation

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

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

diff --git a/modules/codec/jpeg.c b/modules/codec/jpeg.c
index 7eb9fee..35cd6a1 100644
--- a/modules/codec/jpeg.c
+++ b/modules/codec/jpeg.c
@@ -184,7 +184,8 @@ static int OpenDecoder(vlc_object_t *p_this)
 /*
  * The following two functions are used to return 16 and 32 bit values from
  * the EXIF tag structure. That structure is borrowed from TIFF files and may be
- * in big endian or little endian format. The endian parameter tells us which.
+ * in big endian or little endian format. The boolean b_bigEndian parameter
+ * is TRUE if the EXIF data is in big endian format, and FALSE for little endian
  * Case Little Endian EXIF tag / Little Endian machine
  *   - just memcpy the tag structure into the value to return
  * Case Little Endian EXIF tag / Big Endian machine



More information about the vlc-commits mailing list