isomp4: catch fseek error

Coverity 206028
This commit is contained in:
Vincent Penquerc'h 2014-04-16 16:28:49 +01:00
parent 88eccee88c
commit b344b29ff2

View file

@ -481,7 +481,8 @@ moov_recov_parse_tkhd (MoovRecovFile * moovrf, TrakRecovData * trakrd)
return FALSE;
/* advance the rest of tkhd */
fseek (moovrf->file, 68, SEEK_CUR);
if (fseek (moovrf->file, 68, SEEK_CUR) != 0)
return FALSE;
trakrd->trak_id = GST_READ_UINT32_BE (data);
return TRUE;