[FFmpeg-devel] [PATCH 00/16] Sierra VMD Audio Fixes and Clean-up

Justin Ruggles justin.ruggles
Tue Feb 22 20:05:19 CET 2011


This patch set fixes some errors in the Sierra VMD Audio decoder and does some code clean-up.

Justin Ruggles (16):
  vmdaudio: fix raw_block_size calculation.
  vmdaudio: remove duplicated code by merging mono and stereo decoding.
  cosmetics: reindent after previous commit
  cosmetics: remove debugging cruft
  vmdaudio: output audio samples for standalone silent blocks.
  vmdaudio: correct the silent chunk count in the first block.
  vmdaudio: use macros and a local variable for block type.
  vmdaudio: validate block type
  vmdaudio: set *data_size to zero when skipping small packets and add
    a     warning log message.
  vmdaudio: simplify buffer pointer and header size handling.
  vmdaudio: move all silence chunk handling to vmdaudio_loadsound().
  cosmetics: reindent after previous commit
  vmdaudio: simplify vmdaudio_decode_frame() by handling block_type
    first, then     making a single call to vmdaudio_loadsound().
  vmdaudio: add out_bps to VmdAudioContext and use it to replace
    hard-coded     sample size.
  vmdaudio: remove unnecessary fields from VmdAudioContext and use the 
       corresponding AVCodecContext fields instead.
  vmdaudio: output 8-bit audio as AV_SAMPLE_FMT_U8.

 libavcodec/vmdav.c        |  129 ++++++---------
 tests/ref/fate/sierra-vmd |  401 ++++++++++++++++++++++++---------------------
 2 files changed, 270 insertions(+), 260 deletions(-)




More information about the ffmpeg-devel mailing list