[FFmpeg-devel] [PATCH 05/17] segment.c: Remove trailing whitespace
Stephan Holljes
klaxa1337 at googlemail.com
Thu Jun 28 03:51:05 EEST 2018
Signed-off-by: Stephan Holljes <klaxa1337 at googlemail.com>
---
segment.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/segment.c b/segment.c
index 6c74b72..2dba287 100644
--- a/segment.c
+++ b/segment.c
@@ -28,7 +28,7 @@ void segment_save(struct Segment *seg, const char *filename)
{
AVFormatContext *ofmt_ctx = NULL;
int ret;
-
+
avformat_alloc_output_context2(&ofmt_ctx, NULL, NULL, filename);
if (!ofmt_ctx) {
av_log(NULL, AV_LOG_ERROR, "Could not allocate output to save Segment %d.\n", seg->id);
@@ -40,7 +40,7 @@ void segment_save(struct Segment *seg, const char *filename)
"Could not open output io context to save Segment %d: %s.\n", seg->id, av_err2str(ret));
return;
}
-
+
avio_write(ofmt_ctx->pb, seg->buf, seg->size);
avio_flush(ofmt_ctx->pb);
avio_close(ofmt_ctx->pb);
--
2.18.0
More information about the ffmpeg-devel
mailing list