From 82e0cb360aaa87a62f731ee3dee500e98bf9d1a6 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 16 Aug 2014 00:42:11 +0200 Subject: [PATCH] avformat/thp: dont mix integers with pointers Reviewed-by: Paul B Mahol Signed-off-by: Michael Niedermayer --- libavformat/thp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/thp.c b/libavformat/thp.c index bc4f0dafe5..714cec6cd3 100644 --- a/libavformat/thp.c +++ b/libavformat/thp.c @@ -98,7 +98,7 @@ static int thp_read_header(AVFormatContext *s) for (i = 0; i < thp->compcount; i++) { if (thp->components[i] == 0) { - if (thp->vst != 0) + if (thp->vst) break; /* Video component. */