Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
81ef51e6
Commit
81ef51e6
authored
Feb 01, 2008
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
const
Originally committed as revision 11750 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
a8a8f204
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
adpcm.c
libavcodec/adpcm.c
+3
-3
No files found.
libavcodec/adpcm.c
View file @
81ef51e6
...
@@ -841,7 +841,7 @@ static void xa_decode(short *out, const unsigned char *in,
...
@@ -841,7 +841,7 @@ static void xa_decode(short *out, const unsigned char *in,
static
int
adpcm_decode_frame
(
AVCodecContext
*
avctx
,
static
int
adpcm_decode_frame
(
AVCodecContext
*
avctx
,
void
*
data
,
int
*
data_size
,
void
*
data
,
int
*
data_size
,
uint8_t
*
buf
,
int
buf_size
)
const
uint8_t
*
buf
,
int
buf_size
)
{
{
ADPCMContext
*
c
=
avctx
->
priv_data
;
ADPCMContext
*
c
=
avctx
->
priv_data
;
ADPCMChannelStatus
*
cs
;
ADPCMChannelStatus
*
cs
;
...
@@ -849,7 +849,7 @@ static int adpcm_decode_frame(AVCodecContext *avctx,
...
@@ -849,7 +849,7 @@ static int adpcm_decode_frame(AVCodecContext *avctx,
int
block_predictor
[
2
];
int
block_predictor
[
2
];
short
*
samples
;
short
*
samples
;
short
*
samples_end
;
short
*
samples_end
;
uint8_t
*
src
;
const
uint8_t
*
src
;
int
st
;
/* stereo */
int
st
;
/* stereo */
/* DK3 ADPCM accounting variables */
/* DK3 ADPCM accounting variables */
...
@@ -1214,7 +1214,7 @@ static int adpcm_decode_frame(AVCodecContext *avctx,
...
@@ -1214,7 +1214,7 @@ static int adpcm_decode_frame(AVCodecContext *avctx,
uint8_t
shift
;
uint8_t
shift
;
unsigned
int
channel
;
unsigned
int
channel
;
uint16_t
*
samplesC
;
uint16_t
*
samplesC
;
uint8_t
*
srcC
;
const
uint8_t
*
srcC
;
samples_in_chunk
=
(
big_endian
?
bytestream_get_be32
(
&
src
)
samples_in_chunk
=
(
big_endian
?
bytestream_get_be32
(
&
src
)
:
bytestream_get_le32
(
&
src
))
/
28
;
:
bytestream_get_le32
(
&
src
))
/
28
;
...
...
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