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
59df25ef
Commit
59df25ef
authored
Jan 19, 2012
by
Mashiat Sarker Shakkhar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move some variable declarations to comply with C90
parent
3ce50bf5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
wmalosslessdec.c
libavcodec/wmalosslessdec.c
+4
-2
No files found.
libavcodec/wmalosslessdec.c
View file @
59df25ef
...
...
@@ -1418,6 +1418,8 @@ static int decode_packet(AVCodecContext *avctx,
int
buf_size
=
avpkt
->
size
;
int
num_bits_prev_frame
;
int
packet_sequence_number
;
int
seekable_frame_in_packet
;
int
spliced_packet
;
if
(
s
->
bits_per_sample
==
16
)
{
s
->
samples_16
=
(
int16_t
*
)
data
;
...
...
@@ -1442,8 +1444,8 @@ static int decode_packet(AVCodecContext *avctx,
/** parse packet header */
init_get_bits
(
gb
,
buf
,
s
->
buf_bit_size
);
packet_sequence_number
=
get_bits
(
gb
,
4
);
int
seekable_frame_in_packet
=
get_bits1
(
gb
);
int
spliced_packet
=
get_bits1
(
gb
);
seekable_frame_in_packet
=
get_bits1
(
gb
);
spliced_packet
=
get_bits1
(
gb
);
/** get number of bits that need to be added to the previous frame */
num_bits_prev_frame
=
get_bits
(
gb
,
s
->
log2_frame_size
);
...
...
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