Commit 2e1e10a6 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/wavenc: use the bitexact flag from avformat instead of the one from avcodec

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent ba70563d
......@@ -271,7 +271,7 @@ static void peak_write_chunk(AVFormatContext *s)
peak_write_frame(s);
memset(timestamp, 0, 28);
if (!(s->streams[0]->codec->flags & CODEC_FLAG_BITEXACT)) {
if (!(s->flags & AVFMT_FLAG_BITEXACT)) {
av_log(s, AV_LOG_INFO, "Writing local time and date to Peak Envelope Chunk\n");
now0 = av_gettime();
now_secs = now0 / 1000000;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment