[FFmpeg-devel] [PATCH] fix pts calculation for sample_fmt float

Sascha Sommer saschasommer
Wed Sep 16 15:19:28 CEST 2009


Hi,

On Samstag, 12. September 2009, Michael Niedermayer wrote:
> On Fri, Sep 11, 2009 at 11:07:03AM +0200, Sascha Sommer wrote:
> > Hi,
> >
> > I think that there is a problem with the PTS calculation in ffmpeg.c for
> > audio formats where one sample has a size other than 16 bits.
> >
> > Attached patch fixes it. No idea if other parts of the code also assume
> > 16bit samples.
> >
> > Regards
> >
> > Sascha
> >
> >  ffmpeg.c |    3 ++-
> >  1 file changed, 2 insertions(+), 1 deletion(-)
> > 1a842a46601b38f55482cafe4303fdaba886e9f9  ffmpeg_sfmt_float_pts_fix.patch
>
> ok
>

Applied.

Regards

Sascha



More information about the ffmpeg-devel mailing list