[vlc-commits] Revert "access: vdr: fix null dereference (cid #1346943)"
Rémi Denis-Courmont
git at videolan.org
Sat Jan 2 19:55:31 CET 2016
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jan 2 20:47:06 2016 +0200| [2b8674932b6707a6f7477253511298e22da5b015] | committer: Rémi Denis-Courmont
Revert "access: vdr: fix null dereference (cid #1346943)"
This reverts commit 3a22750ee684c732e8739123c167d4d5b84438fd.
This made no sense; the predicate is always true.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2b8674932b6707a6f7477253511298e22da5b015
---
modules/access/vdr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/access/vdr.c b/modules/access/vdr.c
index 41bb42b..d2d840e 100644
--- a/modules/access/vdr.c
+++ b/modules/access/vdr.c
@@ -874,7 +874,7 @@ static void ImportMarks( access_t *p_access )
}
/* add a chapter at the beginning if missing */
- if( p_marks->i_seekpoint > 0 && offsetv && offsetv[0] > 0 )
+ if( p_marks->i_seekpoint > 0 && offsetv[0] > 0 )
{
seekpoint_t *sp = vlc_seekpoint_New();
if( sp )
More information about the vlc-commits
mailing list