Message ID | 20201019224335.11874-6-zane@zanevaniperen.com |
---|---|
State | Superseded |
Headers | show |
Series | Fix adpcm_swf support in WAV. | expand |
Context | Check | Description |
---|---|---|
andriy/x86_make | success | Make finished |
andriy/x86_make_fate | success | Make fate finished |
diff --git a/libavcodec/adpcmenc.c b/libavcodec/adpcmenc.c index 42b83c2b48..6ecdab96d6 100644 --- a/libavcodec/adpcmenc.c +++ b/libavcodec/adpcmenc.c @@ -552,7 +552,7 @@ static int adpcm_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, st = avctx->channels == 2; if (avctx->codec_id == AV_CODEC_ID_ADPCM_IMA_SSI || - avctx->codec_id == AV_CODEC_ID_ADPCM_IMA_APM) + avctx->codec_id == AV_CODEC_ID_ADPCM_IMA_APM) pkt_size = (frame->nb_samples * avctx->channels) / 2; else pkt_size = avctx->block_align;
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com> --- libavcodec/adpcmenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)