git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ba70563
)
avformat/wavenc: use the bitexact flag from avformat instead of the one from avcodec
author
Michael Niedermayer
<michaelni@gmx.at>
Tue, 24 Jun 2014 11:32:27 +0000
(13:32 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 24 Jun 2014 11:32:27 +0000
(13:32 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/wavenc.c
patch
|
blob
|
history
diff --git
a/libavformat/wavenc.c
b/libavformat/wavenc.c
index
ef79a36
..
6f66be1
100644
(file)
--- 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;