Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
ffmpeg
Commits
c950c25a
Commit
c950c25a
authored
Apr 12, 2009
by
Baptiste Coudurier
Browse files
remove useless wrapper
Originally committed as revision 18465 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
c96495e7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
libavformat/mpegts.c
libavformat/mpegts.c
+2
-8
No files found.
libavformat/mpegts.c
View file @
c950c25a
...
...
@@ -789,13 +789,6 @@ static void sdt_cb(MpegTSFilter *filter, const uint8_t *section, int section_len
}
}
/* scan services in a transport stream by looking at the SDT */
static
void
mpegts_scan_sdt
(
MpegTSContext
*
ts
)
{
mpegts_open_section_filter
(
ts
,
SDT_PID
,
sdt_cb
,
ts
,
1
);
}
static
int64_t
get_pts
(
const
uint8_t
*
p
)
{
int64_t
pts
=
(
int64_t
)((
p
[
0
]
>>
1
)
&
0x07
)
<<
30
;
...
...
@@ -1264,7 +1257,8 @@ static int mpegts_read_header(AVFormatContext *s,
/* first do a scaning to get all the services */
url_fseek
(
pb
,
pos
,
SEEK_SET
);
mpegts_scan_sdt
(
ts
);
mpegts_open_section_filter
(
ts
,
SDT_PID
,
sdt_cb
,
ts
,
1
);
mpegts_open_section_filter
(
ts
,
PAT_PID
,
pat_cb
,
ts
,
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