diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-08-16 00:42:11 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-08-16 12:04:45 +0200 |
commit | 82e0cb360aaa87a62f731ee3dee500e98bf9d1a6 (patch) | |
tree | 5ee6e8166f8538838020943fd9587b243b5b5ed6 | |
parent | 65f05eff0a5d4319c7a3cd9cfbb982972b800cdc (diff) | |
download | ffmpeg-82e0cb360aaa87a62f731ee3dee500e98bf9d1a6.tar.gz |
avformat/thp: dont mix integers with pointers
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/thp.c | 2 |
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. */ |