[FFmpeg-devel] [PATCH]Allow last mov chunk to have an arbitrary number of samples

Michael Niedermayer michaelni at gmx.at
Thu Dec 1 21:01:06 CET 2011

On Thu, Dec 01, 2011 at 05:33:42PM +0100, Carl Eugen Hoyos wrote:
> Hi!
> Attached patch fixes ticket 673 for me. The number of samples in the last 
> chunk (5760) can be divided through the number of samples in one MP3 frame 
> (1152) but not through samples_per_frame (5760). A stricter check would be to 
> try to divide by samples in one frame, but I am not sure how to find out the 
> number of samples per frame for an arbitrary codec.
> Please comment, Carl Eugen

LGTM if noone else replies


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20111201/04db5772/attachment.asc>

More information about the ffmpeg-devel mailing list