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
6d6bf250
Commit
6d6bf250
authored
Nov 24, 2012
by
Piotr Bandurski
Committed by
Carl Eugen Hoyos
Nov 24, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riff: fix decoding of 24-bit packed int (type 1, 20-bit)
parent
95903e3c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
riff.c
libavformat/riff.c
+2
-1
No files found.
libavformat/riff.c
View file @
6d6bf250
...
...
@@ -759,7 +759,8 @@ enum AVCodecID ff_wav_codec_get_id(unsigned int tag, int bps)
/* handle specific u8 codec */
if
(
id
==
AV_CODEC_ID_PCM_S16LE
&&
bps
==
8
)
id
=
AV_CODEC_ID_PCM_U8
;
if
(
id
==
AV_CODEC_ID_PCM_S16LE
&&
bps
==
24
)
if
(
id
==
AV_CODEC_ID_PCM_S16LE
&&
bps
==
20
||
id
==
AV_CODEC_ID_PCM_S16LE
&&
bps
==
24
)
id
=
AV_CODEC_ID_PCM_S24LE
;
if
(
id
==
AV_CODEC_ID_PCM_S16LE
&&
bps
==
32
)
id
=
AV_CODEC_ID_PCM_S32LE
;
...
...
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