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
d19174c6
Commit
d19174c6
authored
Jan 03, 2018
by
Matthieu Bouron
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc/mediacodecdec: remove mediacodec_process_data() indirection
parent
9d983501
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
10 deletions
+1
-10
mediacodecdec.c
libavcodec/mediacodecdec.c
+1
-10
No files found.
libavcodec/mediacodecdec.c
View file @
d19174c6
...
...
@@ -416,15 +416,6 @@ done:
return
ret
;
}
static
int
mediacodec_process_data
(
AVCodecContext
*
avctx
,
AVFrame
*
frame
,
int
*
got_frame
,
AVPacket
*
pkt
)
{
MediaCodecH264DecContext
*
s
=
avctx
->
priv_data
;
return
ff_mediacodec_dec_decode
(
avctx
,
s
->
ctx
,
frame
,
got_frame
,
pkt
);
}
static
int
mediacodec_receive_frame
(
AVCodecContext
*
avctx
,
AVFrame
*
frame
)
{
MediaCodecH264DecContext
*
s
=
avctx
->
priv_data
;
...
...
@@ -505,7 +496,7 @@ static int mediacodec_receive_frame(AVCodecContext *avctx, AVFrame *frame)
av_fifo_generic_read
(
s
->
fifo
,
&
s
->
buffered_pkt
,
sizeof
(
s
->
buffered_pkt
),
NULL
);
}
ret
=
mediacodec_process_data
(
av
ctx
,
frame
,
&
got_frame
,
&
s
->
buffered_pkt
);
ret
=
ff_mediacodec_dec_decode
(
avctx
,
s
->
ctx
,
frame
,
&
got_frame
,
&
s
->
buffered_pkt
);
if
(
ret
<
0
)
return
ret
;
...
...
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