[vlc-devel] [PATCH 10/11] demux: wav: don't increment pts past data chunk bundary
Thomas Guillem
thomas at gllm.fr
Fri Mar 13 17:07:06 CET 2020
On Fri, Mar 13, 2020, at 10:24, Jean-Baptiste Kempf wrote:
>
>
> On Fri, Mar 13, 2020, at 10:19, Francois Cartegnie wrote:
> > Le 12/03/2020 à 15:05, Thomas Guillem a écrit :
> >
> > > if( p_sys->i_data_size > 0 )
> > > {
> > > @@ -99,7 +101,11 @@ static int Demux( demux_t *p_demux )
> > >
> > > /* Don't read past data chunk boundary */
> > > if ( i_end < i_pos + i_read_size )
> > > + {
> > > i_read_size = i_end - i_pos;
> > > + i_read_samples = ( p_sys->i_frame_size - i_read_size )
> > > + * p_sys->i_frame_samples / p_sys->i_frame_size;
> > > + }
> > >
> >
> > AFAIK RIFF does not carry only uncompressed audio
>
> DTS and AC3 exist in wav.
Yes and it's not handled by our module.
It handle only PCM (for now).
>
>
> --
> Jean-Baptiste Kempf - President
> +33 672 704 734
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
More information about the vlc-devel
mailing list