diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-03-06 14:28:15 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-03-06 14:28:15 +0100 |
commit | 6e9a53422338d97093843d93464b579970ba3204 (patch) | |
tree | baa4e900a91709400ee5325a6f38836445b5c4ac | |
parent | 4a4d652dd47c1d9082a042cd7de7603ac8bf17a5 (diff) |
dvdreadsrc: Use variable type with correct signedness
-rw-r--r-- | ext/dvdread/dvdreadsrc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dvdread/dvdreadsrc.c b/ext/dvdread/dvdreadsrc.c index 9877f072..d0ebcaf4 100644 --- a/ext/dvdread/dvdreadsrc.c +++ b/ext/dvdread/dvdreadsrc.c @@ -536,7 +536,7 @@ gst_dvd_read_src_goto_title (GstDvdReadSrc * src, gint title, gint angle) sid = i; if (pgc0 != NULL) { - if (v->display_aspect_ratio == 0) /* 4:3 */ + if (v->display_aspect_ratio == 0) /* 4:3 */ sid = (pgc0->subp_control[i] >> 24) & 0x1f; else if (v->display_aspect_ratio == 3) /* 16:9 */ sid = (pgc0->subp_control[i] >> 8) & 0x1f; @@ -1073,7 +1073,7 @@ gst_dvd_read_src_get_size (GstDvdReadSrc * src, gint64 * size) gboolean ret = FALSE; if (src->dvd_title) { - gsize blocks; + gssize blocks; blocks = DVDFileSize (src->dvd_title); if (blocks >= 0) { |