ffmpeg | branch: master | Michael Niedermayer <[email protected]> | Sat Aug 16 
00:42:11 2014 +0200| [82e0cb360aaa87a62f731ee3dee500e98bf9d1a6] | committer: 
Michael Niedermayer

avformat/thp: dont mix integers with pointers

Reviewed-by: Paul B Mahol <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>

> 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.  */

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to