You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avformat/thp: dont mix integers with pointers
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -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. */
|
||||
|
Reference in New Issue
Block a user