summaryrefslogtreecommitdiff
path: root/libavformat/mov.c
diff options
context:
space:
mode:
authorKenan Gillet <kenan.gillet@gmail.com>2008-12-01 22:07:00 +0000
committerVitor Sessak <vitor1001@gmail.com>2008-12-01 22:07:00 +0000
commit061f407e538b6107b2b9e78ff36edc4764ea3199 (patch)
tree628e95f9f854531dc56da7c3f0dab78abe376ef8 /libavformat/mov.c
parentb8438f5f48c6aab06c1128229975286799d18861 (diff)
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
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r--libavformat/mov.c1
1 files changed, 1 insertions, 0 deletions
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;