aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/flvenc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-09-14 02:31:11 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2016-09-14 15:50:07 +0200
commite85c4a470651b58963095eb4dafb709313f33474 (patch)
tree1d17d4c70794054ccfefd66a84568d23167e0d79 /libavformat/flvenc.c
parent415f907ce8dcca87c9e7cfdc954b92df399d3d80 (diff)
downloadffmpeg-e85c4a470651b58963095eb4dafb709313f33474.tar.gz
avformat/flvenc: Add () around &
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/flvenc.c')
-rw-r--r--libavformat/flvenc.c2
1 files changed, 1 insertions, 1 deletions
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