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
8096b7c6
Commit
8096b7c6
authored
Sep 09, 2011
by
Chiranjeevi Melam
Committed by
Michael Niedermayer
Sep 09, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asfenc: fix assert failure on long ffserver runs
parent
d64066f6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
asfenc.c
libavformat/asfenc.c
+5
-5
No files found.
libavformat/asfenc.c
View file @
8096b7c6
...
...
@@ -199,8 +199,8 @@ typedef struct {
/* packet filling */
unsigned
char
multi_payloads_present
;
int
packet_size_left
;
int
packet_timestamp_start
;
int
packet_timestamp_end
;
int
64_t
packet_timestamp_start
;
int
64_t
packet_timestamp_end
;
unsigned
int
packet_nb_payloads
;
uint8_t
packet_buf
[
PACKET_SIZE
];
AVIOContext
pb
;
...
...
@@ -684,7 +684,7 @@ static void flush_packet(AVFormatContext *s)
static
void
put_payload_header
(
AVFormatContext
*
s
,
ASFStream
*
stream
,
int
presentation_time
,
int
64_t
presentation_time
,
int
m_obj_size
,
int
m_obj_offset
,
int
payload_len
,
...
...
@@ -711,7 +711,7 @@ static void put_payload_header(
avio_w8
(
pb
,
ASF_PAYLOAD_REPLICATED_DATA_LENGTH
);
avio_wl32
(
pb
,
m_obj_size
);
//Replicated Data - Media Object Size
avio_wl32
(
pb
,
presentation_time
);
//Replicated Data - Presentation Time
avio_wl32
(
pb
,
(
uint32_t
)
presentation_time
);
//Replicated Data - Presentation Time
if
(
asf
->
multi_payloads_present
){
avio_wl16
(
pb
,
payload_len
);
//payload length
...
...
@@ -722,7 +722,7 @@ static void put_frame(
AVFormatContext
*
s
,
ASFStream
*
stream
,
AVStream
*
avst
,
int
timestamp
,
int
64_t
timestamp
,
const
uint8_t
*
buf
,
int
m_obj_size
,
int
flags
...
...
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