Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
20da4135
Commit
20da4135
authored
May 02, 2017
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf/nutdec: Fix an impossible condition, regression since
e0c53c34
.
Fixes ticket #6362.
parent
0a6ca7aa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
nutdec.c
libavformat/nutdec.c
+1
-1
No files found.
libavformat/nutdec.c
View file @
20da4135
...
@@ -202,7 +202,7 @@ static int decode_main_header(NUTContext *nut)
...
@@ -202,7 +202,7 @@ static int decode_main_header(NUTContext *nut)
end
+=
avio_tell
(
bc
);
end
+=
avio_tell
(
bc
);
nut
->
version
=
ffio_read_varlen
(
bc
);
nut
->
version
=
ffio_read_varlen
(
bc
);
if
(
nut
->
version
<
NUT_MIN_VERSION
&&
if
(
nut
->
version
<
NUT_MIN_VERSION
||
nut
->
version
>
NUT_MAX_VERSION
)
{
nut
->
version
>
NUT_MAX_VERSION
)
{
av_log
(
s
,
AV_LOG_ERROR
,
"Version %d not supported.
\n
"
,
av_log
(
s
,
AV_LOG_ERROR
,
"Version %d not supported.
\n
"
,
nut
->
version
);
nut
->
version
);
...
...
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