lavf: add AVFMT_FLAG_BITEXACT.
[ffmpeg.git] / libavformat / flacenc.c
index 83ddf44..8a23163 100644 (file)
@@ -84,7 +84,7 @@ static int flac_write_header(struct AVFormatContext *s)
         return ret;
 
     ret = flac_write_block_comment(s->pb, &s->metadata, 0,
-                                   codec->flags & CODEC_FLAG_BITEXACT);
+                                   s->flags & AVFMT_FLAG_BITEXACT);
     if (ret)
         return ret;