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
fccc37ca
Commit
fccc37ca
authored
Aug 28, 2019
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
repeat an even number of characters in occured
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
24e52709
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
mpeg4videodec.c
libavcodec/mpeg4videodec.c
+1
-1
matroskadec.c
libavformat/matroskadec.c
+2
-2
No files found.
libavcodec/mpeg4videodec.c
View file @
fccc37ca
...
...
@@ -3212,7 +3212,7 @@ static int decode_studio_vol_header(Mpeg4DecContext *ctx, GetBitContext *gb)
* Decode MPEG-4 headers.
*
* @param header If set the absence of a VOP is not treated as error; otherwise, it is treated as such.
* @return <0 if an error occured
* @return <0 if an error occur
r
ed
* FRAME_SKIPPED if a not coded VOP is found
* 0 else
*/
...
...
libavformat/matroskadec.c
View file @
fccc37ca
...
...
@@ -798,7 +798,7 @@ static int matroska_resync(MatroskaDemuxContext *matroska, int64_t last_pos)
id
==
MATROSKA_ID_CLUSTER
||
id
==
MATROSKA_ID_CHAPTERS
)
{
/* Prepare the context for parsing of a level 1 element. */
matroska_reset_status
(
matroska
,
id
,
-
1
);
/* Given that we are here means that an error has occured,
/* Given that we are here means that an error has occur
r
ed,
* so treat the segment as unknown length in order not to
* discard valid data that happens to be beyond the designated
* end of the segment. */
...
...
@@ -1331,7 +1331,7 @@ static int ebml_parse(MatroskaDemuxContext *matroska,
// current element (i.e. how much would be skipped); if there were
// more than a few skipped elements in a row and skipping the current
// element would lead us more than SKIP_THRESHOLD away from the last
// known good position, then it is inferred that an error occured.
// known good position, then it is inferred that an error occur
r
ed.
// The dependency on the number of unknown elements in a row exists
// because the distance to the last known good position is
// automatically big if the last parsed element was big.
...
...
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