diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2007-11-01 15:54:28 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2007-11-01 15:54:28 +0000 |
commit | c33ed2aaf953d0356ef7900f42952aa11d91f04b (patch) | |
tree | 8da2b82e4901231a8eab57a282f9fdb638eb76f9 | |
parent | 01370349966b26e23c556be7f049e1897a62d374 (diff) | |
download | ffmpeg-c33ed2aaf953d0356ef7900f42952aa11d91f04b.tar.gz |
remove unreachable code
Originally committed as revision 10896 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/adpcm.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c index bcfef368eb..005ac10ca2 100644 --- a/libavcodec/adpcm.c +++ b/libavcodec/adpcm.c @@ -158,11 +158,6 @@ static int adpcm_encode_init(AVCodecContext *avctx) if (avctx->channels > 2) return -1; /* only stereo or mono =) */ switch(avctx->codec->id) { - case CODEC_ID_ADPCM_IMA_QT: - av_log(avctx, AV_LOG_ERROR, "ADPCM: codec adpcm_ima_qt unsupported for encoding !\n"); - avctx->frame_size = 64; /* XXX: can multiple of avctx->channels * 64 (left and right blocks are interleaved) */ - return -1; - break; case CODEC_ID_ADPCM_IMA_WAV: avctx->frame_size = (BLKSIZE - 4 * avctx->channels) * 8 / (4 * avctx->channels) + 1; /* each 16 bits sample gives one nibble */ /* and we have 4 bytes per channel overhead */ @@ -446,8 +441,6 @@ static int adpcm_encode_frame(AVCodecContext *avctx, /* n = (BLKSIZE - 4 * avctx->channels) / (2 * 8 * avctx->channels); */ switch(avctx->codec->id) { - case CODEC_ID_ADPCM_IMA_QT: /* XXX: can't test until we get .mov writer */ - break; case CODEC_ID_ADPCM_IMA_WAV: n = avctx->frame_size / 8; c->status[0].prev_sample = (signed short)samples[0]; /* XXX */ |