[FFmpeg-cvslog] avformat/flvenc: Add () around &

Michael Niedermayer git at videolan.org
Wed Sep 14 16:54:52 EEST 2016


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Wed Sep 14 02:31:11 2016 +0200| [e85c4a470651b58963095eb4dafb709313f33474] | committer: Michael Niedermayer

avformat/flvenc: Add () around &

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e85c4a470651b58963095eb4dafb709313f33474
---

 libavformat/flvenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c
index a3623f8..9080f58 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



More information about the ffmpeg-cvslog mailing list