From e4467618f4362386373648279e2850882eaffd8e Mon Sep 17 00:00:00 2001 From: Luis de Bethencourt Date: Mon, 8 Feb 2016 14:26:46 +0000 Subject: [PATCH] Revert "resindvd: get rid of _stdint.h include" This reverts commit 0eff6e1991cb24cb65f07c481742782acaa8ec62. Breaks the build when linking with dvdnav.h --- ext/resindvd/resindvdsrc.c | 10 +++++----- ext/resindvd/resindvdsrc.h | 2 ++ 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/ext/resindvd/resindvdsrc.c b/ext/resindvd/resindvdsrc.c index 7aafe53a92..505302b8ce 100644 --- a/ext/resindvd/resindvdsrc.c +++ b/ext/resindvd/resindvdsrc.c @@ -1923,7 +1923,7 @@ rsn_dvdsrc_prepare_streamsinfo_event (resinDvdSrc * src) audio_attr_t *a_attrs; subp_attr_t *s_attrs; gint n_audio, n_subp; - gint8 cur_audio; + int8_t cur_audio; GstStructure *s; GstEvent *e; gint i; @@ -2264,7 +2264,7 @@ rsn_dvdsrc_enqueue_nav_block (resinDvdSrc * src, GstBuffer * nav_buf, static void rsn_dvdsrc_activate_nav_block (resinDvdSrc * src, GstBuffer * nav_buf) { - gint32 forced_button; + int32_t forced_button; { GstMapInfo mmap; @@ -2461,7 +2461,7 @@ rsn_dvdsrc_post_title_info (GstElement * element) resinDvdSrc *src = RESINDVDSRC (element); GstMessage *message; GstStructure *s; - gint32 n, ntitles; + int32_t n, ntitles; int res; GValue array = { 0 }; @@ -2477,8 +2477,8 @@ rsn_dvdsrc_post_title_info (GstElement * element) G_TYPE_STRING, "dvd-title-info", NULL); for (n = 0; n < ntitles; ++n) { - guint64 *times, duration; - guint32 nchapters; + uint64_t *times, duration; + uint32_t nchapters; GValue item = { 0 }; g_value_init (&item, G_TYPE_UINT64); diff --git a/ext/resindvd/resindvdsrc.h b/ext/resindvd/resindvdsrc.h index b9a06fb074..cc2bb049a7 100644 --- a/ext/resindvd/resindvdsrc.h +++ b/ext/resindvd/resindvdsrc.h @@ -23,6 +23,8 @@ #include +#include "_stdint.h" + #include #include #include