mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 11:55:39 +00:00
ext/mpeg2dec/gstmpeg2dec.h: Use G_GINT64_CONSTANT, fixes compilation with MSVC 6.0.
Original commit message from CVS: * ext/mpeg2dec/gstmpeg2dec.h: Use G_GINT64_CONSTANT, fixes compilation with MSVC 6.0. Fixes #500808.
This commit is contained in:
parent
dd1a0cc305
commit
639224f97f
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2007-12-03 Wim Taymans <wim.taymans@gmail.com>
|
||||
|
||||
* ext/mpeg2dec/gstmpeg2dec.h:
|
||||
Use G_GINT64_CONSTANT, fixes compilation with MSVC 6.0.
|
||||
Fixes #500808.
|
||||
|
||||
2007-11-20 Julien MOUTTE <julien@moutte.net>
|
||||
|
||||
* gst/realmedia/rtspreal.c: (rtsp_ext_real_parse_sdp): Fix build
|
||||
|
|
|
@ -38,8 +38,8 @@ G_BEGIN_DECLS
|
|||
#define GST_IS_MPEG2DEC_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_MPEG2DEC))
|
||||
|
||||
#define MPEG_TIME_TO_GST_TIME(time) ((time) == -1 ? -1 : ((time) * (GST_MSECOND/10)) / 9LL)
|
||||
#define GST_TIME_TO_MPEG_TIME(time) ((time) == -1 ? -1 : ((time) * 9LL) / (GST_MSECOND/10))
|
||||
#define MPEG_TIME_TO_GST_TIME(time) ((time) == -1 ? -1 : ((time) * (GST_MSECOND/10)) / G_GINT64_CONSTANT(9))
|
||||
#define GST_TIME_TO_MPEG_TIME(time) ((time) == -1 ? -1 : ((time) * G_GINT64_CONSTANT(9)) / (GST_MSECOND/10))
|
||||
|
||||
typedef struct _GstMpeg2dec GstMpeg2dec;
|
||||
typedef struct _GstMpeg2decClass GstMpeg2decClass;
|
||||
|
|
Loading…
Reference in a new issue