Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodger Combs <rodger.combs@gmail.com>2015-06-20 13:01:14 +0300
committerMichael Niedermayer <michaelni@gmx.at>2015-06-20 17:33:39 +0300
commit7e7256c3a4962613408b5549b8f643fcfdeea829 (patch)
tree3d3111231fd438e50d447a69e47ae541484368d7 /libavcodec/utils.c
parentf230b9671f9ea81617a87a5c4e49a9d7aa4ac085 (diff)
lavc: add little-endian ADPCM_THP decoder
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r--libavcodec/utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index a444a5ead8..78e14a29e1 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -3431,6 +3431,7 @@ int av_get_audio_frame_duration(AVCodecContext *avctx, int frame_bytes)
case AV_CODEC_ID_ADPCM_IMA_AMV:
return (frame_bytes - 8) * 2 / ch;
case AV_CODEC_ID_ADPCM_THP:
+ case AV_CODEC_ID_ADPCM_THP_LE:
if (avctx->extradata)
return frame_bytes * 14 / (8 * ch);
break;