diff options
Diffstat (limited to 'libmpcodecs/ad_libdv.c')
-rw-r--r-- | libmpcodecs/ad_libdv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libmpcodecs/ad_libdv.c b/libmpcodecs/ad_libdv.c index b6f077b844..868d67303f 100644 --- a/libmpcodecs/ad_libdv.c +++ b/libmpcodecs/ad_libdv.c @@ -48,7 +48,7 @@ static int init(sh_audio_t *sh) WAVEFORMATEX *h=sh->wf; if(!h) return 0; - + sh->i_bps=h->nAvgBytesPerSec; sh->channels=h->nChannels; sh->samplerate=h->nSamplesPerSec; @@ -84,7 +84,7 @@ static int decode_audio(sh_audio_t *audio, unsigned char *buf, int minlen, int m if(xx<=0 || !dv_audio_frame) return 0; // EOF? dv_parse_header(decoder, dv_audio_frame); - + if(xx!=decoder->frame_size) mp_tmsg(MSGT_GLOBAL,MSGL_WARN,"[AD_LIBDV] Warning! Audio framesize differs! read=%d hdr=%d.\n", xx, decoder->frame_size); @@ -94,7 +94,7 @@ static int decode_audio(sh_audio_t *audio, unsigned char *buf, int minlen, int m /* Interleave the audio into a single buffer */ int i=0; int16_t *bufP=(int16_t*)buf; - + // printf("samples=%d/%d chans=%d mem=%d \n",decoder->audio->samples_this_frame,DV_AUDIO_MAX_SAMPLES, // decoder->audio->num_channels, decoder->audio->samples_this_frame*decoder->audio->num_channels*2); |