summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
Diffstat (limited to 'gst')
-rw-r--r--gst/rtp/gstrtp.c4
-rw-r--r--gst/rtp/gstrtph264depay.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gst/rtp/gstrtp.c b/gst/rtp/gstrtp.c
index e7949b8e..5830d266 100644
--- a/gst/rtp/gstrtp.c
+++ b/gst/rtp/gstrtp.c
@@ -21,6 +21,7 @@
#include "config.h"
#endif
+#include "gstrtpasfdepay.h"
#include "gstrtpdepay.h"
#include "gstrtppcmupay.h"
#include "gstrtppcmapay.h"
@@ -49,6 +50,9 @@
static gboolean
plugin_init (GstPlugin * plugin)
{
+ if (!gst_rtp_asf_depay_plugin_init (plugin))
+ return FALSE;
+
if (!gst_rtp_depay_plugin_init (plugin))
return FALSE;
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);