• Reimar Döffinger's avatar
    MOV: Fix old-style muxed raw-audio data. · 50059bde
    Reimar Döffinger authored
    This patch fixes the sample from trac issue #522.
    The issue is that the mov demuxer insists on using its
    calculated sample_size (which is nonsense for old-style tracks)
    instead of the one encoded in the track.
    The old raw audio code should be using the value in stsz, because
    the size of a single sample never makes sense for the size of
    a full audio packet, whereas the new code will multiply the
    sample size by the chunk size, so it should use the calculated value.
    Signed-off-by: 's avatarReimar Döffinger <Reimar.Doeffinger@gmx.de>
    50059bde
isom.h 6.59 KB