comparison wav.c @ 1149:02e10bcc0e0d libavformat

Fix compilation with --disable-muxers. patch by Gianluigi Tiesi, mplayer==at==netfarm==dot==it
author diego
date Wed, 05 Jul 2006 22:01:49 +0000
parents e3a585883bbd
children d89d7ef290da
comparison
equal deleted inserted replaced
1148:fdae93c4ebd6 1149:02e10bcc0e0d
199 if (id == CODEC_ID_PCM_S16LE && bps == 32) 199 if (id == CODEC_ID_PCM_S16LE && bps == 32)
200 id = CODEC_ID_PCM_S32LE; 200 id = CODEC_ID_PCM_S32LE;
201 return id; 201 return id;
202 } 202 }
203 203
204 #ifdef CONFIG_MUXERS
205 typedef struct { 204 typedef struct {
206 offset_t data; 205 offset_t data;
207 offset_t data_end; 206 offset_t data_end;
208 } WAVContext; 207 } WAVContext;
209 208
209 #ifdef CONFIG_MUXERS
210 static int wav_write_header(AVFormatContext *s) 210 static int wav_write_header(AVFormatContext *s)
211 { 211 {
212 WAVContext *wav = s->priv_data; 212 WAVContext *wav = s->priv_data;
213 ByteIOContext *pb = &s->pb; 213 ByteIOContext *pb = &s->pb;
214 offset_t fmt; 214 offset_t fmt;