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
06e7a202
Commit
06e7a202
authored
Oct 27, 2013
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eatgq: stop using deprecated avcodec_set_dimensions
parent
c6b8a7db
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
eatgq.c
libavcodec/eatgq.c
+4
-3
No files found.
libavcodec/eatgq.c
View file @
06e7a202
...
@@ -216,9 +216,10 @@ static int tgq_decode_frame(AVCodecContext *avctx,
...
@@ -216,9 +216,10 @@ static int tgq_decode_frame(AVCodecContext *avctx,
s
->
height
=
bytestream2_get_le16u
(
&
s
->
gb
);
s
->
height
=
bytestream2_get_le16u
(
&
s
->
gb
);
}
}
if
(
s
->
avctx
->
width
!=
s
->
width
||
s
->
avctx
->
height
!=
s
->
height
)
{
ret
=
ff_set_dimensions
(
s
->
avctx
,
s
->
width
,
s
->
height
);
avcodec_set_dimensions
(
s
->
avctx
,
s
->
width
,
s
->
height
);
if
(
ret
<
0
)
}
return
ret
;
tgq_calculate_qtable
(
s
,
bytestream2_get_byteu
(
&
s
->
gb
));
tgq_calculate_qtable
(
s
,
bytestream2_get_byteu
(
&
s
->
gb
));
bytestream2_skip
(
&
s
->
gb
,
3
);
bytestream2_skip
(
&
s
->
gb
,
3
);
...
...
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