summaryrefslogtreecommitdiffstats
path: root/gst/rtp/gstrtph264depay.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2006-09-20 16:09:03 +0000
committerWim Taymans <wim.taymans@gmail.com>2006-09-20 16:09:03 +0000
commit93c0a73ce0e1bf9add82206f97b605648fd17afb (patch)
tree279b7edd47e08879f14af1c855b8b5ab3e38d853 /gst/rtp/gstrtph264depay.c
parenta365a29c77d2ca41fcd3e15f22d24e7fe8f05e02 (diff)
gst/rtp/: Added preliminary ASF depayloader.
Original commit message from CVS: * gst/rtp/gstrtp.c: (plugin_init): * gst/rtp/gstrtpasfdepay.c: (gst_rtp_asf_depay_base_init), (gst_rtp_asf_depay_class_init), (gst_rtp_asf_depay_init), (decode_base64), (gst_rtp_asf_depay_setcaps), (gst_rtp_asf_depay_process), (gst_rtp_asf_depay_set_property), (gst_rtp_asf_depay_get_property), (gst_rtp_asf_depay_change_state), (gst_rtp_asf_depay_plugin_init): * gst/rtp/gstrtpasfdepay.h: Added preliminary ASF depayloader. * gst/rtp/gstrtph264depay.c: (decode_base64): Fix base64 decoding.
Diffstat (limited to 'gst/rtp/gstrtph264depay.c')
-rw-r--r--gst/rtp/gstrtph264depay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/rtp/gstrtph264depay.c b/gst/rtp/gstrtph264depay.c
index acb79435..8028a014 100644
--- a/gst/rtp/gstrtph264depay.c
+++ b/gst/rtp/gstrtph264depay.c
@@ -179,7 +179,7 @@ decode_base64 (gchar * in, guint8 * out)
guint len = 0;
v1 = a2bin[(gint) * in];
- while (v1 < 63) {
+ while (v1 <= 63) {
/* read 4 bytes, write 3 bytes, invalid base64 are zeroes */
v2 = a2bin[(gint) * ++in];
*out++ = (v1 << 2) | ((v2 & 0x3f) >> 4);