[Ffmpeg-devel] Wavpack decoded packet size?
Tue Oct 10 00:06:55 CEST 2006
Uoti Urpala wrote:
> Is there any size limit on decoded wavpack packet size that would
> prevent wavpack.c from overflowing AVCODEC_MAX_AUDIO_FRAME_SIZE? I
> didn't notice anything in wavpack.c with a quick look, but didn't try to
> construct an example to verify.
The maximum size of WavPack blocks is 1mb, whether decoded or encoded.
However, the only way to get blocks that big is by using the --blocksize
switch to override the default (which is 1 second of audio maximum). So,
it seems like WavPack blocks will not normally overrun
AVCODEC_MAX_AUDIO_FRAME_SIZE (assuming 16-bit sample decoding).
> Time stamps for demuxed wavpack packets seem to be missing and seeking
> is enabled but broken.
I'll try to take a look at this and figure out what's going on.
More information about the ffmpeg-devel