diff --git a/modules/access/rtp/h264.c b/modules/access/rtp/h264.c
index 272a92f93493135deee272073cd5a9955881d819..9004c7ffdc33761cb44194a737e25d0cfab92ad9 100644
--- a/modules/access/rtp/h264.c
+++ b/modules/access/rtp/h264.c
@@ -377,6 +377,7 @@ static int rtp_h264_open(vlc_object_t *obj, struct vlc_rtp_pt *pt,
     else
         return VLC_ENOTSUP;
 
+    pt->opaque = NULL;
     if(desc->parameters)
     {
         psz = strstr(desc->parameters, "sprop-parameter-sets=");