avformat/thp: dont mix integers with pointers

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/82/head
Michael Niedermayer 11 years ago
parent 65f05eff0a
commit 82e0cb360a
  1. 2
      libavformat/thp.c

@ -98,7 +98,7 @@ static int thp_read_header(AVFormatContext *s)
for (i = 0; i < thp->compcount; i++) { for (i = 0; i < thp->compcount; i++) {
if (thp->components[i] == 0) { if (thp->components[i] == 0) {
if (thp->vst != 0) if (thp->vst)
break; break;
/* Video component. */ /* Video component. */

Loading…
Cancel
Save