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
eac778de
Commit
eac778de
authored
Oct 29, 2011
by
Reimar Döffinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some minor spelling fixes.
Signed-off-by:
Reimar Döffinger
<
Reimar.Doeffinger@gmx.de
>
parent
4d2f9911
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
mpegts.c
libavformat/mpegts.c
+4
-4
No files found.
libavformat/mpegts.c
View file @
eac778de
...
...
@@ -468,7 +468,7 @@ static inline int get16(const uint8_t **pp, const uint8_t *p_end)
return
c
;
}
/* read and allocate a DVB string prece
e
ded by its length */
/* read and allocate a DVB string preceded by its length */
static
char
*
getstr8
(
const
uint8_t
**
pp
,
const
uint8_t
*
p_end
)
{
int
len
;
...
...
@@ -1712,7 +1712,7 @@ static int handle_packet(MpegTSContext *ts, const uint8_t *packet)
return
0
;
p
=
packet
+
4
;
if
(
has_adaptation
)
{
/* skip adapation field */
/* skip adap
t
ation field */
p
+=
p
[
0
]
+
1
;
}
/* if past the end of packet, ignore */
...
...
@@ -1790,7 +1790,7 @@ static int read_packet(AVFormatContext *s, uint8_t *buf, int raw_packet_size)
len
=
avio_read
(
pb
,
buf
,
TS_PACKET_SIZE
);
if
(
len
!=
TS_PACKET_SIZE
)
return
len
<
0
?
len
:
AVERROR_EOF
;
/* check pa
qu
et sync byte */
/* check pa
ck
et sync byte */
if
(
buf
[
0
]
!=
0x47
)
{
/* find a new packet start */
avio_seek
(
pb
,
-
TS_PACKET_SIZE
,
SEEK_CUR
);
...
...
@@ -1938,7 +1938,7 @@ static int mpegts_read_header(AVFormatContext *s,
if
(
s
->
iformat
==
&
ff_mpegts_demuxer
)
{
/* normal demux */
/* first do a scaning to get all the services */
/* first do a scan
n
ing to get all the services */
/* NOTE: We attempt to seek on non-seekable files as well, as the
* probe buffer usually is big enough. Only warn if the seek failed
* on files where the seek should work. */
...
...
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