mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-28 18:32:22 +00:00
Reindent after r24516.
Originally committed as revision 24517 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
e87b7d72c6
commit
db9cc3a55a
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user