[vlc-commits] picture: remove invalidated assertion
Rémi Denis-Courmont
git at videolan.org
Sat Jul 13 22:43:21 CEST 2013
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jul 13 23:34:53 2013 +0300| [c9f97376f9fb592499fb61b9bb719032570ab71d] | committer: Rémi Denis-Courmont
picture: remove invalidated assertion
gc.p_sys can now be NULL, if the picture has no planes.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c9f97376f9fb592499fb61b9bb719032570ab71d
---
src/misc/picture.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/misc/picture.c b/src/misc/picture.c
index 983569f..45fbe51 100644
--- a/src/misc/picture.c
+++ b/src/misc/picture.c
@@ -242,7 +242,6 @@ picture_t *picture_NewFromResource( const video_format_t *p_fmt, const picture_r
free( p_picture );
return NULL;
}
- assert( p_picture->gc.p_sys != NULL );
}
/* */
p_picture->format = fmt;
More information about the vlc-commits
mailing list