comparison libmpdemux/demux_realaud.c @ 11544:00744f154e9c

10l
author rtognimp
date Sun, 30 Nov 2003 19:04:27 +0000
parents 939ff11825de
children 82344f91104a
comparison
equal deleted inserted replaced
11543:9c3dbd952c2f 11544:00744f154e9c
231 ((short*)(sh->wf+1))[3]=0x14; 231 ((short*)(sh->wf+1))[3]=0x14;
232 ((short*)(sh->wf+1))[4]=0; 232 ((short*)(sh->wf+1))[4]=0;
233 break; 233 break;
234 case FOURCC_288: 234 case FOURCC_288:
235 mp_msg(MSGT_DEMUX,MSGL_V,"Audio: 28_8\n"); 235 mp_msg(MSGT_DEMUX,MSGL_V,"Audio: 28_8\n");
236 sh->wf->cbSize = 8/*+codecdata_length*/; 236 sh->wf->cbSize = 10/*+codecdata_length*/;
237 sh->wf = realloc(sh->wf, sizeof(WAVEFORMATEX)+sh->wf->cbSize); 237 sh->wf = realloc(sh->wf, sizeof(WAVEFORMATEX)+sh->wf->cbSize);
238 ((short*)(sh->wf+1))[0]=0; 238 ((short*)(sh->wf+1))[0]=0;
239 ((short*)(sh->wf+1))[1]=ra_priv->sub_packet_h; 239 ((short*)(sh->wf+1))[1]=ra_priv->sub_packet_h;
240 ((short*)(sh->wf+1))[2]=ra_priv->codec_flavor; 240 ((short*)(sh->wf+1))[2]=ra_priv->codec_flavor;
241 ((short*)(sh->wf+1))[3]=ra_priv->coded_framesize; 241 ((short*)(sh->wf+1))[3]=ra_priv->coded_framesize;