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
c1848c4b
Commit
c1848c4b
authored
Nov 23, 2011
by
Justin Ruggles
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pcmdec: remove unneeded resetting of samples pointer
parent
06d4e2fa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
pcm.c
libavcodec/pcm.c
+0
-3
No files found.
libavcodec/pcm.c
View file @
c1848c4b
...
...
@@ -382,7 +382,6 @@ static int pcm_decode_frame(AVCodecContext *avctx,
#endif
/* HAVE_BIGENDIAN */
case
CODEC_ID_PCM_U8
:
memcpy
(
samples
,
src
,
n
*
sample_size
);
samples
+=
n
*
sample_size
;
break
;
case
CODEC_ID_PCM_ZORK
:
for
(;
n
>
0
;
n
--
)
{
...
...
@@ -428,7 +427,6 @@ static int pcm_decode_frame(AVCodecContext *avctx,
}
break
;
}
samples
=
(
uint8_t
*
)
dst_int32_t
;
break
;
}
case
CODEC_ID_PCM_LXF
:
...
...
@@ -451,7 +449,6 @@ static int pcm_decode_frame(AVCodecContext *avctx,
((
src8
[
2
]
&
0xF0
)
<<
8
)
|
(
src8
[
4
]
<<
4
)
|
(
src8
[
3
]
>>
4
);
}
}
samples
=
(
uint8_t
*
)
dst_int32_t
;
break
;
}
default:
...
...
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