[FFmpeg-cvslog] avformat/wavenc: use the bitexact flag from avformat instead of the one from avcodec
Michael Niedermayer
git at videolan.org
Tue Jun 24 13:37:30 CEST 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Jun 24 13:32:27 2014 +0200| [2e1e10a6bb7dc8ed296ee1964aa784407f51d72c] | committer: Michael Niedermayer
avformat/wavenc: use the bitexact flag from avformat instead of the one from avcodec
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2e1e10a6bb7dc8ed296ee1964aa784407f51d72c
---
libavformat/wavenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/wavenc.c b/libavformat/wavenc.c
index ef79a36..6f66be1 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;
More information about the ffmpeg-cvslog
mailing list