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
557571ff
Commit
557571ff
authored
Nov 09, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/h261dec: dont accept invalid gobs in probe as valid
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
891f33cc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
h261dec.c
libavformat/h261dec.c
+2
-2
No files found.
libavformat/h261dec.c
View file @
557571ff
...
...
@@ -43,10 +43,10 @@ static int h261_probe(AVProbeData *p)
else
valid_psc
++
;
if
(
src_fmt
){
// CIF
static
const
int
lut
[
16
]
=
{
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
,
10
,
11
,
12
,
0
,
1
,
2
,
3
};
static
const
int
lut
[
16
]
=
{
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
,
10
,
11
,
12
,
0
,
1
6
,
16
,
16
};
next_gn
=
lut
[
gn
];
}
else
{
//QCIF
static
const
int
lut
[
16
]
=
{
1
,
3
,
4
,
5
,
6
,
0
,
1
,
2
,
3
,
4
,
5
,
6
,
0
,
1
,
2
,
3
,
4
};
static
const
int
lut
[
16
]
=
{
1
,
3
,
16
,
5
,
16
,
0
,
16
,
16
,
16
,
16
,
16
,
16
,
16
,
16
,
16
,
16
};
next_gn
=
lut
[
gn
];
}
}
...
...
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