Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
d3b15f8f
Commit
d3b15f8f
authored
Aug 23, 2011
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
decoder/mpcdec: fix gcc warning
Move the variable "vbr_update_acc" into the #ifdef block.
parent
838f7cd2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
mpcdec_decoder_plugin.c
src/decoder/mpcdec_decoder_plugin.c
+2
-2
No files found.
src/decoder/mpcdec_decoder_plugin.c
View file @
d3b15f8f
...
...
@@ -153,7 +153,6 @@ mpcdec_decode(struct decoder *mpd_decoder, struct input_stream *is)
mpc_uint32_t
ret
;
int32_t
chunk
[
G_N_ELEMENTS
(
sample_buffer
)];
long
bit_rate
=
0
;
mpc_uint32_t
vbr_update_acc
;
mpc_uint32_t
vbr_update_bits
;
enum
decoder_command
cmd
=
DECODE_COMMAND_NONE
;
...
...
@@ -243,10 +242,11 @@ mpcdec_decode(struct decoder *mpd_decoder, struct input_stream *is)
decoder_seek_error
(
mpd_decoder
);
}
vbr_update_acc
=
0
;
vbr_update_bits
=
0
;
#ifdef MPC_IS_OLD_API
mpc_uint32_t
vbr_update_acc
=
0
;
ret
=
mpc_decoder_decode
(
&
decoder
,
sample_buffer
,
&
vbr_update_acc
,
&
vbr_update_bits
);
if
(
ret
==
0
||
ret
==
(
mpc_uint32_t
)
-
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