Commit Graph

89 Commits

Author SHA1 Message Date
Björn Axelsson
899681cd1d Use dynamically allocated ByteIOContext in AVFormatContext
patch by: Björn Axelsson, bjorn d axelsson a intinor d se
thread: [PATCH] Remove static ByteIOContexts, 06 nov 2007

Originally committed as revision 11071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-21 07:41:00 +00:00
Aurelien Jacobs
7241a6bb50 move unrelated functions declarations out of allformats.h
Originally committed as revision 10475 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-11 09:27:46 +00:00
Michael Niedermayer
fbd69f519b 100000l (forgotten return)
Originally committed as revision 10062 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 17:05:12 +00:00
Michael Niedermayer
d1a4544de9 remove unneeded buf_size check (see AVPROBE_PADDING_SIZE)
Originally committed as revision 10060 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 16:12:50 +00:00
Michael Niedermayer
e020dbd2a1 flac probe
closes issue83

Originally committed as revision 10059 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 16:06:18 +00:00
Justin Ruggles
2477ce2322 10l to me. Revert recent changes to ac3_probe() which made misdetection as AC3 too probable.
Originally committed as revision 9931 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 03:36:50 +00:00
Baptiste Coudurier
7a97dd84e3 remove useless raw_write_header
Originally committed as revision 9923 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 00:47:07 +00:00
Justin Ruggles
ecc8fc11ec additional tweaks to AC3 probe function. give a higher score to a single frame
at the start of the stream. also read all available data in the probe buffer.

Originally committed as revision 9922 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 00:32:19 +00:00
Justin Ruggles
c49c02231c increase the maximum AC3 probe buffer size and reduce the threshold for 50% reliability score to 2 frames. Fixes out.ac3 from [FFmpeg-devel] AC3 Format Detection unreliable.
Originally committed as revision 9920 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 23:53:05 +00:00
Panagiotis Issaris
6f3e0b2174 Replace all occurrences of AVERROR_IO with AVERROR(EIO).
Originally committed as revision 9760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 15:23:32 +00:00
Panagiotis Issaris
769e10f068 Replace all occurrences of AVERROR_NOMEM with AVERROR(ENOMEM).
Originally committed as revision 9759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 15:21:30 +00:00
Roman Shaposhnik
c21f308e77 * Getting rid of the use of GCC language extensions
Originally committed as revision 9531 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 03:16:59 +00:00
Måns Rullgård
8c222bb405 kill uninitialised variable warning in ac3_probe()
Originally committed as revision 9521 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 13:46:28 +00:00
Vitor Sessak
7cf0999529 remove empty write trailer functions
patch by Vitor: [vitor1001 gmail com]

Originally committed as revision 9442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-27 06:54:47 +00:00
Diego Biurrun
755bfeabcc misc spelling fixes
Originally committed as revision 9289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 09:29:25 +00:00
Benoit Fouet
5faf2d3641 add rgb suffix handling for demuxer
Originally committed as revision 9103 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-23 07:17:17 +00:00
Vitor Sessak
13dec85765 RoQ muxer, patch by Vitor, vitor1001 gmail com
reference thread:
Subject: [FFmpeg-devel] [PATCH] RoQ muxer
Date: Wed, 09 May 2007 19:44:21 +0200

Originally committed as revision 8959 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-09 23:07:40 +00:00
Aurelien Jacobs
99ff31dc75 move aac and ac3 parsers in their own files
Originally committed as revision 8941 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-08 23:25:31 +00:00
Michael Niedermayer
5fd5d0ef3a improve mpeg4-es detection by rejecting streams with reserved startcodes (fixes 11-i_need_your_love-daw.mp3 detected as mpeg4)
Originally committed as revision 8923 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-07 11:57:46 +00:00
Benoit Fouet
b47f86c4a3 add rgb suffix to rawvideo muxer
Originally committed as revision 8805 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-25 09:01:54 +00:00
Aurelien Jacobs
57004ff1d7 add an enum for need_parsing
Originally committed as revision 8742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-15 13:51:57 +00:00
Diego Biurrun
cefd4907e3 Make the declaration of AVInputFormat ac3_demuxer conditional
on CONFIG_AC3_DEMUXER.

Originally committed as revision 8741 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-15 12:35:44 +00:00
Diego Biurrun
98d0205145 Move AC3 header parsing code together with the rest of the AC3 parsing code.
Originally committed as revision 8739 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-15 12:32:36 +00:00
Michael Niedermayer
87e8788680 allocate 32 extra bytes at the end of the probe buffer and remove most probe buf_size checks
Originally committed as revision 8677 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-08 11:34:15 +00:00
Michael Niedermayer
e9f6c8eaae fix probe of 001.vdr-broken-6025
Originally committed as revision 8550 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-29 20:22:38 +00:00
Justin Ruggles
f8b9830b6c improve ac3_probe by counting consecutive frames
Originally committed as revision 8441 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-18 19:32:22 +00:00
Kostya Shishkov
7bb5c2a6ea Raw VC-1 demuxer
Originally committed as revision 7896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 12:10:15 +00:00
Justin Ruggles
7156aeb98a add read_probe function to raw ac3 demuxer
Originally committed as revision 7887 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-08 23:41:08 +00:00
Michael Niedermayer
e9b78eeba2 better generic index building and seeking code
Originally committed as revision 7841 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-05 23:04:48 +00:00
Thijs Vermeir
8f57cc5a32 mpeg4probe patch by (Thijs Vermeir ; thijs vermeir barco com)
tabs removed by me
VOL vs. VOP check fixed by me

Originally committed as revision 6940 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-08 01:21:23 +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
Baptiste Coudurier
708e3e7d2d simplify pcm read seek, use av_get_bits_per_sample
Originally committed as revision 6728 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-18 11:57:24 +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
Michael Niedermayer
494bbf5805 dont be too picky about timestampsbeing wrong if the destination container is without timestamps and raw of the raw video / raw audio sort
Originally committed as revision 5961 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-08 20:31:19 +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
Diego Biurrun
2c8e201429 Fix compilation with all combinations of --disable-(de)muxers.
Originally committed as revision 5485 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-16 10:06:57 +00:00
Justin Ruggles
ce1d2a95c3 Raw flac muxer, patch by Justin Ruggles (jruggle earthlink net). Can be
used with "-acodec copy" to either copy a flac file verbatim or extract
the raw flac from an ogg-flac file.

Originally committed as revision 5368 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-12 15:13:51 +00:00
Benjamin Larsson
89ca8c497f Add support for raw flac decoding based on the .flac suffix of input files.
Originally committed as revision 5352 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-09 12:34:35 +00:00
Michael Niedermayer
c04c3282b4 simplify AVFormatParameters NULL checks
Originally committed as revision 5146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-11 00:22:21 +00:00
Måns Rullgård
e01dc227f3 can't have PES headers in MPEG video elementary streams so fail probe
if we see one

Originally committed as revision 5089 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-01 20:09:44 +00:00
Måns Rullgård
a283db3962 generate adts frame headers if required
Originally committed as revision 4970 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-10 01:24:32 +00:00
Måns Rullgård
fda885c703 read/write adts aac
Originally committed as revision 4955 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-08 00:51:55 +00:00
Michael Niedermayer
8f0df75438 3rd try for mpeg-es probe ...
Originally committed as revision 4938 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-04 16:57:58 +00:00
Michael Niedermayer
efac2613e7 fix regression tests
Originally committed as revision 4932 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-04 02:05:51 +00:00
Michael Niedermayer
93d3e278cd improve mpeg1/2-es detection
Originally committed as revision 4923 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-02 13:56:42 +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
bb270c0896 COSMETICS: tabs --> spaces, some prettyprinting
Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-22 01:10:11 +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
Alex Beregszaszi
84c63c013a Ingenient MJPEG support, more at http://www.artificis.hu/files/texts/ingenient.txt
Originally committed as revision 4671 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-29 00:52:02 +00:00