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
000a9c02
Commit
000a9c02
authored
Apr 29, 2004
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
10l
Originally committed as revision 3088 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
e4cb187d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
mpegvideo.c
libavcodec/mpegvideo.c
+5
-5
No files found.
libavcodec/mpegvideo.c
View file @
000a9c02
...
...
@@ -597,6 +597,11 @@ int MPV_common_init(MpegEncContext *s)
{
int
y_size
,
c_size
,
yc_size
,
i
,
mb_array_size
,
mv_table_size
,
x
,
y
;
if
(
s
->
avctx
->
thread_count
>
MAX_THREADS
||
16
*
s
->
avctx
->
thread_count
>
s
->
height
){
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
"too many threads
\n
"
);
return
-
1
;
}
dsputil_init
(
&
s
->
dsp
,
s
->
avctx
);
DCT_common_init
(
s
);
...
...
@@ -990,11 +995,6 @@ int MPV_encode_init(AVCodecContext *avctx)
return
-
1
;
}
if
(
s
->
avctx
->
thread_count
>
MAX_THREADS
||
16
*
s
->
avctx
->
thread_count
>
s
->
height
){
av_log
(
avctx
,
AV_LOG_ERROR
,
"too many threads
\n
"
);
return
-
1
;
}
if
(
s
->
avctx
->
thread_count
>
1
)
s
->
rtp_mode
=
1
;
...
...
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