[FFmpeg-cvslog] avformat/thp: dont mix integers with pointers
Michael Niedermayer
git at videolan.org
Sat Aug 16 12:12:05 CEST 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Aug 16 00:42:11 2014 +0200| [82e0cb360aaa87a62f731ee3dee500e98bf9d1a6] | committer: Michael Niedermayer
avformat/thp: dont mix integers with pointers
Reviewed-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=82e0cb360aaa87a62f731ee3dee500e98bf9d1a6
---
libavformat/thp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/thp.c b/libavformat/thp.c
index bc4f0daf..714cec6 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. */
More information about the ffmpeg-cvslog
mailing list