From f1f6d3615f3f9a81f41905ea0c8116b4985870e4 Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Mon, 31 Oct 2011 13:41:47 -0400 Subject: avcodec: add support for planar signed 8-bit PCM. It is found in some 8svx files (e.g. ones created by SoX). Currently the decoder reuses the 8svx functions because we already have handling of a single large planar packet for the compressed 8svx codecs. --- libavformat/iff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/iff.c') diff --git a/libavformat/iff.c b/libavformat/iff.c index 5e8f1689c4..e621373862 100644 --- a/libavformat/iff.c +++ b/libavformat/iff.c @@ -220,7 +220,7 @@ static int iff_read_header(AVFormatContext *s, switch(compression) { case COMP_NONE: - st->codec->codec_id = CODEC_ID_PCM_S8; + st->codec->codec_id = CODEC_ID_PCM_S8_PLANAR; break; case COMP_FIB: st->codec->codec_id = CODEC_ID_8SVX_FIB; -- cgit v1.2.3