summaryrefslogtreecommitdiff
path: root/libavcodec/parser.c
Commit message (Collapse)AuthorAge
* fix av_dlog call with non-AVClass structMaksym Veremeyenko2012-01-16
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-12-13
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: doxygen: misc consistency, spelling and wording fixes vcr1: drop unnecessary emms_c() calls without MMX code Replace all uses of av_close_input_file() with avformat_close_input(). lavf: add avformat_close_input(). lavf: deprecate av_close_input_stream(). lavf doxy: add some basic demuxing documentation. lavf doxy: add some general lavf information. lavf doxy: add misc utility functions to a group. lavf doxy: add av_guess_codec/format to the encoding group. lavf doxy: add core functions to a doxy group. Add basic libavdevice documentation. lavc: convert error_recognition to err_recognition. avconv: update -map option help text x86: Require 7 registers for the cabac asm x86: bswap: remove test for bswap instruction bswap: make generic implementation more compiler-friendly h264: remove useless cast proresdec: fix decode_slice() prototype Conflicts: configure doc/APIchanges ffprobe.c libavcodec/avcodec.h libavcodec/celp_math.h libavcodec/h264.c libavfilter/src_movie.c libavformat/anm.c libavformat/avformat.h libavformat/version.h libavutil/avstring.h libavutil/bswap.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * doxygen: misc consistency, spelling and wording fixesDiego Biurrun2011-12-12
| |
| * Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.Stefano Sabatini2011-05-02
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | Replace some commented-out debug printf() / av_log() messages with av_dlog().Diego Biurrun2011-09-01
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*Stefano Sabatini2011-05-02
| |
* | Merge remote branch 'qatar/master'Michael Niedermayer2011-04-30
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: Duplicate AMV: disable DR1 and don't override EMU_EDGE Duplicate lavf: inspect more frames for fps when container time base is coarse Wrong and we have correct fix: Fix races in default av_log handler vorbis: Replace sized int_fast integer types with plain int/unsigned. Remove disabled non-optimized code variants. NO bswap.h: Remove disabled code. Remove some disabled printf debug cruft. Replace more disabled printf() calls by av_dlog(). NO tests: Remove disabled code. NO Replace some commented-out debug printf() / av_log() messages with av_dlog(). vorbisdec: Replace some sizeof(type) by sizeof(*variable). NO vf_fieldorder: Replace FFmpeg by Libav in license boilerplate. Conflicts: libavcodec/h264.c libavcodec/vorbisdec.c libavutil/log.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Replace more disabled printf() calls by av_dlog().Diego Biurrun2011-04-29
| |
| * Replace some commented-out debug printf() / av_log() messages with av_dlog().Diego Biurrun2011-04-29
| |
| * avparser: don't av_malloc(0).Ronald S. Bultje2011-04-26
| | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* | Revert "avparser: don't av_malloc(0)."Michael Niedermayer2011-04-29
| | | | | | | | | | | | This hack is no longer needed. This reverts commit 191e08d113ef1d089c45c5fb6c95491e16dde86e.
* | avparser: don't av_malloc(0).Ronald S. Bultje2011-04-27
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote branch 'qatar/master'Michael Niedermayer2011-04-20
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (37 commits) In avcodec_open(), set return code to an error value only when an error occurs instead of unconditionally at the start of the function. lavc: remove reference to opt.h from Makefile. prefer avio_check() over url_exist() avio: remove AVIO_* access symbols in favor of new AVIO_FLAG_* symbols lavu: remove misc disabled cruft lavu: remove FF_API_OLD_IMAGE_NAMES cruft NOT PULLED lavu: remove FF_API_OLD_EVAL_NAMES cruft lavc: remove misc disabled cruft. lavc: remove the FF_API_INOFFICIAL cruft. lavc: remove the FF_API_SET_STRING_OLD cruft. lavc: remove the FF_API_USE_LPC cruft. lavc: remove the FF_API_SUBTITLE_OLD cruft. lavc: remove the FF_API_VIDEO_OLD cruft. lavc: remove the FF_API_AUDIO_OLD cruft. lavc: remove the FF_API_OPT_SHOW cruft. lavc: remove the FF_API_MM_FLAGS cruft. lavf: remove misc disabled cruft. lavf: remove FF_API_INDEX_BUILT cruft lavf: remove FF_API_URL_CLASS cruft. lavf: remove FF_API_SYMVER cruft ... Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavc: remove misc disabled cruft.Anton Khirnov2011-04-19
| |
* | Merge remote branch 'qatar/master'Michael Niedermayer2011-04-07
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: Fix parser: mark av_parser_parse() for removal on next major bump swscale: postpone sws_getContext removal until next major bump. fate: add AAC LATM test mmst: get rid of deprecated AVERRORs lxfdec: use AVERROR(ENOMEM) instead of deprecated AVERROR_NOMEM. Reemove remaining uses of deprecated AVERROR_NOTSUPP. REIMPLEMENTED in 2 lines of code: lavf: if id3v2 tag is present and all else fails, guess by file extension Conflicts: libavformat/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Fix parser: mark av_parser_parse() for removal on next major bumpBrad2011-04-06
| | | | | | | | Fix the breakage introduced with 9073ca6c6ebb9e3e9b60d968b7aa16cc8b6d558d
* | Merge remote branch 'qatar/master'Michael Niedermayer2011-04-03
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: Fixed-point MDCT with 32-bit unscaled output lavc: deprecate rate_emu lavc: mark hurry_up for removal on next major bump parser: mark av_parser_parse() for removal on next major bump lavc: add missing audioconvert includes jvdec: don't use deprecated CODEC_TYPE_*/PKT_FLAG_KEY Conflicts: libavcodec/h264.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * parser: mark av_parser_parse() for removal on next major bumpAnton Khirnov2011-04-02
| | | | | | | | | | Fixes build with the bump, since the prototype is already marked for removal.
| * Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
|/ | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Fix index_entries pos:Michael Chinen2010-09-27
| | | | | | | | It was being set wrong for files with data_offset > 0 Patch by Michael Chinen, mchinen gmail Originally committed as revision 25239 to svn://svn.ffmpeg.org/ffmpeg/trunk
* saner default value for convergence_durationAurelien Jacobs2010-07-02
| | | | Originally committed as revision 24002 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix typo.Jai Menon2010-04-21
| | | | Originally committed as revision 22936 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace @returns by @return.Benoit Fouet2010-03-30
| | | | Originally committed as revision 22729 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fetch timestamp for the first frame of field only if frame_offset andBaptiste Coudurier2009-06-21
| | | | | | | | next_frame_offset are not set, because second field has next frame offset set but not frame_offset, otherwise this wrongly fetch timestamp for the second field. Originally committed as revision 19244 to svn://svn.ffmpeg.org/ffmpeg/trunk
* do not reference remainder packets in the parser, fix timestamps fetchingBaptiste Coudurier2009-05-26
| | | | Originally committed as revision 18958 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add handling of frame position in the parser.Ivan Schreter2009-03-05
| | | | Originally committed as revision 17823 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Consider all packets in the parser, not just ones with timestamps,Michael Niedermayer2009-03-02
| | | | | | this should greatly simplify handling of packet pos. Originally committed as revision 17733 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Favor container packets that end after the first byte of the accessMichael Niedermayer2009-03-02
| | | | | | | unit in fetch_timestamp(). This should make no difference for valid streams but may help invalid ones, also its needed for future changes. Originally committed as revision 17732 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Call ff_fetch_timestamp() for mpeg1/2 when a picture start code is found insteadMichael Niedermayer2009-03-02
| | | | | | | | | | | | of calling it at the end of a frame with a large negative offset. This significantly reduces the maximal distance in container packets between the point where the first byte of the "access unit" was stored and where we call ff_fetch_timestamp() thus reducing the constraints on our parser. Also change the parser from next_frame_offset to cur, this is needed because now the reference is from container packet start instead of frame start. (i previously misinterpreted this as bug) Originally committed as revision 17731 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add timestamp computation if values are exported by decoder.Ivan Schreter2009-02-24
| | | | | | Patch by Ivan Schreter, schreter gmx net Originally committed as revision 17574 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add convergence_duration to AVCodecParserContext.Ivan Schreter2009-02-19
| | | | | | Patch by Ivan Schreter, schreter gmx net Originally committed as revision 17468 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add key_frame to AVCodecParserContext, used in libavformat.Ivan Schreter2009-02-18
| | | | | | | | Initialized to -1 in parser.c for backward compatibility. Patch by Ivan Schreter, schreter gmx net Originally committed as revision 17442 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
* add state64 field to ParseContext storing last 8 bytes, to be able to check ↵Baptiste Coudurier2008-10-23
| | | | | | for longer startcodes Originally committed as revision 15671 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use av_freep() in ff_parse_close().Michael Niedermayer2008-10-20
| | | | Originally committed as revision 15654 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark list heads static. Patch by Diego PettenòDiego Pettenò2008-10-04
| | | | Originally committed as revision 15548 to svn://svn.ffmpeg.org/ffmpeg/trunk
* indentMichael Niedermayer2008-06-02
| | | | Originally committed as revision 13628 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Only store timestamps when there are timestamps.Michael Niedermayer2008-06-02
| | | | Originally committed as revision 13627 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Our MPEG-TS demuxer does not send complete PES packets but sends themMichael Niedermayer2008-06-02
| | | | | | piecewise, thus the end values cannot be used for associating timestamps. Originally committed as revision 13626 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmeticMichael Niedermayer2008-06-02
| | | | Originally committed as revision 13624 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Allow matching timestamps to be removed by fetch_timestamp().Michael Niedermayer2008-06-02
| | | | Originally committed as revision 13623 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add off argument so that fetch_timestamp can search for timestampsMichael Niedermayer2008-06-02
| | | | | | not associated with the first byte of access units. Originally committed as revision 13622 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorize fetch_timestamp() into its own functionMichael Niedermayer2008-06-02
| | | | Originally committed as revision 13621 to svn://svn.ffmpeg.org/ffmpeg/trunk
* unused variableMichael Niedermayer2008-06-02
| | | | Originally committed as revision 13620 to svn://svn.ffmpeg.org/ffmpeg/trunk
* indentMichael Niedermayer2008-06-02
| | | | Originally committed as revision 13616 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename last_frame_offset to next_frame_offset.Michael Niedermayer2008-06-02
| | | | | | (it was and is the next not the last) Originally committed as revision 13615 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify parser core.Michael Niedermayer2008-06-02
| | | | Originally committed as revision 13613 to svn://svn.ffmpeg.org/ffmpeg/trunk
* indentMichael Niedermayer2008-05-26
| | | | Originally committed as revision 13411 to svn://svn.ffmpeg.org/ffmpeg/trunk
* allow av_parser_close(NULL)Michael Niedermayer2008-05-26
| | | | | | fixes issue300 Originally committed as revision 13410 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Return an error when realloc fails.Andy Gocke2008-03-25
| | | | | | Patch by Andy Gocke (agocke gmail com) Originally committed as revision 12581 to svn://svn.ffmpeg.org/ffmpeg/trunk