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
d687b8c8
Commit
d687b8c8
authored
Dec 18, 2012
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetics: Reindent after last commit.
parent
00a62e67
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
rmdec.c
libavformat/rmdec.c
+8
-8
No files found.
libavformat/rmdec.c
View file @
d687b8c8
...
...
@@ -199,14 +199,14 @@ static int rm_read_audio_stream_info(AVFormatContext *s, AVIOContext *pb,
if
(
read_all
)
{
codecdata_length
=
0
;
}
else
{
avio_rb16
(
pb
);
avio_r8
(
pb
);
if
(
version
==
5
)
avio_r8
(
pb
);
codecdata_length
=
avio_rb32
(
pb
);
if
(
codecdata_length
+
FF_INPUT_BUFFER_PADDING_SIZE
<=
(
unsigned
)
codecdata_length
){
av_log
(
s
,
AV_LOG_ERROR
,
"codecdata_length too large
\n
"
);
return
-
1
;
}
avio_rb16
(
pb
);
avio_r8
(
pb
);
if
(
version
==
5
)
avio_r8
(
pb
);
codecdata_length
=
avio_rb32
(
pb
);
if
(
codecdata_length
+
FF_INPUT_BUFFER_PADDING_SIZE
<=
(
unsigned
)
codecdata_length
){
av_log
(
s
,
AV_LOG_ERROR
,
"codecdata_length too large
\n
"
);
return
-
1
;
}
}
ast
->
audio_framesize
=
st
->
codec
->
block_align
;
...
...
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