summaryrefslogtreecommitdiff
path: root/libavformat/webm_chunk.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-03-01 05:32:42 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-03-26 02:39:14 +0100
commit107783006ca84781ac027f7f5c9023fbd6cde422 (patch)
treeef017552b350008acd1852182415e38e4c9e1abb /libavformat/webm_chunk.c
parentf289a6b721a9a1df1ef68d4b78c1307468b9a3e1 (diff)
downloadffmpeg-107783006ca84781ac027f7f5c9023fbd6cde422.tar.gz
avformat/webm_chunk: Cosmetics
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavformat/webm_chunk.c')
-rw-r--r--libavformat/webm_chunk.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libavformat/webm_chunk.c b/libavformat/webm_chunk.c
index 85d78a991f..6e48a36b24 100644
--- a/libavformat/webm_chunk.c
+++ b/libavformat/webm_chunk.c
@@ -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;
}