Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenan Gillet <kenan.gillet@gmail.com>2008-12-02 19:48:05 +0300
committerVitor Sessak <vitor1001@gmail.com>2008-12-02 19:48:05 +0300
commit73b458e354d1daa73989b9ff0296235556cb55c3 (patch)
tree02d3659818a10c5580a25dea4eba38b35430a9ab /libavformat
parent2ba0cdd527416c4ecffd67884b5e116b10bb51cb (diff)
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.c2
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;