diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-04-07 18:18:37 -0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-11-12 10:33:21 -0500 |
commit | ce842029ce97ea3eb49854fc71ad288246eb76d1 (patch) | |
tree | 44ec19083aa26d8b5c6697c876ecd0d9a8540419 /libavformat | |
parent | 60a585304c285f44a233a4721238d5ad81697627 (diff) | |
download | ffmpeg-ce842029ce97ea3eb49854fc71ad288246eb76d1.tar.gz |
rsodec: set channel layout
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/rsodec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/rsodec.c b/libavformat/rsodec.c index f5bcebb7f2..c3016ca332 100644 --- a/libavformat/rsodec.c +++ b/libavformat/rsodec.c @@ -20,6 +20,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/channel_layout.h" #include "libavutil/intreadwrite.h" #include "avformat.h" #include "internal.h" @@ -63,6 +64,7 @@ static int rso_read_header(AVFormatContext *s) st->codec->codec_tag = id; st->codec->codec_id = codec; st->codec->channels = 1; + st->codec->channel_layout = AV_CH_LAYOUT_MONO; st->codec->sample_rate = rate; avpriv_set_pts_info(st, 64, 1, rate); |