[vlc-commits] hqdn3d: add unlikely
    Ilkka Ollakka 
    git at videolan.org
       
    Tue Jul 15 15:09:30 CEST 2014
    
    
  
vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Tue Mar 11 21:40:31 2014 +0200| [b459c1717bcc3a71ca7fca4a75425f6b3b946e70] | committer: Ilkka Ollakka
hqdn3d: add unlikely
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b459c1717bcc3a71ca7fca4a75425f6b3b946e70
---
 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 44f9340..64ea5e4 100644
--- a/modules/video_filter/hqdn3d.c
+++ b/modules/video_filter/hqdn3d.c
@@ -201,7 +201,7 @@ static picture_t *Filter(filter_t *filter, picture_t *src)
     if (!src) return NULL;
 
     dst = filter_NewPicture(filter);
-    if (!dst) {
+    if ( unlikely(!dst) ) {
         picture_Release(src);
         return NULL;
     }
    
    
More information about the vlc-commits
mailing list