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
cb7190cd
Commit
cb7190cd
authored
Mar 23, 2012
by
Janne Grunau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rv34: error out on size changes with frame threading
parent
b00307ec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
rv34.c
libavcodec/rv34.c
+7
-0
No files found.
libavcodec/rv34.c
View file @
cb7190cd
...
...
@@ -1662,6 +1662,13 @@ int ff_rv34_decode_frame(AVCodecContext *avctx,
if
(
s
->
width
!=
si
.
width
||
s
->
height
!=
si
.
height
)
{
int
err
;
if
(
HAVE_THREADS
&&
(
s
->
avctx
->
active_thread_type
&
FF_THREAD_FRAME
))
{
av_log_missing_feature
(
s
->
avctx
,
"Width/height changing with "
"frame threading is"
,
0
);
return
AVERROR_PATCHWELCOME
;
}
av_log
(
s
->
avctx
,
AV_LOG_WARNING
,
"Changing dimensions to %dx%d
\n
"
,
si
.
width
,
si
.
height
);
ff_MPV_common_end
(
s
);
...
...
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