Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2014-05-28 10:20:11 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
009de72a01c27fdd922ac9f10ee09f179a7ba86a
009de72a
1 parent
df2e8f16
fix research bug, rename srs_freepa to srs_freep
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
14 行增加
和
14 行删除
trunk/research/hls/ts_info.cc
trunk/research/hls/ts_info.cc
查看文件 @
009de72
...
...
@@ -640,7 +640,7 @@ TSContext::TSContext()
TSContext
::~
TSContext
()
{
srs_freep
a
(
pids
);
srs_freep
(
pids
);
std
::
map
<
TSPidTable
,
TSMessage
*>::
iterator
it
;
for
(
it
=
msgs
.
begin
();
it
!=
msgs
.
end
();
++
it
)
{
...
...
@@ -683,7 +683,7 @@ void TSContext::push(TSPidTable pid, TSStreamType stream_type, TSPidType type, u
p
[
pid_size
]
=
(
TSPid
){
type
,
stream_type
,
pid
,
continuity_counter
};
pid_size
++
;
srs_freep
a
(
pids
);
srs_freep
(
pids
);
pids
=
p
;
}
...
...
@@ -726,7 +726,7 @@ TSMessage::TSMessage()
TSMessage
::~
TSMessage
()
{
srs_freep
a
(
packet_data
);
srs_freep
(
packet_data
);
}
void
TSMessage
::
append
(
u_int8_t
*&
p
,
int
size
)
...
...
@@ -802,9 +802,9 @@ TSAdaptionField::TSAdaptionField()
TSAdaptionField
::~
TSAdaptionField
()
{
srs_freepa
(
transport_private_data
);
srs_freepa
(
af_ext_reserved
);
srs_freepa
(
af_reserved
);
srs_freep
(
transport_private_data
);
srs_freep
(
af_ext_reserved
);
srs_freep
(
af_reserved
);
}
int
TSAdaptionField
::
get_size
()
...
...
@@ -966,7 +966,7 @@ TSPayloadReserved::TSPayloadReserved()
TSPayloadReserved
::~
TSPayloadReserved
()
{
srs_freep
a
(
bytes
);
srs_freep
(
bytes
);
}
int
TSPayloadReserved
::
demux
(
TSContext
*
ctx
,
TSPacket
*
pkt
,
u_int8_t
*
start
,
u_int8_t
*
last
,
u_int8_t
*&
p
,
TSMessage
*&
pmsg
)
...
...
@@ -1003,7 +1003,7 @@ TSPayloadPAT::TSPayloadPAT()
TSPayloadPAT
::~
TSPayloadPAT
()
{
srs_freep
a
(
programs
);
srs_freep
(
programs
);
}
int
TSPayloadPAT
::
demux
(
TSContext
*
ctx
,
TSPacket
*
pkt
,
u_int8_t
*
start
,
u_int8_t
*
last
,
u_int8_t
*&
p
,
TSMessage
*&
pmsg
)
...
...
@@ -1068,7 +1068,7 @@ TSPMTESInfo::TSPMTESInfo()
TSPMTESInfo
::~
TSPMTESInfo
()
{
srs_freep
a
(
ES_info
);
srs_freep
(
ES_info
);
}
TSPayloadPMT
::
TSPayloadPMT
()
...
...
@@ -1090,7 +1090,7 @@ TSPayloadPMT::TSPayloadPMT()
TSPayloadPMT
::~
TSPayloadPMT
()
{
srs_freep
a
(
program_info_desc
);
srs_freep
(
program_info_desc
);
for
(
std
::
vector
<
TSPMTESInfo
*>::
iterator
it
=
ES_info
.
begin
();
it
!=
ES_info
.
end
();
++
it
)
{
TSPMTESInfo
*
info
=
*
it
;
...
...
@@ -1251,10 +1251,10 @@ TSPayloadPES::TSPayloadPES()
TSPayloadPES
::~
TSPayloadPES
()
{
srs_freepa
(
PES_private_data
);
srs_freepa
(
pack_field
);
srs_freepa
(
PES_extension_field
);
srs_freepa
(
stuffing_byte
);
srs_freep
(
PES_private_data
);
srs_freep
(
pack_field
);
srs_freep
(
PES_extension_field
);
srs_freep
(
stuffing_byte
);
}
int64_t
TSPayloadPES
::
decode_33bits_int
(
u_int8_t
*&
p
,
int64_t
&
temp
)
...
...
请
注册
或
登录
后发表评论