mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
isomp4: catch fseek error
Coverity 206028
This commit is contained in:
parent
88eccee88c
commit
b344b29ff2
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue