Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gst-plugins-good
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
George Kiagiadakis
gst-plugins-good
Commits
ea4e9fc2
Commit
ea4e9fc2
authored
Mar 27, 2017
by
Sebastian Dröge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
atomsrecovery: Error out when fseek() fails instead of silently ignoring
CID 1403262
parent
79d9cd44
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
gst/isomp4/atomsrecovery.c
gst/isomp4/atomsrecovery.c
+5
-2
No files found.
gst/isomp4/atomsrecovery.c
View file @
ea4e9fc2
...
@@ -673,8 +673,11 @@ moov_recov_parse_trak (MoovRecovFile * moovrf, TrakRecovData * trakrd)
...
@@ -673,8 +673,11 @@ moov_recov_parse_trak (MoovRecovFile * moovrf, TrakRecovData * trakrd)
if
(
!
moov_recov_parse_mdia
(
moovrf
,
trakrd
))
if
(
!
moov_recov_parse_mdia
(
moovrf
,
trakrd
))
return
FALSE
;
return
FALSE
;
fseek
(
moovrf
->
file
,
(
long
int
)
trakrd
->
mdia_file_offset
+
trakrd
->
mdia_size
,
if
(
fseek
(
moovrf
->
file
,
SEEK_SET
);
(
long
int
)
trakrd
->
mdia_file_offset
+
trakrd
->
mdia_size
,
SEEK_SET
)
!=
0
)
return
FALSE
;
trakrd
->
extra_atoms_offset
=
ftell
(
moovrf
->
file
);
trakrd
->
extra_atoms_offset
=
ftell
(
moovrf
->
file
);
trakrd
->
extra_atoms_size
=
size
-
(
trakrd
->
extra_atoms_offset
-
offset
);
trakrd
->
extra_atoms_size
=
size
-
(
trakrd
->
extra_atoms_offset
-
offset
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment