aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-06-24 13:32:27 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-06-24 13:32:27 +0200
commit2e1e10a6bb7dc8ed296ee1964aa784407f51d72c (patch)
treeba4f369cc17188987be588dceb72d938a52de6f8
parentba70563d5549fdbde4c254c9334a123c439ccc30 (diff)
downloadffmpeg-2e1e10a6bb7dc8ed296ee1964aa784407f51d72c.tar.gz
avformat/wavenc: use the bitexact flag from avformat instead of the one from avcodec
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/wavenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/wavenc.c b/libavformat/wavenc.c
index ef79a36c2e..6f66be1b19 100644
--- a/libavformat/wavenc.c
+++ b/libavformat/wavenc.c
@@ -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;