diff options
author | Kenan Gillet <kenan.gillet@gmail.com> | 2008-12-02 16:48:05 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2008-12-02 16:48:05 +0000 |
commit | 73b458e354d1daa73989b9ff0296235556cb55c3 (patch) | |
tree | 02d3659818a10c5580a25dea4eba38b35430a9ab /libavformat | |
parent | 2ba0cdd527416c4ecffd67884b5e116b10bb51cb (diff) | |
download | ffmpeg-73b458e354d1daa73989b9ff0296235556cb55c3.tar.gz |
Commit last ok'ed parts of QCELP decoder and enable it.
patch by Kenan Gillet, kenan.gillet gmail com
Originally committed as revision 15978 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mov.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index 44fb3f2e3e..f015fda143 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -988,7 +988,9 @@ 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->frame_size= 160; st->codec->channels= 1; /* really needed */ + break; case CODEC_ID_AMR_NB: case CODEC_ID_AMR_WB: st->codec->frame_size= sc->samples_per_frame; |