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
466988ab
Commit
466988ab
authored
Apr 27, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix dont and doesnt typos
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
e2a5557c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
frame_thread_encoder.c
libavcodec/frame_thread_encoder.c
+1
-1
avidec.c
libavformat/avidec.c
+1
-1
oggdec.c
libavformat/oggdec.c
+1
-1
No files found.
libavcodec/frame_thread_encoder.c
View file @
466988ab
...
...
@@ -142,7 +142,7 @@ int ff_frame_thread_encoder_init(AVCodecContext *avctx, AVDictionary *options){
if
(
avctx
->
codec_id
==
AV_CODEC_ID_HUFFYUV
||
avctx
->
codec_id
==
AV_CODEC_ID_FFVHUFF
)
{
// huffyuv does
n
t support these with multiple frame threads currently
// huffyuv does
no
t support these with multiple frame threads currently
if
(
avctx
->
context_model
>
0
||
(
avctx
->
flags
&
CODEC_FLAG_PASS1
))
{
av_log
(
avctx
,
AV_LOG_WARNING
,
"Forcing thread count to 1 for huffyuv encoding with first pass or context 1
\n
"
);
...
...
libavformat/avidec.c
View file @
466988ab
...
...
@@ -438,7 +438,7 @@ static int calculate_bitrate(AVFormatContext *s)
maxpos
=
FFMAX
(
maxpos
,
st
->
index_entries
[
j
-
1
].
pos
);
lensum
+=
len
;
}
if
(
maxpos
<
avi
->
io_fsize
*
9
/
10
)
// index does
n
t cover the whole file
if
(
maxpos
<
avi
->
io_fsize
*
9
/
10
)
// index does
no
t cover the whole file
return
0
;
if
(
lensum
*
9
/
10
>
maxpos
||
lensum
<
maxpos
*
9
/
10
)
// frame sum and filesize mismatch
return
0
;
...
...
libavformat/oggdec.c
View file @
466988ab
...
...
@@ -837,7 +837,7 @@ static int64_t ogg_read_timestamp(AVFormatContext *s, int stream_index,
&&
!
ogg_packet
(
s
,
&
i
,
&
pstart
,
&
psize
,
pos_arg
))
{
if
(
i
==
stream_index
)
{
struct
ogg_stream
*
os
=
ogg
->
streams
+
stream_index
;
// Do
n
t trust the last timestamps of a ogm video
// Do
no
t trust the last timestamps of a ogm video
if
(
(
os
->
flags
&
OGG_FLAG_EOS
)
&&
!
(
os
->
flags
&
OGG_FLAG_BOS
)
&&
os
->
codec
==
&
ff_ogm_video_codec
)
...
...
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