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
47e9c75b
Commit
47e9c75b
authored
Oct 05, 2011
by
Justin Ruggles
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
alacdec: remove unneeded validation of setinfo_sample_size.
It is already done when using it to set sample_fmt.
parent
0f26f3d5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
alac.c
libavcodec/alac.c
+0
-4
No files found.
libavcodec/alac.c
View file @
47e9c75b
...
@@ -116,10 +116,6 @@ static int alac_set_info(ALACContext *alac)
...
@@ -116,10 +116,6 @@ static int alac_set_info(ALACContext *alac)
alac
->
setinfo_max_samples_per_frame
=
bytestream_get_be32
(
&
ptr
);
alac
->
setinfo_max_samples_per_frame
=
bytestream_get_be32
(
&
ptr
);
ptr
++
;
/* ??? */
ptr
++
;
/* ??? */
alac
->
setinfo_sample_size
=
*
ptr
++
;
alac
->
setinfo_sample_size
=
*
ptr
++
;
if
(
alac
->
setinfo_sample_size
>
32
)
{
av_log
(
alac
->
avctx
,
AV_LOG_ERROR
,
"setinfo_sample_size too large
\n
"
);
return
-
1
;
}
alac
->
setinfo_rice_historymult
=
*
ptr
++
;
alac
->
setinfo_rice_historymult
=
*
ptr
++
;
alac
->
setinfo_rice_initialhistory
=
*
ptr
++
;
alac
->
setinfo_rice_initialhistory
=
*
ptr
++
;
alac
->
setinfo_rice_kmodifier
=
*
ptr
++
;
alac
->
setinfo_rice_kmodifier
=
*
ptr
++
;
...
...
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