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
db9cc3a5
Commit
db9cc3a5
authored
Jul 26, 2010
by
Ronald S. Bultje
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reindent after r24516.
Originally committed as revision 24517 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
e87b7d72
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
103 additions
and
106 deletions
+103
-106
mmst.c
libavformat/mmst.c
+103
-106
No files found.
libavformat/mmst.c
View file @
db9cc3a5
...
...
@@ -321,8 +321,7 @@ static MMSSCPacketType get_tcp_server_response(MMSContext *mms)
hr
=
AV_RL32
(
mms
->
in_buffer
+
40
);
if
(
hr
)
{
av_log
(
NULL
,
AV_LOG_ERROR
,
"Server sent an error status code: 0x%08x
\n
"
,
hr
);
"Server sent an error status code: 0x%08x
\n
"
,
hr
);
return
AVERROR_UNKNOWN
;
}
}
else
{
...
...
@@ -363,16 +362,14 @@ static MMSSCPacketType get_tcp_server_response(MMSContext *mms)
// Store the asf header
if
(
!
mms
->
header_parsed
)
{
void
*
p
=
av_realloc
(
mms
->
asf_header
,
mms
->
asf_header_size
+
mms
->
remaining_in_len
);
mms
->
asf_header_size
+
mms
->
remaining_in_len
);
if
(
!
p
)
{
av_freep
(
&
mms
->
asf_header
);
return
AVERROR
(
ENOMEM
);
}
mms
->
asf_header
=
p
;
memcpy
(
mms
->
asf_header
+
mms
->
asf_header_size
,
mms
->
read_in_ptr
,
mms
->
remaining_in_len
);
mms
->
read_in_ptr
,
mms
->
remaining_in_len
);
mms
->
asf_header_size
+=
mms
->
remaining_in_len
;
}
// 0x04 means asf header is sent in multiple packets.
...
...
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