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
fb3228be
Commit
fb3228be
authored
May 21, 2017
by
Matthieu Bouron
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc/mediacodec_wrapper: do not declare JNIAMedia{Codec,CodecList,Format}Fields on the stack
parent
224bb46f
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 @
fb3228be
...
@@ -66,7 +66,7 @@ struct JNIAMediaCodecListFields {
...
@@ -66,7 +66,7 @@ struct JNIAMediaCodecListFields {
jfieldID
hevc_profile_main10_id
;
jfieldID
hevc_profile_main10_id
;
jfieldID
hevc_profile_main10_hdr10_id
;
jfieldID
hevc_profile_main10_hdr10_id
;
}
JNIAMediaCodecListFields
;
};
static
const
struct
FFJniField
jni_amediacodeclist_mapping
[]
=
{
static
const
struct
FFJniField
jni_amediacodeclist_mapping
[]
=
{
{
"android/media/MediaCodecList"
,
NULL
,
NULL
,
FF_JNI_CLASS
,
offsetof
(
struct
JNIAMediaCodecListFields
,
mediacodec_list_class
),
1
},
{
"android/media/MediaCodecList"
,
NULL
,
NULL
,
FF_JNI_CLASS
,
offsetof
(
struct
JNIAMediaCodecListFields
,
mediacodec_list_class
),
1
},
...
@@ -125,7 +125,7 @@ struct JNIAMediaFormatFields {
...
@@ -125,7 +125,7 @@ struct JNIAMediaFormatFields {
jmethodID
to_string_id
;
jmethodID
to_string_id
;
}
JNIAMediaFormatFields
;
};
static
const
struct
FFJniField
jni_amediaformat_mapping
[]
=
{
static
const
struct
FFJniField
jni_amediaformat_mapping
[]
=
{
{
"android/media/MediaFormat"
,
NULL
,
NULL
,
FF_JNI_CLASS
,
offsetof
(
struct
JNIAMediaFormatFields
,
mediaformat_class
),
1
},
{
"android/media/MediaFormat"
,
NULL
,
NULL
,
FF_JNI_CLASS
,
offsetof
(
struct
JNIAMediaFormatFields
,
mediaformat_class
),
1
},
...
@@ -210,7 +210,7 @@ struct JNIAMediaCodecFields {
...
@@ -210,7 +210,7 @@ struct JNIAMediaCodecFields {
jfieldID
presentation_time_us_id
;
jfieldID
presentation_time_us_id
;
jfieldID
size_id
;
jfieldID
size_id
;
}
JNIAMediaCodecFields
;
};
static
const
struct
FFJniField
jni_amediacodec_mapping
[]
=
{
static
const
struct
FFJniField
jni_amediacodec_mapping
[]
=
{
{
"android/media/MediaCodec"
,
NULL
,
NULL
,
FF_JNI_CLASS
,
offsetof
(
struct
JNIAMediaCodecFields
,
mediacodec_class
),
1
},
{
"android/media/MediaCodec"
,
NULL
,
NULL
,
FF_JNI_CLASS
,
offsetof
(
struct
JNIAMediaCodecFields
,
mediacodec_class
),
1
},
...
...
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