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
0692d4c8
Commit
0692d4c8
authored
Jan 12, 2012
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf/segment: add some debugging logs
parent
567eb9d3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
segment.c
libavformat/segment.c
+6
-0
No files found.
libavformat/segment.c
View file @
0692d4c8
...
...
@@ -81,6 +81,8 @@ static int segment_start(AVFormatContext *s)
return
0
;
fail:
av_log
(
oc
,
AV_LOG_ERROR
,
"Failure occurred when starting segment '%s'
\n
"
,
oc
->
filename
);
avio_close
(
oc
->
pb
);
av_freep
(
&
oc
->
priv_data
);
...
...
@@ -94,6 +96,10 @@ static int segment_end(AVFormatContext *oc)
if
(
oc
->
oformat
->
write_trailer
)
ret
=
oc
->
oformat
->
write_trailer
(
oc
);
if
(
ret
<
0
)
av_log
(
oc
,
AV_LOG_ERROR
,
"Failure occurred when ending segment '%s'
\n
"
,
oc
->
filename
);
avio_close
(
oc
->
pb
);
if
(
oc
->
oformat
->
priv_class
)
av_opt_free
(
oc
->
priv_data
);
...
...
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