[SCM] libav/experimental: 10l
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 15:39:48 UTC 2013
The following commit has been merged in the experimental branch:
commit 5062c202e23246ac630f51be616f3c0d446807e5
Author: Michael Niedermayer <michaelni at gmx.at>
Date: Sun Apr 4 20:00:04 2004 +0000
10l
Originally committed as revision 2963 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavformat/wav.c b/libavformat/wav.c
index 7588baf..495ae0f 100644
--- 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;
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list