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
35b0e75b
Commit
35b0e75b
authored
Sep 09, 2019
by
Aman Gupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/mediacodec_surface: drop unnecessary local variable
Signed-off-by:
Aman Gupta
<
aman@tmm1.net
>
parent
d0e67627
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
mediacodec_surface.c
libavcodec/mediacodec_surface.c
+1
-5
No files found.
libavcodec/mediacodec_surface.c
View file @
35b0e75b
...
...
@@ -29,16 +29,12 @@ void *ff_mediacodec_surface_ref(void *surface, void *log_ctx)
{
JNIEnv
*
env
=
NULL
;
void
*
reference
=
NULL
;
env
=
ff_jni_get_env
(
log_ctx
);
if
(
!
env
)
{
return
NULL
;
}
reference
=
(
*
env
)
->
NewGlobalRef
(
env
,
surface
);
return
reference
;
return
(
*
env
)
->
NewGlobalRef
(
env
,
surface
);
}
int
ff_mediacodec_surface_unref
(
void
*
surface
,
void
*
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