Commit Graph

96 Commits

Author SHA1 Message Date
François Revol 8fa36ae09d This fixes error handling for BeOS, removing the need for some ifdefs.
AVERROR_ defines are moved to avcodec.h as they are needed in there as well. Feel free to move that to avutil/common.h.
Bumped up avcodec/format version numbers as though it's binary compatible we will want to rebuild apps as error values changed.
Please from now on use return AVERROR(EFOO) instead of the ugly return -EFOO in your code.
This also removes the need for berrno.h.

Originally committed as revision 7965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-13 18:26:14 +00:00
Michael Niedermayer aad512b4ec Revised patch for HD DVD .EVO demuxing by (Ian Caulfield <lowercase name seperated by . place at here gmail place a dot here com>)
Originally committed as revision 7853 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-06 19:14:16 +00:00
Michael Niedermayer 80036204af simplify
Originally committed as revision 7567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 12:06:31 +00:00
Michael Niedermayer b90ba24b9a simplify pts/dts reading
Originally committed as revision 7565 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 10:55:01 +00:00
Michael Niedermayer 75a9fbb9e9 cosmetic
Originally committed as revision 7563 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 10:45:59 +00:00
Michael Niedermayer 7e4709b18f reduce len checks, simplifies code
there is a very small chance that a stream which is damaged && unseekable && very small packet && damage to the flags && unlucky buffer state could have a valid packet after a damaged packet lost, but i think this is so unlikely that the simplification outweights it
mans if you disagree with any commit to mpeg.c just say so and ill revert it

Originally committed as revision 7562 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 10:44:57 +00:00
Michael Niedermayer e56cfad04b seperate redo (we dont handle this possibly valid packet) from
error_redo (somethings is definitly wrong) in which case we try to resync from the last startcode

Originally committed as revision 7560 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 10:19:10 +00:00
Steve L'Homme 949b1a13bf Replace most of the %lld and %llx by their (cleaner) PRI*64 counterparts.
patch by Steve Lhomme, slhomme divxcorp com

Originally committed as revision 6868 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-01 22:39:58 +00:00
Aurelien Jacobs 7fbde3431a replace coder/decoder file description in libavformat by muxer/demuxer
Originally committed as revision 6774 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-23 08:57:54 +00:00
Diego Biurrun b78e7197a8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
and fix GPL/LGPL version mismatches.

Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-07 15:30:46 +00:00
Måns Rullgård 191e8ca752 fix some signedness warnings
Originally committed as revision 6355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 19:47:39 +00:00
Roman Shaposhnik f5a478f65d * Moving FifoBuffer out of libavformat/avformat.h and
libavformat/utils.c into libavutil

Originally committed as revision 6310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-21 07:31:53 +00:00
Allan Sandfeld Jensen c5e331155c add support for information in CDXA format
patch by Allan Sandfeld Jensen % kde A carewolf P com %
Original thread:
Date: Aug 18, 2006 6:33 PM
Subject: [Ffmpeg-devel] CDXA in libavformat [patch]

Originally committed as revision 6124 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-29 12:03:07 +00:00
Michael Niedermayer a1c69e0b50 fix probing of 02-Penguin.flac
= a single startcode should not override extension based detection

Originally committed as revision 6025 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-19 08:39:00 +00:00
Måns Rullgård ff70e60176 allow individual selection of muxers and demuxers
Originally committed as revision 5707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-10 21:14:37 +00:00
Måns Rullgård d2a067d1d9 give AVInput/OutputFormat structs consistent names
Originally committed as revision 5697 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-09 23:40:53 +00:00
Måns Rullgård 83d0731364 attempt to detect Chinese AVS video
Originally committed as revision 5604 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-03 21:40:01 +00:00
Måns Rullgård 25c533a2c2 detect audio-only program streams and broken files made by VDR
Originally committed as revision 5546 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-29 19:03:53 +00:00
Måns Rullgård 19e0e403f3 detect MPEG PES streams as MPEG PS; the PS demuxer will cope
Originally committed as revision 5540 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-28 21:40:08 +00:00
Måns Rullgård d8bee8dd1c allow packets with non-zero PES_scrambling_control
Originally committed as revision 5499 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-19 22:20:38 +00:00
Michael Niedermayer 30a43f2d09 add size to AVIndex
Originally committed as revision 5083 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-01 11:29:55 +00:00
Michael Niedermayer 0b2bb3543f mpeg-ps probe 2nd try
Originally committed as revision 4974 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-11 09:27:00 +00:00
Michael Niedermayer 9870a7bdb8 replace probe() by one similar to MPEG-ES
Originally committed as revision 4964 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-08 17:35:44 +00:00
Diego Biurrun 5509bffa88 Update licensing information: The FSF changed postal address.
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-12 22:43:26 +00:00
Diego Biurrun 115329f160 COSMETICS: Remove all trailing whitespace.
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-17 18:14:38 +00:00
Diego Biurrun a9e3509529 Replace CONFIG_ENCODERS/CONFIG_DECODERS with CONFIG_MUXERS/CONFIG_DEMUXERS
in libavformat to allow building (de)coders and (de)muxers independently at
some point + support for this option in configure.

Originally committed as revision 4611 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-23 00:25:41 +00:00
Michael Niedermayer 01f4895c68 changing AVCodecContext codec -> *codec in AVStream so additions to AVCodecContext dont randomize AVStream and break binary compatibility
Originally committed as revision 4453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-17 22:24:36 +00:00
Aurelien Jacobs 9ba73f1f40 add support for muxing subtitles in mpeg-ps
Originally committed as revision 4380 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-15 20:50:12 +00:00
Fabrice Bellard a9c3213f96 DVD subtitle parsing - show mpeg component IDs by default
Originally committed as revision 4347 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-03 14:01:49 +00:00
Joakim Plate 3f2bf07ba7 fix ac3 and dts detection (patch by Joakim Plate <joakim.plate at ecce.se>)
Originally committed as revision 4285 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-20 13:10:09 +00:00
Måns Rullgård e3d1cd8ee9 PSM support in MPEG-PS demuxer.
Based on a patch by Leon Woestenberg <leonw at mailcan dot com>

Originally committed as revision 4093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-28 17:33:21 +00:00
Michael Niedermayer f3356e9c9e more fine grained discarding of packets
Originally committed as revision 4051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-17 01:25:01 +00:00
Michael Niedermayer 27a5fe5fdf keyframe & non keyframe index fixes
Originally committed as revision 4034 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-13 00:13:01 +00:00
Måns Rullgård 88730be651 kill warnings patch by (Måns Rullgård <mru inprovide com>)
Originally committed as revision 3977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-24 19:08:50 +00:00
Chriss 7be806f31b -target dvd minimum vobu length patch by ("Chris" [chris garveycocker com])
Originally committed as revision 3953 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-09 03:00:50 +00:00
Michael Niedermayer b9866ebcc7 support discarding uninterresting packets
Originally committed as revision 3860 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-22 13:36:02 +00:00
Michael Niedermayer 2de7795ad2 common.h -> common.h/bitstream.h
Originally committed as revision 3778 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-29 18:31:28 +00:00
Chriss 20b02bc628 This patch takes into account that fifo_realloc may adjust fifo.wptr
patch by ("Chris" chris at garveycocker dot com)

Originally committed as revision 3727 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-05 02:46:00 +00:00
Michael Niedermayer 0d71240921 fifo_realloc()
Originally committed as revision 3726 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-01 02:28:28 +00:00
Chriss 7e0fda0a4e DVDNav4 patch by ("Chris" <chris at garveycocker d0t com>)
Originally committed as revision 3706 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-23 22:25:12 +00:00
Michael Niedermayer cbb6e405c0 parts of the dvd patch from ("Chris" <chris <at< garveycocker >dot< com> and Paul Curtis <pfc >at> terrapin <dot< com>)
Originally committed as revision 3700 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-21 03:37:33 +00:00
Michael Niedermayer 17c88cb0ce user setable preload and max_mux_delay
Originally committed as revision 3602 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-16 21:27:42 +00:00
Michael Niedermayer 6c55b27f8f do not randomize unknown timestamps
Originally committed as revision 3568 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-07 01:55:34 +00:00
Michael Niedermayer 2db3c638a7 user selectable packet_size and mux_rate
Originally committed as revision 3566 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-06 22:29:30 +00:00
Paul Curtis 78a0efb4fc AVOutputFormat mpeg2dvd_mux and int is_dvd from the dvd patch by (Paul Curtis <pfc at terrapin dot com>)
Originally committed as revision 3557 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-03 18:21:45 +00:00
Michael Niedermayer e0c91bc23b initial dts fix
Originally committed as revision 3555 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-03 12:58:14 +00:00
Michael Niedermayer 2031ba1bf2 remove wrong 33bit truncation of internal timestamps
Originally committed as revision 3554 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-03 12:17:46 +00:00
Michael Niedermayer bc3429e382 pts/dts 100l fix
Originally committed as revision 3553 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-03 11:16:40 +00:00
Michael Niedermayer 7e05155850 cleanup video buffer size
Originally committed as revision 3552 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-03 03:14:09 +00:00
Michael Niedermayer 9205093333 cleanup
Originally committed as revision 3551 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-03 02:57:42 +00:00