[vlc-commits] hqdn3d: fix sizeof mismatch
    Rémi Duraffort 
    git at videolan.org
       
    Sun Dec 15 22:03:31 CET 2013
    
    
  
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sat Dec 14 10:55:57 2013 +0100| [29bf30ec1ea285ea231572fd4c940432e06d6b36] | committer: Rémi Duraffort
hqdn3d: fix sizeof mismatch
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=29bf30ec1ea285ea231572fd4c940432e06d6b36
---
 modules/video_filter/hqdn3d.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/video_filter/hqdn3d.c b/modules/video_filter/hqdn3d.c
index f65dbd2..44f9340 100644
--- a/modules/video_filter/hqdn3d.c
+++ b/modules/video_filter/hqdn3d.c
@@ -137,7 +137,7 @@ static int Open(vlc_object_t *this)
         if (sys->w[i] > wmax) wmax = sys->w[i];
         sys->h[i] = fmt_out->i_height * chroma->p[i].h.num / chroma->p[i].h.den;
     }
-    cfg->Line = malloc(wmax*sizeof(int));
+    cfg->Line = malloc(wmax*sizeof(unsigned int));
     if (!cfg->Line) {
         free(sys);
         return VLC_ENOMEM;
    
    
More information about the vlc-commits
mailing list