OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6748046
)
10l
author
Michael Niedermayer
<michaelni@gmx.at>
Sun, 4 Apr 2004 20:00:04 +0000
(20:00 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 4 Apr 2004 20:00:04 +0000
(20:00 +0000)
Originally committed as revision 2963 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/wav.c
patch
|
blob
|
history
diff --git
a/libavformat/wav.c
b/libavformat/wav.c
index
7588baf
..
495ae0f
100644
(file)
--- a/
libavformat/wav.c
+++ b/
libavformat/wav.c
@@
-109,6
+109,10
@@
int put_wav_header(ByteIOContext *pb, AVCodecContext *enc)
put_le16(pb, enc->extradata_size);
put_buffer(pb, enc->extradata, enc->extradata_size);
hdrsize += enc->extradata_size;
+ if(hdrsize&1){
+ hdrsize++;
+ put_byte(pb, 0);
+ }
}
return hdrsize;