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

Sascha Sommer saschasommer
Fri Sep 11 11:07:03 CEST 2009


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg_sfmt_float_pts_fix.patch
Type: text/x-diff
Size: 817 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090911/f229f8e5/attachment.patch>



More information about the ffmpeg-devel mailing list