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
fb3f28ee
Commit
fb3f28ee
authored
Dec 21, 2012
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
alsdec: cosmetics after previous commit
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
ae27b70b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
alsdec.c
libavcodec/alsdec.c
+8
-8
No files found.
libavcodec/alsdec.c
View file @
fb3f28ee
...
...
@@ -1480,14 +1480,14 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr,
}
// transform decoded frame into output format
#define INTERLEAVE_OUTPUT(bps) \
{ \
int##bps##_t *dest = (int##bps##_t*)ctx->frame.data[0]; \
shift = bps - ctx->avctx->bits_per_raw_sample; \
if (!sconf->chan_sort) { \
for (sample = 0; sample < ctx->cur_frame_length; sample++)
\
for (c = 0; c < avctx->channels; c++)
\
*dest++ = ctx->raw_samples[c][sample] << shift;
\
#define INTERLEAVE_OUTPUT(bps)
\
{
\
int##bps##_t *dest = (int##bps##_t*)ctx->frame.data[0];
\
shift = bps - ctx->avctx->bits_per_raw_sample;
\
if (!sconf->chan_sort) {
\
for (sample = 0; sample < ctx->cur_frame_length; sample++)
\
for (c = 0; c < avctx->channels; c++)
\
*dest++ = ctx->raw_samples[c][sample] << shift;
\
} else { \
for (sample = 0; sample < ctx->cur_frame_length; sample++) \
for (c = 0; c < avctx->channels; c++) \
...
...
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