summaryrefslogtreecommitdiffstats
path: root/libavcodec/libgsm.c
Commit message (Collapse)AuthorAgeFilesLines
* cosmetics: Align codec declarationsMartin Storsjö2012-04-061-6/+8
| | | | | | | Also break some long lines, remove codec function placeholder comments and add spaces in sample/pixel format lists. Signed-off-by: Martin Storsjö <martin@martin.st>
* libgsmenc: use AVCodec.encode2()Justin Ruggles2012-03-201-10/+24
|
* check for coded_frame allocation failure in several audio encodersJustin Ruggles2012-02-251-0/+4
|
* audio encoders: do not set coded_frame->key_frame.Justin Ruggles2012-02-251-1/+0
| | | | it is already set in avcodec_alloc_frame()
* avcodec: add GSM parserJustin Ruggles2012-01-111-5/+2
| | | | | The WAVE demuxer returns packets with many blocks per frame, which needs to be parsed into single blocks. This has a side-effect of fixing the timestamps.
* libgsm: Reset the MS mode of GSM in the flush functionMartin Storsjö2011-12-151-0/+3
| | | | | | | | | | The mode is set in libgsm_decode_init, but the decoder object is simply destroyed and recreated in the flush function - therefore the mode has to be set again. This fixes playback using the libgsm_ms decoder in avplay. Signed-off-by: Martin Storsjö <martin@martin.st>
* libgsm: Set options on the right objectMartin Storsjö2011-12-151-1/+1
| | | | | | | This fixes regressions in decoding using the libgsm_ms decoder, broken since 0eea21294354. Signed-off-by: Martin Storsjö <martin@martin.st>
* Add avcodec_decode_audio4().Justin Ruggles2011-12-021-18/+40
| | | | | | Deprecate avcodec_decode_audio3(). Implement audio support in avcodec_default_get_buffer(). Implement the new audio decoder API in all audio decoders.
* libgsm: add flush function to reset the decoder state when seekingJustin Ruggles2011-11-021-0/+7
|
* libgsm: simplify decoding by using a loopJustin Ruggles2011-11-021-7/+8
|
* gsm: log error message when packet is too smallJustin Ruggles2011-11-021-1/+5
|
* libgsmdec: do not needlessly set *data_size to 0Justin Ruggles2011-11-021-1/+0
|
* libgsmdec: check output buffer size before decodingJustin Ruggles2011-11-021-2/+9
|
* cosmetics: reindent and pretty-printJustin Ruggles2011-09-251-14/+14
|
* libgsm: split init and close fuctions for encoder and decoder.Justin Ruggles2011-09-251-20/+49
| | | | | The decoder shouldn't be allocating coded_frame. It's also cleaner to split them than to check avctx->codec->encode and avctx->codec->decode.
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-291-30/+24
| | | | It's more readable and less prone to breakage.
* libgsm: Drop const qualifier to silence compiler warning.Diego Biurrun2011-07-071-1/+1
| | | | | libavcodec/libgsm.c:148: warning: passing argument 2 of ‘gsm_decode’ discards qualifiers from pointer target type /usr/include/gsm/gsm.h:68: note: expected ‘gsm_byte *’ but argument is of type ‘const uint8_t *’
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.Diego Elio Pettenò2011-01-261-4/+4
| | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enumStefano Sabatini2010-11-121-3/+3
| | | | | | SampleFormat with AVSampleFormat. Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change all occurences of "inofficial" to "unofficial" in code, commentsRodney Baker2010-07-031-2/+2
| | | | | | | | and options. Keep old options until next major version bump. Patch by Rodney Baker, rodney d baker a iinet d net d au Originally committed as revision 24021 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-201-1/+1
| | | | | | | | Passing an explicit filename to this command is only necessary if the documentation in the @file block refers to a file different from the one the block resides in. Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-301-4/+4
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix compilation with --enable-libgsm on Gentoo and OpenSUSE.Ramiro Polla2010-02-131-1/+1
| | | | | | Patch by Ramiro Originally committed as revision 21786 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make sample_fmts and channel_layouts compound literals const to reduce size ofReimar Döffinger2009-09-061-2/+2
| | | | | | .data section. Originally committed as revision 19787 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes anThilo Borgmann2009-04-071-1/+3
| | | | | | | | | | | AVPacket argument rather than a const uint8_t *buf + int buf_size. This allows passing of packet-specific flags from demuxer to decoder, such as the keyframe flag, which appears necessary to playback corePNG P-frames. Patch by Thilo Borgmann thilo.borgmann googlemail com, see also the thread "Google Summer of Code participation" on the mailinglist. Originally committed as revision 18351 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-011-1/+1
| | | | | | | Otherwise doxygen complains about ambiguous filenames when files exist under the same name in different subdirectories. Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix memory leak in libgsm wrapper.Martin Storsjö2008-11-101-0/+1
| | | | | | Patch by Martin Storsjö, martin at martin dot st Originally committed as revision 15798 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Modify all codecs to report their supported input and output sample format(s).Peter Ross2008-07-311-0/+4
| | | | Originally committed as revision 14482 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make AVCodec long_names definition conditional depending on CONFIG_SMALL.Stefano Sabatini2008-06-121-4/+4
| | | | Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
* indentMichael Niedermayer2008-04-291-14/+14
| | | | Originally committed as revision 13021 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix decoding of:Michael Niedermayer2008-04-291-0/+11
| | | | | | | | | | | | http://samples.mplayerhq.hu/A-codecs/msgsm/levis.avi http://samples.mplayerhq.hu/A-codecs/msgsm/wernfried_1.avi partially fix decoding of: http://samples.mplayerhq.hu/A-codecs/GSM/sample-gsm-8000.gsm Allow the user to encode non standard samplerates by using -strict Originally committed as revision 13020 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add some long names to AVCodec declarations.Stefano Sabatini2008-04-291-0/+4
| | | | | | patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 13017 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make sure some value is always returned via data_sizeMichel Bardiaux2008-04-251-3/+2
| | | | Originally committed as revision 12955 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Allow bitrates zero and 13200 (needed for decoding mov and aiff)Michel Bardiaux2008-04-251-1/+16
| | | | Originally committed as revision 12953 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Apply 'cold' attribute to init/uninit functions in libavcodecZuxy Meng2008-03-211-2/+2
| | | | Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: misc typo fixesDiego Biurrun2007-07-281-1/+1
| | | | Originally committed as revision 9815 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Give names of external library decoders/encoders a lib prefixDiego Biurrun2007-06-061-4/+4
| | | | | | in the ffmpeg/ffplay output. Originally committed as revision 9227 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add support for MS-GSM codecMichel Bardiaux2007-02-201-15/+63
| | | | Originally committed as revision 8039 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change license headers to say 'FFmpeg' instead of 'this program/this library'Diego Biurrun2006-10-071-4/+6
| | | | | | and fix GPL/LGPL version mismatches. Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Update licensing information: The FSF changed postal address.Diego Biurrun2006-01-121-1/+1
| | | | Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
* COSMETICS: Remove all trailing whitespace.Diego Biurrun2005-12-171-3/+3
| | | | Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
* libgsm warper by (Alban Bedel: albeu, free fr)Michael Niedermayer2005-05-221-0/+95
Originally committed as revision 4302 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud