Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
10778300
Commit
10778300
authored
Mar 01, 2020
by
Andreas Rheinhardt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/webm_chunk: Cosmetics
Signed-off-by:
Andreas Rheinhardt
<
andreas.rheinhardt@gmail.com
>
parent
f289a6b7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
webm_chunk.c
libavformat/webm_chunk.c
+7
-7
No files found.
libavformat/webm_chunk.c
View file @
10778300
...
...
@@ -87,8 +87,8 @@ static int webm_chunk_init(AVFormatContext *s)
ff_format_set_url
(
oc
,
wc
->
header_filename
);
wc
->
header_filename
=
NULL
;
oc
->
interrupt_callback
=
s
->
interrupt_callback
;
oc
->
max_delay
=
s
->
max_delay
;
oc
->
interrupt_callback
=
s
->
interrupt_callback
;
oc
->
max_delay
=
s
->
max_delay
;
oc
->
flags
=
s
->
flags
&
~
AVFMT_FLAG_FLUSH_PACKETS
;
oc
->
strict_std_compliance
=
s
->
strict_std_compliance
;
oc
->
avoid_negative_ts
=
s
->
avoid_negative_ts
;
...
...
@@ -143,11 +143,11 @@ static int get_chunk_filename(AVFormatContext *s, char filename[MAX_FILENAME_SIZ
if
(
!
filename
)
{
return
AVERROR
(
EINVAL
);
}
if
(
av_get_frame_filename
(
filename
,
MAX_FILENAME_SIZE
,
s
->
url
,
wc
->
chunk_index
-
1
)
<
0
)
{
av_log
(
s
,
AV_LOG_ERROR
,
"Invalid chunk filename template '%s'
\n
"
,
s
->
url
);
return
AVERROR
(
EINVAL
);
}
if
(
av_get_frame_filename
(
filename
,
MAX_FILENAME_SIZE
,
s
->
url
,
wc
->
chunk_index
-
1
)
<
0
)
{
av_log
(
s
,
AV_LOG_ERROR
,
"Invalid chunk filename template '%s'
\n
"
,
s
->
url
);
return
AVERROR
(
EINVAL
);
}
return
0
;
}
...
...
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