Commit 30f8da29 authored by Justin Ruggles's avatar Justin Ruggles

libilbc: set channel layout

parent 0fd1ddf1
......@@ -21,6 +21,7 @@
#include <ilbc.h>
#include "libavutil/audioconvert.h"
#include "avcodec.h"
#include "libavutil/common.h"
#include "libavutil/opt.h"
......@@ -69,6 +70,7 @@ static av_cold int ilbc_decode_init(AVCodecContext *avctx)
avctx->coded_frame = &s->frame;
avctx->channels = 1;
avctx->channel_layout = AV_CH_LAYOUT_MONO;
avctx->sample_rate = 8000;
avctx->sample_fmt = AV_SAMPLE_FMT_S16;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment