address-pool: fix address increment
authorWim Taymans <wim.taymans@gmail.com>
Tue, 12 Nov 2013 15:52:35 +0000 (16:52 +0100)
committerWim Taymans <wim.taymans@gmail.com>
Tue, 12 Nov 2013 15:54:59 +0000 (16:54 +0100)
commitb2bc84cdbf7d08c5cb94da435637bc1c7188c918
treee3b67e43045b101f192887bce39f61f1a278b100
parentadc02db975d8bf615dda3e33efcb0feb490f5e83
address-pool: fix address increment

Use a guint instead of guint8 to increment the address. It's still not
completely correct because a guint might not be able to hold the complete
address range, but that's an enhacement for later.
Add unit test to test improved behaviour.

https://bugzilla.gnome.org/show_bug.cgi?id=708237
gst/rtsp-server/rtsp-address-pool.c
tests/check/gst/addresspool.c