[vlc-commits] Smooth: remove tautology
Rémi Denis-Courmont
git at videolan.org
Wed Apr 23 18:58:00 CEST 2014
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Apr 23 19:57:47 2014 +0300| [cd640ff42266d72634478ad1ec251ea037ee5c88] | committer: Rémi Denis-Courmont
Smooth: remove tautology
sms cannot be NULL here.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cd640ff42266d72634478ad1ec251ea037ee5c88
---
modules/stream_filter/smooth/smooth.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/stream_filter/smooth/smooth.c b/modules/stream_filter/smooth/smooth.c
index d4c73e0..0199035 100644
--- a/modules/stream_filter/smooth/smooth.c
+++ b/modules/stream_filter/smooth/smooth.c
@@ -214,7 +214,7 @@ static int parse_Manifest( stream_t *s )
sms->url_template = strdup(value);
}
- if( sms && !sms->timescale )
+ if( !sms->timescale )
sms->timescale = TIMESCALE;
if( !sms->name )
{
More information about the vlc-commits
mailing list