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
cb89fd23
Commit
cb89fd23
authored
Jun 06, 2016
by
Matthieu Bouron
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc/mediacodec: rename MediaFormat field clazz to mediaformat_class for consistency
parent
56ef387e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
mediacodec_wrapper.c
libavcodec/mediacodec_wrapper.c
+3
-3
No files found.
libavcodec/mediacodec_wrapper.c
View file @
cb89fd23
...
...
@@ -70,7 +70,7 @@ static const struct FFJniField jni_amediacodeclist_mapping[] = {
struct
JNIAMediaFormatFields
{
jclass
clazz
;
jclass
mediaformat_class
;
jmethodID
init_id
;
...
...
@@ -91,7 +91,7 @@ struct JNIAMediaFormatFields {
}
JNIAMediaFormatFields
;
static
const
struct
FFJniField
jni_amediaformat_mapping
[]
=
{
{
"android/media/MediaFormat"
,
NULL
,
NULL
,
FF_JNI_CLASS
,
offsetof
(
struct
JNIAMediaFormatFields
,
clazz
),
1
},
{
"android/media/MediaFormat"
,
NULL
,
NULL
,
FF_JNI_CLASS
,
offsetof
(
struct
JNIAMediaFormatFields
,
mediaformat_class
),
1
},
{
"android/media/MediaFormat"
,
"<init>"
,
"()V"
,
FF_JNI_METHOD
,
offsetof
(
struct
JNIAMediaFormatFields
,
init_id
),
1
},
...
...
@@ -465,7 +465,7 @@ FFAMediaFormat *ff_AMediaFormat_new(void)
goto
fail
;
}
format
->
object
=
(
*
env
)
->
NewObject
(
env
,
format
->
jfields
.
clazz
,
format
->
jfields
.
init_id
);
format
->
object
=
(
*
env
)
->
NewObject
(
env
,
format
->
jfields
.
mediaformat_class
,
format
->
jfields
.
init_id
);
if
(
!
format
->
object
)
{
goto
fail
;
}
...
...
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