Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
d184cd1d
Commit
d184cd1d
authored
Oct 27, 2013
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ivi_common: stop using deprecated avcodec_set_dimensions
parent
317d6a15
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
ivi_common.c
libavcodec/ivi_common.c
+4
-1
No files found.
libavcodec/ivi_common.c
View file @
d184cd1d
...
@@ -1015,7 +1015,10 @@ int ff_ivi_decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
...
@@ -1015,7 +1015,10 @@ int ff_ivi_decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
av_log
(
avctx
,
AV_LOG_ERROR
,
"Buffer contains IP frames!
\n
"
);
av_log
(
avctx
,
AV_LOG_ERROR
,
"Buffer contains IP frames!
\n
"
);
}
}
avcodec_set_dimensions
(
avctx
,
ctx
->
planes
[
0
].
width
,
ctx
->
planes
[
0
].
height
);
result
=
ff_set_dimensions
(
avctx
,
ctx
->
planes
[
0
].
width
,
ctx
->
planes
[
0
].
height
);
if
(
result
<
0
)
return
result
;
if
((
result
=
ff_get_buffer
(
avctx
,
frame
,
0
))
<
0
)
{
if
((
result
=
ff_get_buffer
(
avctx
,
frame
,
0
))
<
0
)
{
av_log
(
avctx
,
AV_LOG_ERROR
,
"get_buffer() failed
\n
"
);
av_log
(
avctx
,
AV_LOG_ERROR
,
"get_buffer() failed
\n
"
);
return
result
;
return
result
;
...
...
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