summaryrefslogtreecommitdiffstats
path: root/libavformat/mpeg.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace av_dlog with normal av_log at trace levelVittorio Giovara2015-04-191-3/+3
| | | | This applies to every library where performance is not critical.
* mpeg: K&R formatting cosmeticsTanja Batchelor2014-03-241-141/+169
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* pcm_dvd: consolidate pieces from pcm.c and mpeg.cChristian Schmidt2013-08-311-27/+1
| | | | | | | | | | | | | | | | | | | | Remove the header decoding for PCM audio from mpeg.c and the 20/24bit parts from pcm.c and merge them into a new decoder in pcm-dvd.c. The decoder has added support for samples that span multiple packets and modified 20/24bit group decoding. Both is needed to decode samples that have been generated with DVD-Lab Pro 2. The decoding of 16bit PCM and two channel 24bit is identical to before. No other samples are known to verify the correctness of the encoding this software does. The complete list of tested formats is 48kHz/16bit/2-8 channels 48kHz/24bit/2-5 channels 96kHz/16bit/2-4 channels 96kHz/24bit/2 channels Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avformat: Add AVPROBE_SCORE_EXTENSION define and use where appropriateDiego Biurrun2013-05-041-4/+4
|
* avformat: Remove non-compiling and/or silly commented-out printf/av_log ↵Diego Biurrun2012-10-011-2/+0
| | | | statements
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-071-24/+24
|
* Improve descriptiveness of a number of codec and container long namesDiego Biurrun2012-07-301-1/+1
|
* mpeg: remove disabled codeDiego Biurrun2012-07-161-41/+0
|
* cosmetics: Align muxer/demuxer declarationsMartin Storsjö2012-04-061-1/+1
| | | | | | | Also add missing trailing commas, break long codec_tag lines and add spaces in codec_tag declarations. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavf: remove AVFormatParameters from AVFormatContext.read_header signatureAnton Khirnov2012-01-271-2/+1
|
* Eliminate pointless 0/NULL initializers in AVCodec and similar declarations.Diego Biurrun2011-11-281-1/+0
|
* lavf: replace av_new_stream->avformat_new_stream part II.Anton Khirnov2011-10-191-1/+2
| | | | | | | | Manual replacements are done in this commit. In many cases, the id is some constant made up number (e.g. 0 for video and 1 for audio), which is then not used in the demuxer for anything. Those ids are removed.
* mpegps: Use av_get_packet() instead of poorly emulating it.Alex Converse2011-10-071-8/+1
|
* mpeg probe: check the 2/4-bit synchronization value found after a ↵Alex Converse2011-09-291-1/+6
| | | | pack_start_code.
* mpegps: Handle buffer exhaustion when reading packets.Alex Converse2011-09-231-3/+9
|
* lavf: use designated initialisers for all (de)muxers.Anton Khirnov2011-07-171-9/+8
| | | | It's more readable and less prone to breakage.
* Replace DEBUG_SEEK/DEBUG_SI + av_log combinations by av_dlog.Diego Biurrun2011-06-101-9/+3
|
* Remove some non-compiling debug messages.Diego Biurrun2011-06-081-3/+0
|
* Replace some printf instances in debug code by av_log.Diego Biurrun2011-06-071-2/+3
|
* Remove stray extra arguments from av_dlog() invocations.Diego Biurrun2011-06-021-1/+1
|
* Replace some commented-out debug printf() / av_log() messages with av_dlog().Diego Biurrun2011-04-291-4/+3
|
* avio: introduce an AVIOContext.seekable fieldAnton Khirnov2011-04-031-1/+1
| | | | Use it instead of url_is_streamed and AVIOContext.is_streamed.
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavf: replace avio_seek(SEEK_CUR) with avio_skip where it makes senseAnton Khirnov2011-03-161-9/+9
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: deprecate url_feofAnton Khirnov2011-03-071-2/+2
| | | | | | AVIOContext.eof_reached should be used directly instead. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: add avio_tell macro as a replacement for url_ftellAnton Khirnov2011-03-041-5/+5
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf: replace all uses of url_fskip with avio_seekAnton Khirnov2011-03-011-9/+9
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: avio_ prefix for url_fseekAnton Khirnov2011-03-011-5/+5
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: avio_ prefixes for get_* functionsAnton Khirnov2011-02-211-39/+39
| | | | | | | | | | | | | | 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-201-4/+4
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf: move internal functions from avformat.h to internal.hAnton Khirnov2011-02-061-0/+1
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.Diego Elio Pettenò2011-01-261-1/+1
| | | | | 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.
* Fix grammar errors in documentationMåns Rullgård2010-06-301-1/+1
| | | | Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Skip pes payload during probing to avoid start code emulation.Janne Grunau2010-05-241-2/+6
| | | | | | Patch by Janne Grunau, janne-ffmpeg jannau net Originally committed as revision 23286 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-301-18/+18
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Dont give up after 100kb of zero bytes but returnd EAGAINMichael Niedermayer2010-02-101-2/+7
| | | | | | fixes issue1729 Originally committed as revision 21738 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set AVPacket.pos in MPEG-PS demuxer.Michael Niedermayer2010-02-021-0/+1
| | | | Originally committed as revision 21604 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Also print the number of invalid packets in the debug output.Michael Niedermayer2009-12-081-1/+1
| | | | Originally committed as revision 20763 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Flip the comparission direction of vid+audio+priv1 and pspack, it appears to ↵Michael Niedermayer2009-12-081-1/+1
| | | | | | | | | have been wrong. Fixes issue1571. Originally committed as revision 20762 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Improve sofdec dectection to avoid false positives for MP2.tralph11@yahoo.com2009-10-201-0/+2
| | | | | | Patch by tralph11, tralph11 yahoo Originally committed as revision 20333 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make mpeg_probe() pass probetest.Michael Niedermayer2009-09-151-3/+3
| | | | Originally committed as revision 19854 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Slightly stricter MPEG-PES probing, fixes issue 1383.Reimar Döffinger2009-09-151-1/+2
| | | | Originally committed as revision 19852 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove 2 ++ from check_pes() that are useless, found by CSA.Michael Niedermayer2009-04-171-2/+0
| | | | Originally committed as revision 18577 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split TrueHD decoder from MLPRamiro Polla2009-03-191-1/+1
| | | | Originally committed as revision 18045 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark dvdaudio_substream_type variable as av_uninit to work around falseDiego Biurrun2009-03-051-1/+1
| | | | | | positive uninitialized variable warning. Originally committed as revision 17825 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Allow demuxing of audio substreams stored as 0x06 type.Benoit Fouet2009-02-111-2/+23
| | | | | | | Fixes issue 725: MPEG2 PS with PCM audio. On behalf of Jai. Originally committed as revision 17150 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Increase the number of packets required to identify as MPEG PES to keep fromAlex Converse2009-02-091-1/+1
| | | | | | identifying MP3 files with padding or garbage at the beginning. Originally committed as revision 17091 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Remove pointless period after copyright statement non-sentences.Diego Biurrun2009-01-191-1/+1
| | | | Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use enum typers instead of int.Diego Pettenò2008-10-021-1/+3
| | | | | | Patch by Diego 'Flameeyes' Pettenò: flameeyes gmail Originally committed as revision 15517 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Bump Major version, this commit is almost just renaming bits_per_sample toLuca Abeni2008-09-081-4/+4
| | | | | | | | | | | bits_per_coded_sample but that cannot be done seperately. Patch by Luca Abeni Also reset the minor version and fix the forgotton change to libfaad. Note: The API/ABI should not be considered stable yet, there still may be a change done here or there if some developer has some cleanup ideas and patches! Originally committed as revision 15262 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud