From 061f407e538b6107b2b9e78ff36edc4764ea3199 Mon Sep 17 00:00:00 2001 From: Kenan Gillet Date: Mon, 1 Dec 2008 22:07:00 +0000 Subject: More OKed parts of the QCELP decoder patch by Kenan Gillet, kenan.gillet gmail com Originally committed as revision 15975 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/mov.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavformat/mov.c') diff --git a/libavformat/mov.c b/libavformat/mov.c index 17973052e7..44fb3f2e3e 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -988,6 +988,7 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom) #endif /* no ifdef since parameters are always those */ case CODEC_ID_QCELP: + st->codec->channels= 1; /* really needed */ case CODEC_ID_AMR_NB: case CODEC_ID_AMR_WB: st->codec->frame_size= sc->samples_per_frame; -- cgit v1.2.3