[FFmpeg-devel] [PATCH 4/7] avformat/thp: dont mix integers with pointers
Michael Niedermayer
michaelni at gmx.at
Sat Aug 16 01:15:45 CEST 2014
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
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. */
--
1.7.9.5
More information about the ffmpeg-devel
mailing list