aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2015-10-18 14:10:26 +0200
committerPaul B Mahol <onemda@gmail.com>2015-10-18 14:17:15 +0200
commit7bbd060324f05a32aa3cc748ea484abf499cfbd8 (patch)
tree8a63e4cad49c9b8d7ee9e226fcfb0ba20bd3a93e
parentbb1d3f1078e04b23fb5c202700163664ec2aa3ec (diff)
downloadffmpeg-7bbd060324f05a32aa3cc748ea484abf499cfbd8.tar.gz
avcodec/adpcm: increase max channels for ADPCM PSX to 8
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r--libavcodec/adpcm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c
index 11eb9745c7..2f632bdb6e 100644
--- a/libavcodec/adpcm.c
+++ b/libavcodec/adpcm.c
@@ -107,6 +107,9 @@ static av_cold int adpcm_decode_init(AVCodecContext * avctx)
case AV_CODEC_ID_ADPCM_EA_XAS:
max_channels = 6;
break;
+ case AV_CODEC_ID_ADPCM_PSX:
+ max_channels = 8;
+ break;
case AV_CODEC_ID_ADPCM_THP:
case AV_CODEC_ID_ADPCM_THP_LE:
max_channels = 14;