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
43a4cb07
Commit
43a4cb07
authored
Feb 02, 2012
by
Justin Ruggles
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
alacenc: remove unneeded frame_size check in alac_encode_frame()
parent
7416d610
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
alacenc.c
libavcodec/alacenc.c
+0
-5
No files found.
libavcodec/alacenc.c
View file @
43a4cb07
...
...
@@ -492,11 +492,6 @@ static int alac_encode_frame(AVCodecContext *avctx, uint8_t *frame,
PutBitContext
*
pb
=
&
s
->
pbctx
;
int
i
,
out_bytes
,
verbatim_flag
=
0
;
if
(
avctx
->
frame_size
>
DEFAULT_FRAME_SIZE
)
{
av_log
(
avctx
,
AV_LOG_ERROR
,
"input frame size exceeded
\n
"
);
return
-
1
;
}
if
(
buf_size
<
2
*
s
->
max_coded_frame_size
)
{
av_log
(
avctx
,
AV_LOG_ERROR
,
"buffer size is too small
\n
"
);
return
-
1
;
...
...
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