summaryrefslogtreecommitdiff
path: root/libavformat/ffmdec.c
Commit message (Collapse)AuthorAge
* avserver: move avserver-specific code from ffmdec.c to avserver.cMans Rullgard2012-10-16
| | | | | | | | This way avserver only depends on the data structures of the ffm demuxer, which it already does, and not also on private functions being exported by the library. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ffm: do not write or read the audio sample formatJustin Ruggles2012-10-06
|
* avformat: Remove non-compiling and/or silly commented-out printf/av_log ↵Diego Biurrun2012-10-01
| | | | statements
* avformat: Drop pointless "format" from container long namesDiego Biurrun2012-07-30
|
* mpegvideo_enc: add chroma/luma_elim_threshold private options.Anton Khirnov2012-02-29
| | | | Deprecate corresponding AVCodecContext fields.
* ffmdec: Check return value of avio_seek and avoid modifying state if it failsJoakim Plate2012-02-10
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* lavf: remove AVFormatParameters from AVFormatContext.read_header signatureAnton Khirnov2012-01-27
|
* lavu: replace int/float punning functionsMans Rullgard2011-12-11
| | | | | | | | | | | | | | | | | | The existing functions defined in intfloat_readwrite.[ch] are both slow and incorrect (infinities are not handled). This introduces a new header with fast, inline conversion functions using direct union punning assuming an IEEE-754 system, an assumption already made throughout the code. The one use of Intel/Motorola extended 80-bit format is replaced by simpler code sufficient under the present constraints (positive normal values). The old functions are marked deprecated and retained for compatibility. Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavf: make av_set_pts_info private.Anton Khirnov2011-11-30
| | | | It's supposed to be called only from (de)muxers.
* lavf,lavd: replace av_new_stream->avformat_new_stream part I.Anton Khirnov2011-10-19
| | | | | Trivial replacements with sed are done in this commit: sed 's/av_new_stream(\([^)]*\), 0)/avformat_new_stream(\1, NULL)/'
* libx264: add 'direct-pred' private optionAnton Khirnov2011-09-07
| | | | Deprecate AVCodecContext.directpred
* libx264: add 'partitions' private optionAnton Khirnov2011-09-07
| | | | Deprecate AVCodecContext.partitions.
* Rename ffserver to avserver.Anton Khirnov2011-08-09
|
* lavf: use designated initialisers for all (de)muxers.Anton Khirnov2011-07-17
| | | | It's more readable and less prone to breakage.
* lavf: deprecate AVStream.quality.Anton Khirnov2011-07-06
| | | | AVStream is no place for it and it's unused outside of ffmpeg anyway.
* Do not include intfloat_readwrite.h in avutil.hMans Rullgard2011-07-03
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace DEBUG_SEEK/DEBUG_SI + av_log combinations by av_dlog.Diego Biurrun2011-06-10
|
* Remove some disabled printf debug cruft.Diego Biurrun2011-04-29
|
* avio: introduce an AVIOContext.seekable fieldAnton Khirnov2011-04-03
| | | | Use it instead of url_is_streamed and AVIOContext.is_streamed.
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavf: replace avio_seek(SEEK_CUR) with avio_skip where it makes senseAnton Khirnov2011-03-16
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: deprecate url_feofAnton Khirnov2011-03-07
| | | | | | AVIOContext.eof_reached should be used directly instead. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: avio_ prefix for url_fsizeAnton Khirnov2011-03-07
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: add avio_tell macro as a replacement for url_ftellAnton Khirnov2011-03-04
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf: deprecate get_strz() in favor of avio_get_strAnton Khirnov2011-03-04
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf: replace all uses of url_fskip with avio_seekAnton Khirnov2011-03-01
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: avio_ prefix for url_fseekAnton Khirnov2011-03-01
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: avio_ prefixes for get_* functionsAnton Khirnov2011-02-21
| | | | | | | | | | | | | | In the name of consistency: get_byte -> avio_r8 get_<type> -> avio_r<type> get_buffer -> avio_read get_partial_buffer will be made private later get_strz is left out becase I want to change it later to return something useful. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: rename ByteIOContext to AVIOContext.Anton Khirnov2011-02-20
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Replace dprintf with av_dlogLuca Barbato2011-01-29
| | | | dprintf clashes with POSIX.1-2008
* Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.Diego Elio Pettenò2011-01-26
| | | | | This also lists the objects from those two libraries as internal (by adding the ff_ prefix) so that they can then be hidden via linker scripts.
* Move ffm_close function up to avoid a forward declaration.Reimar Döffinger2010-07-25
| | | | Originally committed as revision 24491 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ffmdec: Do not manually free streams on read_header error, this is alwaysReimar Döffinger2010-07-25
| | | | | | | | handled by upper layers. Fixes double-frees (issue 2003). Instead call ffm_close to ensure rc_eqs are freed also in the error case. Originally committed as revision 24490 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY.Jean-Daniel Dupas2010-03-31
| | | | | | Patch by Jean-Daniel Dupas, devlists shadowlab org Originally committed as revision 22744 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-30
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cast sample_fmt (as read from bitstream as a 16-bit value) to int16, so thatRonald S. Bultje2010-03-17
| | | | | | negative values, e.g. SAMPLE_FMT_NONE (-1), are read correctly also. Originally committed as revision 22585 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix ffm_close return type.Benoit Fouet2010-03-10
| | | | Originally committed as revision 22432 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix memory leak in FFM demuxerVitor Sessak2010-03-10
| | | | Originally committed as revision 22431 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix breakage introduced by setting the sample_fmt to SAMPLE_FMT_NONE ↵Benjamin Larsson2009-12-14
| | | | | | | | (r20623). This makes streaming to ffserver work again. Originally committed as revision 20869 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Update ffserver to include all basic x264 parameters in .ffm files.Jason Garrett-Glaser2009-11-24
| | | | Originally committed as revision 20601 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove useless duplication of what av_new_stream() already doesAurelien Jacobs2009-04-10
| | | | Originally committed as revision 18416 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix compilation when DEBUG_SEEK is definedBaptiste Coudurier2009-03-21
| | | | Originally committed as revision 18099 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix valid seeking rangeBaptiste Coudurier2009-03-21
| | | | Originally committed as revision 18098 to svn://svn.ffmpeg.org/ffmpeg/trunk
* resync ffm if error in streamBaptiste Coudurier2009-03-20
| | | | Originally committed as revision 18065 to svn://svn.ffmpeg.org/ffmpeg/trunk
* typo, fix eof checkBaptiste Coudurier2009-03-20
| | | | Originally committed as revision 18064 to svn://svn.ffmpeg.org/ffmpeg/trunk
* do not write ffm write index by default, detect if file is being written and ↵Baptiste Coudurier2009-03-20
| | | | | | return EOF Originally committed as revision 18063 to svn://svn.ffmpeg.org/ffmpeg/trunk
* return error if read failedBaptiste Coudurier2009-02-12
| | | | Originally committed as revision 17173 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change ffm_write_write_index to return int, and return if error occured.Patrik Kullman2009-02-12
| | | | | | Patch by Patrik Kullman, patrik at yes dot nu Originally committed as revision 17172 to svn://svn.ffmpeg.org/ffmpeg/trunk
* return eof/error if only ffm header has been written, should fix #815Baptiste Coudurier2009-02-01
| | | | Originally committed as revision 16924 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Remove pointless period after copyright statement non-sentences.Diego Biurrun2009-01-19
| | | | Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk