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
a5af2933
Commit
a5af2933
authored
Jan 13, 2012
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf/segment: slightly simplify fail logic in seg_write_packet()
parent
4ad17bc7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
segment.c
libavformat/segment.c
+1
-6
No files found.
libavformat/segment.c
View file @
a5af2933
...
@@ -213,12 +213,7 @@ static int seg_write_packet(AVFormatContext *s, AVPacket *pkt)
...
@@ -213,12 +213,7 @@ static int seg_write_packet(AVFormatContext *s, AVPacket *pkt)
av_log
(
s
,
AV_LOG_DEBUG
,
"Next segment starts at %d %"
PRId64
"
\n
"
,
av_log
(
s
,
AV_LOG_DEBUG
,
"Next segment starts at %d %"
PRId64
"
\n
"
,
pkt
->
stream_index
,
pkt
->
pts
);
pkt
->
stream_index
,
pkt
->
pts
);
ret
=
segment_end
(
s
);
if
((
ret
=
segment_end
(
s
))
<
0
||
(
ret
=
segment_start
(
s
))
<
0
)
if
(
!
ret
)
ret
=
segment_start
(
s
);
if
(
ret
)
goto
fail
;
goto
fail
;
}
}
...
...
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