Justin Ruggles (20):
shorten: split reading of file header into a separate functions
shorten: skip some fields in the WAV header embedded in the shorten
header.
shorten: separate processing of audio commands from non-audio
commands
cosmetics: reindent
shorten: only calculate output size when returning decoded samples,
otherwise just set data_size to zero.
shorten: move decoding of prediction order and applying of global
offset to decode_subframe_lpc().
shorten: check for realloc failure
shorten: pass on error value from allocate_buffers() instead of
returning -1
shorten: move declaration of 'ret' to top of shorten_decode_frame()
shorten: validate block size
cosmetics: remove some needless commented-out stuff
shorten: merge decoding of FN_DIFF* subblocks into
decode_subframe_lpc()
shorten: add some comments
shorten: use bytestream functions to decode the embedded WAVE header
shorten: use av_clip_int16() for output sample clipping
shorten: check output buffer size before decoding
shorten: do not return after reading header
shorten: do not use block size to determine whether to read the
header.
shorten: enable CODEC_CAP_DELAY to flush any remaining frames in the
buffer.
shorten: decode all channels in the same call to
avcodec_decode_audio3().
libavcodec/shorten.c | 506 ++++++++++++++++++++--------------
tests/ref/fate/lossless-shortenaudio | 2 +-
2 files changed, 293 insertions(+), 215 deletions(-)
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel