Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
8e79d242
Commit
8e79d242
authored
Jan 30, 2013
by
Martin Storsjö
Committed by
Rafaël Carré
Jan 30, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mediacodec: Remove an unused variable
Signed-off-by:
Rafaël Carré
<
funman@videolan.org
>
parent
346d9c47
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
modules/codec/omxil/android_mediacodec.c
modules/codec/omxil/android_mediacodec.c
+2
-3
No files found.
modules/codec/omxil/android_mediacodec.c
View file @
8e79d242
...
...
@@ -260,7 +260,7 @@ static int OpenDecoder(vlc_object_t *p_this)
int
num_codecs
=
(
*
env
)
->
CallStaticIntMethod
(
env
,
p_sys
->
media_codec_list_class
,
p_sys
->
get_codec_count
);
jobject
codec_
info
=
NULL
,
codec_
name
=
NULL
;
jobject
codec_name
=
NULL
;
for
(
int
i
=
0
;
i
<
num_codecs
;
i
++
)
{
jobject
info
=
(
*
env
)
->
CallStaticObjectMethod
(
env
,
p_sys
->
media_codec_list_class
,
...
...
@@ -287,14 +287,13 @@ static int OpenDecoder(vlc_object_t *p_this)
memcpy
(
p_sys
->
name
,
name_ptr
,
name_len
);
p_sys
->
name
[
name_len
]
=
'\0'
;
(
*
env
)
->
ReleaseStringUTFChars
(
env
,
name
,
name_ptr
);
codec_info
=
info
;
codec_name
=
name
;
break
;
}
(
*
env
)
->
DeleteLocalRef
(
env
,
info
);
}
if
(
!
codec_
info
)
{
if
(
!
codec_
name
)
{
msg_Dbg
(
p_dec
,
"No suitable codec matching %s was found"
,
mime
);
goto
error
;
}
...
...
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