From e85c4a470651b58963095eb4dafb709313f33474 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 14 Sep 2016 02:31:11 +0200 Subject: [PATCH] avformat/flvenc: Add () around & Signed-off-by: Michael Niedermayer --- libavformat/flvenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c index a3623f86e7..9080f58813 100644 --- a/libavformat/flvenc.c +++ b/libavformat/flvenc.c @@ -368,7 +368,7 @@ static void flv_write_codec_header(AVFormatContext* s, AVCodecParameters* par) { avio_w8(pb, get_audio_flags(s, par)); avio_w8(pb, 0); // AAC sequence header - if (!par->extradata_size && flv->flags & FLV_AAC_SEQ_HEADER_DETECT) { + if (!par->extradata_size && (flv->flags & FLV_AAC_SEQ_HEADER_DETECT)) { PutBitContext pbc; int samplerate_index; int channels = flv->audio_par->channels