diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-01-12 03:52:40 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-01-12 04:10:32 +0400 |
commit | 794006f8fe403ccd2993513a8e4fbe885ef7f9fb (patch) | |
tree | 42edca40fc6f5ba24543f611086891ae4c6b6f68 /libavcodec/libgsm.c | |
parent | 4093d130d1934edcd098014d306492173527f1f6 (diff) | |
parent | e7d02b04dcfb65d1873b81bd3281442ac5ddec1d (diff) |
Merge remote-tracking branch 'qatar/master'
* qatar/master:
fft: init functions with INIT_XMM/YMM.
pcmenc: set frame_size to 0.
gsm demuxer: use generic seeking instead of a gsm-specific function.
gsm demuxer: return packets with only 1 gsm block at a time.
avcodec: add GSM parser
doc: Replace ffmpeg references in avserver config file by avconv.
doc: Fix names of av_log color environment variables.
Fix a bunch of platform name and other typos.
Add some missing changelog entries and release 0.8_beta2
No longer build libpostproc by default
wtv: fix memleaks during normal operation
threads: add CODEC_CAP_AUTO_THREADS for libvpx and xavs
Conflicts:
Changelog
RELEASE
cmdutils.c
configure
doc/ffserver.conf
doc/platform.texi
ffplay.c
libavcodec/Makefile
libavcodec/version.h
libavformat/wtv.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/libgsm.c')
-rw-r--r-- | libavcodec/libgsm.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libavcodec/libgsm.c b/libavcodec/libgsm.c index ed4962a3b2..23950c0c21 100644 --- a/libavcodec/libgsm.c +++ b/libavcodec/libgsm.c @@ -27,13 +27,10 @@ // The idiosyncrasies of GSM-in-WAV are explained at http://kbs.cs.tu-berlin.de/~jutta/toast.html -#include "avcodec.h" #include <gsm/gsm.h> -// gsm.h misses some essential constants -#define GSM_BLOCK_SIZE 33 -#define GSM_MS_BLOCK_SIZE 65 -#define GSM_FRAME_SIZE 160 +#include "avcodec.h" +#include "gsm.h" static av_cold int libgsm_encode_init(AVCodecContext *avctx) { if (avctx->channels > 1) { |