Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
f6c3b064
Commit
f6c3b064
authored
Mar 11, 2015
by
Thomas Guillem
Committed by
Jean-Baptiste Kempf
Mar 11, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
audiotrack: don't re-init to NULL
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
b4d7ab2b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
modules/audio_output/audiotrack.c
modules/audio_output/audiotrack.c
+0
-7
No files found.
modules/audio_output/audiotrack.c
View file @
f6c3b064
...
@@ -275,7 +275,6 @@ InitJNIFields( audio_output_t *p_aout )
...
@@ -275,7 +275,6 @@ InitJNIFields( audio_output_t *p_aout )
GET_ID
(
GetMethodID
,
AudioTrack
.
writeV21
,
"write"
,
"(Ljava/nio/ByteBuffer;II)I"
,
false
);
GET_ID
(
GetMethodID
,
AudioTrack
.
writeV21
,
"write"
,
"(Ljava/nio/ByteBuffer;II)I"
,
false
);
if
(
jfields
.
AudioTrack
.
writeV21
)
if
(
jfields
.
AudioTrack
.
writeV21
)
{
{
jfields
.
AudioTrack
.
write
=
NULL
;
GET_CONST_INT
(
AudioTrack
.
WRITE_NON_BLOCKING
,
"WRITE_NON_BLOCKING"
,
true
);
GET_CONST_INT
(
AudioTrack
.
WRITE_NON_BLOCKING
,
"WRITE_NON_BLOCKING"
,
true
);
}
else
}
else
GET_ID
(
GetMethodID
,
AudioTrack
.
write
,
"write"
,
"([BII)I"
,
true
);
GET_ID
(
GetMethodID
,
AudioTrack
.
write
,
"write"
,
"([BII)I"
,
true
);
...
@@ -307,12 +306,6 @@ InitJNIFields( audio_output_t *p_aout )
...
@@ -307,12 +306,6 @@ InitJNIFields( audio_output_t *p_aout )
"framePosition"
,
"J"
,
true
);
"framePosition"
,
"J"
,
true
);
GET_ID
(
GetFieldID
,
AudioTimestamp
.
nanoTime
,
GET_ID
(
GetFieldID
,
AudioTimestamp
.
nanoTime
,
"nanoTime"
,
"J"
,
true
);
"nanoTime"
,
"J"
,
true
);
}
else
{
jfields
.
AudioTimestamp
.
clazz
=
NULL
;
jfields
.
AudioTimestamp
.
ctor
=
NULL
;
jfields
.
AudioTimestamp
.
framePosition
=
NULL
;
jfields
.
AudioTimestamp
.
nanoTime
=
NULL
;
}
}
/* AudioFormat class init */
/* AudioFormat class init */
...
...
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