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
79efd3b8
Commit
79efd3b8
authored
Jun 06, 2016
by
Matthieu Bouron
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc/mediacodec: rename jfields_mapping to jni_amediacodeclist_mapping
parent
f2e7f996
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 @
79efd3b8
...
@@ -49,7 +49,7 @@ struct JNIAMediaCodecListFields {
...
@@ -49,7 +49,7 @@ struct JNIAMediaCodecListFields {
}
JNIAMediaCodecListFields
;
}
JNIAMediaCodecListFields
;
static
const
struct
FFJniField
j
fields
_mapping
[]
=
{
static
const
struct
FFJniField
j
ni_amediacodeclist
_mapping
[]
=
{
{
"android/media/MediaFormat"
,
NULL
,
NULL
,
FF_JNI_CLASS
,
offsetof
(
struct
JNIAMediaCodecListFields
,
mediaformat_class
),
1
},
{
"android/media/MediaFormat"
,
NULL
,
NULL
,
FF_JNI_CLASS
,
offsetof
(
struct
JNIAMediaCodecListFields
,
mediaformat_class
),
1
},
{
"android/media/MediaFormat"
,
"createVideoFormat"
,
"(Ljava/lang/String;II)Landroid/media/MediaFormat;"
,
FF_JNI_STATIC_METHOD
,
offsetof
(
struct
JNIAMediaCodecListFields
,
create_video_format_id
),
1
},
{
"android/media/MediaFormat"
,
"createVideoFormat"
,
"(Ljava/lang/String;II)Landroid/media/MediaFormat;"
,
FF_JNI_STATIC_METHOD
,
offsetof
(
struct
JNIAMediaCodecListFields
,
create_video_format_id
),
1
},
...
@@ -107,7 +107,7 @@ char *ff_AMediaCodecList_getCodecNameByType(const char *mime, int width, int hei
...
@@ -107,7 +107,7 @@ char *ff_AMediaCodecList_getCodecNameByType(const char *mime, int width, int hei
JNI_ATTACH_ENV_OR_RETURN
(
env
,
&
attached
,
log_ctx
,
NULL
);
JNI_ATTACH_ENV_OR_RETURN
(
env
,
&
attached
,
log_ctx
,
NULL
);
if
((
ret
=
ff_jni_init_jfields
(
env
,
&
jfields
,
j
fields
_mapping
,
0
,
log_ctx
))
<
0
)
{
if
((
ret
=
ff_jni_init_jfields
(
env
,
&
jfields
,
j
ni_amediacodeclist
_mapping
,
0
,
log_ctx
))
<
0
)
{
goto
done
;
goto
done
;
}
}
...
@@ -250,7 +250,7 @@ done:
...
@@ -250,7 +250,7 @@ done:
av_freep
(
&
supported_type
);
av_freep
(
&
supported_type
);
ff_jni_reset_jfields
(
env
,
&
jfields
,
j
fields
_mapping
,
0
,
log_ctx
);
ff_jni_reset_jfields
(
env
,
&
jfields
,
j
ni_amediacodeclist
_mapping
,
0
,
log_ctx
);
JNI_DETACH_ENV
(
attached
,
log_ctx
);
JNI_DETACH_ENV
(
attached
,
log_ctx
);
...
...
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