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
d885cc41
Commit
d885cc41
authored
Jan 04, 2013
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix "knwon" typo and add a check in tools/patcheck
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
467c0338
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
alsdec.c
libavcodec/alsdec.c
+1
-1
mjpegdec.c
libavcodec/mjpegdec.c
+3
-3
mxfenc.c
libavformat/mxfenc.c
+1
-1
patcheck
tools/patcheck
+1
-1
No files found.
libavcodec/alsdec.c
View file @
d885cc41
...
...
@@ -308,7 +308,7 @@ static av_cold int read_specific_config(ALSDecContext *ctx)
skip_bits_long
(
&
gb
,
32
);
// sample rate already known
sconf
->
samples
=
get_bits_long
(
&
gb
,
32
);
avctx
->
channels
=
m4ac
.
channels
;
skip_bits
(
&
gb
,
16
);
// number of channels already kn
wo
n
skip_bits
(
&
gb
,
16
);
// number of channels already kn
ow
n
skip_bits
(
&
gb
,
3
);
// skip file_type
sconf
->
resolution
=
get_bits
(
&
gb
,
3
);
sconf
->
floating
=
get_bits1
(
&
gb
);
...
...
libavcodec/mjpegdec.c
View file @
d885cc41
...
...
@@ -1423,9 +1423,9 @@ static int mjpeg_decode_app(MJpegDecodeContext *s)
av_log
(
s
->
avctx
,
AV_LOG_INFO
,
"Pegasus lossless jpeg header found
\n
"
);
skip_bits
(
&
s
->
gb
,
16
);
/* version ? */
skip_bits
(
&
s
->
gb
,
16
);
/* unkn
wo
n always 0? */
skip_bits
(
&
s
->
gb
,
16
);
/* unkn
wo
n always 0? */
skip_bits
(
&
s
->
gb
,
16
);
/* unkn
wo
n always 0? */
skip_bits
(
&
s
->
gb
,
16
);
/* unkn
ow
n always 0? */
skip_bits
(
&
s
->
gb
,
16
);
/* unkn
ow
n always 0? */
skip_bits
(
&
s
->
gb
,
16
);
/* unkn
ow
n always 0? */
switch
(
get_bits
(
&
s
->
gb
,
8
))
{
case
1
:
s
->
rgb
=
1
;
...
...
libavformat/mxfenc.c
View file @
d885cc41
...
...
@@ -170,7 +170,7 @@ static const MXFContainerEssenceEntry mxf_essence_container_uls[] = {
{
0x06
,
0x0E
,
0x2B
,
0x34
,
0x01
,
0x02
,
0x01
,
0x01
,
0x0D
,
0x01
,
0x03
,
0x01
,
0x06
,
0x01
,
0x10
,
0x00
},
{
0x06
,
0x0E
,
0x2B
,
0x34
,
0x04
,
0x01
,
0x01
,
0x01
,
0x04
,
0x02
,
0x02
,
0x01
,
0x00
,
0x00
,
0x00
,
0x00
},
mxf_write_generic_sound_desc
},
// DV Unkn
wo
n
// DV Unkn
ow
n
{
{
0x06
,
0x0E
,
0x2B
,
0x34
,
0x04
,
0x01
,
0x01
,
0x01
,
0x0D
,
0x01
,
0x03
,
0x01
,
0x02
,
0x02
,
0x7F
,
0x01
},
{
0x06
,
0x0E
,
0x2B
,
0x34
,
0x01
,
0x02
,
0x01
,
0x01
,
0x0D
,
0x01
,
0x03
,
0x01
,
0x18
,
0x01
,
0x01
,
0x00
},
{
0x06
,
0x0E
,
0x2B
,
0x34
,
0x04
,
0x01
,
0x01
,
0x01
,
0x04
,
0x01
,
0x02
,
0x02
,
0x02
,
0x00
,
0x00
,
0x00
},
...
...
tools/patcheck
View file @
d885cc41
...
...
@@ -67,7 +67,7 @@ $EGREP $OPT '^\+ *(const *|)static' $*| $EGREP --color=always '[^=]= *(0|NULL)[^
cat
$TMP
hiegrep
'# *ifdef * (HAVE|CONFIG)_'
'ifdefs that should be #if'
$*
hiegrep
'\b(awnser|cant|dont|wont|usefull|successfull|occured|teh|alot|wether|skiped|skiping|heigth|informations|colums|loosy|loosing|ouput|seperate|preceed|upto|paket|posible|unkown|inpossible|dimention|acheive|funtions|overriden|outputing|seperation|initalize|compatibilty|bistream)\b'
'common typos'
$*
hiegrep
'\b(awnser|cant|dont|wont|usefull|successfull|occured|teh|alot|wether|skiped|skiping|heigth|informations|colums|loosy|loosing|ouput|seperate|preceed|upto|paket|posible|unkown|inpossible|dimention|acheive|funtions|overriden|outputing|seperation|initalize|compatibilty|bistream
|knwon|unknwon
)\b'
'common typos'
$*
hiegrep
'av_log\( *NULL'
'Missing context in av_log'
$*
hiegrep
'[^sn]printf'
'Please use av_log'
$*
...
...
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