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
7c2c5c49
Commit
7c2c5c49
authored
Apr 24, 2019
by
Matthieu Bouron
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/mediacodecdec: re-indent after previous commit
parent
fef5ba40
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
mediacodecdec_common.c
libavcodec/mediacodecdec_common.c
+10
-10
No files found.
libavcodec/mediacodecdec_common.c
View file @
7c2c5c49
...
...
@@ -634,18 +634,18 @@ int ff_mediacodec_dec_send(AVCodecContext *avctx, MediaCodecDecContext *s,
return
0
;
}
size
=
FFMIN
(
pkt
->
size
-
offset
,
size
);
memcpy
(
data
,
pkt
->
data
+
offset
,
size
);
offset
+=
size
;
size
=
FFMIN
(
pkt
->
size
-
offset
,
size
);
memcpy
(
data
,
pkt
->
data
+
offset
,
size
);
offset
+=
size
;
status
=
ff_AMediaCodec_queueInputBuffer
(
codec
,
index
,
0
,
size
,
pts
,
0
);
if
(
status
<
0
)
{
av_log
(
avctx
,
AV_LOG_ERROR
,
"Failed to queue input buffer (status = %d)
\n
"
,
status
);
return
AVERROR_EXTERNAL
;
}
status
=
ff_AMediaCodec_queueInputBuffer
(
codec
,
index
,
0
,
size
,
pts
,
0
);
if
(
status
<
0
)
{
av_log
(
avctx
,
AV_LOG_ERROR
,
"Failed to queue input buffer (status = %d)
\n
"
,
status
);
return
AVERROR_EXTERNAL
;
}
av_log
(
avctx
,
AV_LOG_TRACE
,
"Queued input buffer %zd size=%zd ts=%"
PRIi64
"
\n
"
,
index
,
size
,
pts
);
av_log
(
avctx
,
AV_LOG_TRACE
,
"Queued input buffer %zd size=%zd ts=%"
PRIi64
"
\n
"
,
index
,
size
,
pts
);
}
if
(
offset
==
0
)
...
...
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