summaryrefslogtreecommitdiff
path: root/libavformat/raw.c
Commit message (Collapse)AuthorAge
* Add CODEC_ID_DNXHD into the 25 fps case.Michael Niedermayer2009-12-13
| | | | | | Merged from ffmbc. Originally committed as revision 20841 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Raise threshold of h263 probe by 1 to avoid misdetection.Michael Niedermayer2009-12-08
| | | | | | Fixes issue 1588. Originally committed as revision 20765 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add out commented av_log to debug h263_probe.Michael Niedermayer2009-12-08
| | | | Originally committed as revision 20764 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use enum instead of integer types where appropriate.Carl Eugen Hoyos2009-11-08
| | | | Originally committed as revision 20482 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix pcm_read_seek () when the position it calculates is greater than 2 GB.Daniel Verkamp2009-10-05
| | | | | | | | | | | | pcm_read_seek() puts the return value of url_fseek() in an int and then compares < 0 to see if an error occurred; if the position is greater than 2 GB, the 32-bit signed int result will be < 0. Change the type of ret to int64_t to avoid the wraparound. patch by Daniel Verkamp, daniel drv nu Originally committed as revision 20169 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Return any error return values from av_get_packet, get_buffer etc. unchangedReimar Döffinger2009-10-02
| | | | | | | | in the raw demuxers. Also remove special handling of 0-size reads, if they are due to an error/eof, these are already converted to the appropriate error by get_buffer. Originally committed as revision 20137 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make rawvideo_read_packet return partial frames.Reimar Döffinger2009-10-01
| | | | | | | This is consistent with other demuxers and also fixes a memleak (memory allocated for partial frame data was leaked). Originally committed as revision 20130 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify: remove pointless {} and elseReimar Döffinger2009-10-01
| | | | Originally committed as revision 20129 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove pointless setting of pkt->size, av_get_packet already handles this.Reimar Döffinger2009-10-01
| | | | Originally committed as revision 20128 to svn://svn.ffmpeg.org/ffmpeg/trunk
* av_new_packet failing should return ENOMEM, not EIO.Reimar Döffinger2009-10-01
| | | | Originally committed as revision 20126 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Sync AC3 probe values with MP3 probe values, they have to avoid similar issues.Reimar Döffinger2009-09-29
| | | | | | | This fixes ffmpeg-generated files with -acodec ac3 being detected as raw ac3 instead of MPEG. Originally committed as revision 20075 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make h261 and mpegvideo probe a little more robust so they dont fail withMichael Niedermayer2009-09-15
| | | | | | slightly different probetest. Originally committed as revision 19856 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make dnxhd probe more strict, fail if we detect values in header that wouldReimar Döffinger2009-09-14
| | | | | | | make our decoder fail anyway. dnxhd probe now passes probetest. Originally committed as revision 19847 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rewrite h261_probe().Michael Niedermayer2009-09-14
| | | | | | | New code can detect h261 startcodes even when the first is damaged or not at the begin. It also passes probetest v2 & v3. Originally committed as revision 19845 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make DTS probe more robust against false positives (as e.g. probetest shows).Reimar Döffinger2009-09-14
| | | | | | | | In particular check that the detected markers clearly indicate a specific DTS format (a wild mixture of e.g. little- and big-endian markers is unlikely to be a valid DTS file) and ensure the markers appear with sufficient frequency. Originally committed as revision 19844 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rewrite h263_probe().Michael Niedermayer2009-09-14
| | | | | | | | The new code should detect h263 even if the first startcode is damaged or somewhere else than the first byte. It also passes probetest v2 as just posted on ffmpeg-dev. Originally committed as revision 19841 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace WORDS_BIGENDIAN with HAVE_BIGENDIANMåns Rullgård2009-07-26
| | | | Originally committed as revision 19508 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix compilation of cavsvideo demuxerAurelien Jacobs2009-07-24
| | | | Originally committed as revision 19506 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add support for id3 tag parsing for ADTS AAC streamsPatrick Dehne2009-06-19
| | | | | | Patch by Patrick Dehne ( patrick mysonicweb com ) Originally committed as revision 19225 to svn://svn.ffmpeg.org/ffmpeg/trunk
* It should be #if, not #ifdefAndreas Öman2009-04-22
| | | | Originally committed as revision 18659 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add raw MLP muxer.Ramiro Polla2009-04-21
| | | | Originally committed as revision 18652 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename bitstream.h to get_bits.h.Stefano Sabatini2009-04-13
| | | | Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix 6 channels raw pcm demuxing, raw pcm now demux a fixed number of samplesBaptiste Coudurier2009-04-12
| | | | Originally committed as revision 18453 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support raw TrueHD filesRamiro Polla2009-03-19
| | | | Originally committed as revision 18049 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make pcm_read_seek treat negative time stamps as 0, this avoids incorrectlyReimar Döffinger2009-03-14
| | | | | | | seeking before data_offset and is more consistent with how the generic index seeking code handles it. Originally committed as revision 17964 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change the timebase of the raw demuxer to one that can represent the ts of ↵Michael Niedermayer2009-03-01
| | | | | | fields. Originally committed as revision 17675 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Separate the raw FLAC demuxer from raw.c and put in a new file,Justin Ruggles2009-02-28
| | | | | | flacdec.c. Originally committed as revision 17660 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Separate the raw FLAC muxer from raw.c to its own file, flacenc.c.Justin Ruggles2009-02-26
| | | | Originally committed as revision 17601 to svn://svn.ffmpeg.org/ffmpeg/trunk
* consistent naming of Chinese AVS raw demuxerStefan Gehrer2009-02-22
| | | | Originally committed as revision 17527 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add raw demuxer for Chinese AVS elementary streamsStefan Gehrer2009-02-21
| | | | Originally committed as revision 17473 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a context to av_log() call.Benoit Fouet2009-02-16
| | | | Originally committed as revision 17376 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make format long_names consistent.Diego Biurrun2009-02-16
| | | | Originally committed as revision 17360 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Whitespace cosmetics to align return statements.Benoit Fouet2009-01-27
| | | | Originally committed as revision 16826 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check buffer is inside what is passed when probing for flac.Benoit Fouet2009-01-27
| | | | Originally committed as revision 16825 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Handle ID3v2 tags in raw FLAC streams by skipping them.David DeHaven2009-01-25
| | | | | | Patch by David DeHaven (dave sagetv com) Originally committed as revision 16764 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix probing of files with ID3v2 tags. Discussed atAlex Converse2009-01-19
| | | | | | http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2009-January/059302.html Originally committed as revision 16688 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
* Change semantic of CONFIG_*, HAVE_* and ARCH_*.Aurelien Jacobs2009-01-13
| | | | | | They are now always defined to either 0 or 1. Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove silly FIXME comment.Michael Niedermayer2008-12-14
| | | | Originally committed as revision 16122 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ADTS AAC probe.Michael Niedermayer2008-12-02
| | | | | | fixes issue400 Originally committed as revision 15977 to svn://svn.ffmpeg.org/ffmpeg/trunk
* raw dnxhd de/muxerBaptiste Coudurier2008-10-24
| | | | Originally committed as revision 15674 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Assume mono if no other information for raw.Michael Niedermayer2008-10-18
| | | | | | Should fix issue687 Originally committed as revision 15631 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove offset_t typedef and use int64_t directly instead.Diego Biurrun2008-10-03
| | | | | | | The name offset_t is easily confused with the standard off_t type and *_t is POSIX reserved namespace if any POSIX header is included. Originally committed as revision 15533 to svn://svn.ffmpeg.org/ffmpeg/trunk
* write number of samples in FLAC extradata.Justin Ruggles2008-09-14
| | | | | | based on a patch by Mathieu Velten (matmaul gmail com). Originally committed as revision 15324 to svn://svn.ffmpeg.org/ffmpeg/trunk
* change back to using CONFIG_*_DEMUXER for ac3_eac3_probe(), but use itJustin Ruggles2008-09-01
| | | | | | correctly this time. Originally committed as revision 15147 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplify ac3_probe() and eac3_probe(). patch by Aurelien Jacobs.Aurelien Jacobs2008-09-01
| | | | Originally committed as revision 15145 to svn://svn.ffmpeg.org/ffmpeg/trunk
* check ENABLE_*_DEMUXER instead of CONFIG_*_DEMUXERJustin Ruggles2008-09-01
| | | | Originally committed as revision 15144 to svn://svn.ffmpeg.org/ffmpeg/trunk
* create a separate codec_id for E-AC-3Justin Ruggles2008-09-01
| | | | Originally committed as revision 15143 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add raw muxers/demuxers for F64/F32/S32/S24/U32/U24 PCM audio.Peter Ross2008-08-23
| | | | Originally committed as revision 14930 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Surround format-specific functions with matching preprocessor conditionals.Diego Biurrun2008-08-15
| | | | Originally committed as revision 14783 to svn://svn.ffmpeg.org/ffmpeg/trunk