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

Michael Niedermayer michaelni
Sat Sep 12 03:31:41 CEST 2009


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


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Opposition brings concord. Out of discord comes the fairest harmony.
-- Heraclitus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090912/a77b2a36/attachment.pgp>



More information about the ffmpeg-devel mailing list