1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Reindent after r18372.

Originally committed as revision 18373 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Ronald S. Bultje 2009-04-08 03:06:08 +00:00
parent 6e9f56c127
commit 4bce3ba480

View File

@ -297,7 +297,7 @@ int put_wav_header(ByteIOContext *pb, AVCodecContext *enc)
if (waveformatextensible) {
put_le16(pb, 0xfffe);
} else {
put_le16(pb, enc->codec_tag);
put_le16(pb, enc->codec_tag);
}
put_le16(pb, enc->channels);
put_le32(pb, enc->sample_rate);
@ -378,10 +378,10 @@ int put_wav_header(ByteIOContext *pb, AVCodecContext *enc)
put_le16(pb, riff_extradata - riff_extradata_start);
}
put_buffer(pb, riff_extradata_start, riff_extradata - riff_extradata_start);
if(hdrsize&1){
hdrsize++;
put_byte(pb, 0);
}
if(hdrsize&1){
hdrsize++;
put_byte(pb, 0);
}
return hdrsize;
}