From 992ab9087677786bdace91a27a58b7d27a8daef8 Mon Sep 17 00:00:00 2001 From: ejurgensen Date: Wed, 13 Mar 2019 21:44:16 +0100 Subject: [PATCH] [xcode] Fix missing "&" --- src/transcode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transcode.c b/src/transcode.c index 23ceb353..80bf619e 100644 --- a/src/transcode.c +++ b/src/transcode.c @@ -937,7 +937,7 @@ open_output(struct encode_ctx *ctx, struct decode_ctx *src_ctx) } // Clear AVFMT_NOFILE bit, it is not allowed as we will set our own AVIOContext - oformat->flags = ~AVFMT_NOFILE; + oformat->flags &= ~AVFMT_NOFILE; CHECK_NULL(L_XCODE, ctx->ofmt_ctx = avformat_alloc_context());