Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
204a72d7
Commit
204a72d7
authored
Jun 28, 2022
by
Andreas Rheinhardt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/bintext: Remove set-but-unused variable
Signed-off-by:
Andreas Rheinhardt
<
andreas.rheinhardt@outlook.com
>
parent
ae90897b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
bintext.c
libavformat/bintext.c
+0
-8
No files found.
libavformat/bintext.c
View file @
204a72d7
...
...
@@ -132,8 +132,6 @@ static int bin_probe(const AVProbeData *p)
{
const
uint8_t
*
d
=
p
->
buf
;
int
magic
=
0
,
sauce
=
0
;
int
invisible
=
0
;
int
i
;
if
(
p
->
buf_size
>
256
)
magic
=
!
memcmp
(
d
+
p
->
buf_size
-
256
,
next_magic
,
sizeof
(
next_magic
));
...
...
@@ -157,12 +155,6 @@ static int bin_probe(const AVProbeData *p)
if
(
par
.
height
<=
0
)
return
0
;
for
(
i
=
0
;
i
<
p
->
buf_size
-
256
;
i
+=
2
)
{
if
((
d
[
i
+
1
]
&
15
)
==
(
d
[
i
+
1
]
>>
4
)
&&
d
[
i
]
&&
d
[
i
]
!=
0xFF
&&
d
[
i
]
!=
' '
)
{
invisible
++
;
}
}
if
(
par
.
width
*
par
.
height
*
2
/
(
8
*
16
)
==
p
->
buf_size
)
return
AVPROBE_SCORE_MAX
/
2
;
return
0
;
...
...
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