[vlc-commits] deinterlace: picture_Hold() cannot fail
Rémi Denis-Courmont
git at videolan.org
Mon Feb 6 18:38:11 CET 2017
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Feb 6 19:37:56 2017 +0200| [d15db93a1a9393c8bc01bb5aa4810fe1e0694056] | committer: Rémi Denis-Courmont
deinterlace: picture_Hold() cannot fail
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d15db93a1a9393c8bc01bb5aa4810fe1e0694056
---
modules/video_filter/deinterlace/deinterlace.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/modules/video_filter/deinterlace/deinterlace.c b/modules/video_filter/deinterlace/deinterlace.c
index 8f7d575..5e56eb8 100644
--- a/modules/video_filter/deinterlace/deinterlace.c
+++ b/modules/video_filter/deinterlace/deinterlace.c
@@ -301,8 +301,6 @@ picture_t *Deinterlace( filter_t *p_filter, picture_t *p_pic )
{
/* Keep reference for the picture */
picture_t *p_dup = picture_Hold( p_pic );
- if( unlikely( p_dup == NULL ) )
- return NULL;
/* Slide the history */
if( p_sys->pp_history[0] )
More information about the vlc-commits
mailing list