summaryrefslogtreecommitdiff
path: root/libavformat/thp.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-08-16 00:42:11 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-08-16 12:04:45 +0200
commit82e0cb360aaa87a62f731ee3dee500e98bf9d1a6 (patch)
tree5ee6e8166f8538838020943fd9587b243b5b5ed6 /libavformat/thp.c
parent65f05eff0a5d4319c7a3cd9cfbb982972b800cdc (diff)
avformat/thp: dont mix integers with pointers
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/thp.c')
-rw-r--r--libavformat/thp.c2
1 files changed, 1 insertions, 1 deletions
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. */