Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
b52bd2a4
Commit
b52bd2a4
authored
Mar 04, 2012
by
Reimar Döffinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DV demuxer: Stricter check for avio_read result.
Signed-off-by:
Reimar Döffinger
<
Reimar.Doeffinger@gmx.de
>
parent
f7b57add
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dv.c
libavformat/dv.c
+1
-1
No files found.
libavformat/dv.c
View file @
b52bd2a4
...
...
@@ -495,7 +495,7 @@ static int dv_read_header(AVFormatContext *s)
}
AV_WB32
(
c
->
buf
,
state
);
if
(
avio_read
(
s
->
pb
,
c
->
buf
+
4
,
DV_PROFILE_BYTES
-
4
)
<=
0
||
if
(
avio_read
(
s
->
pb
,
c
->
buf
+
4
,
DV_PROFILE_BYTES
-
4
)
!=
DV_PROFILE_BYTES
-
4
||
avio_seek
(
s
->
pb
,
-
DV_PROFILE_BYTES
,
SEEK_CUR
)
<
0
)
return
AVERROR
(
EIO
);
...
...
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