Commit Graph

3047 Commits

Author SHA1 Message Date
Benjamin Larsson
107b5f93dd Reindent
Originally committed as revision 11285 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-20 11:22:39 +00:00
Benjamin Larsson
7b76c22465 Correctly handle FLV_CODECID_NELLYMOSER_8HZ_MONO files
Originally committed as revision 11284 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-20 11:21:10 +00:00
Michael Niedermayer
ba66ae94a0 Document a few more structure change rules with relation to ABI/API.
Originally committed as revision 11283 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-20 09:59:07 +00:00
Baptiste Coudurier
b356f75d46 fix indentation
Originally committed as revision 11282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-20 09:51:11 +00:00
Michael Niedermayer
252f17e292 Document structure change rules with relation to ABI/API.
Originally committed as revision 11281 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-20 09:43:01 +00:00
Aurelien Jacobs
cd31f8dc23 cosmetics: indentation
Originally committed as revision 11279 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-20 00:26:53 +00:00
Aurelien Jacobs
fd2982a0a0 remove double check of pb->read_seek
Originally committed as revision 11278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-20 00:25:18 +00:00
Aurelien Jacobs
ceeacce68b use proper url_is_streamed() API
instead of messing with ByteIOContext internal is_streamed field

Originally committed as revision 11276 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-19 23:26:18 +00:00
Michael Niedermayer
b075e52059 Make recently added and still unused read_seek functions return offset_t.
Originally committed as revision 11274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-19 21:11:08 +00:00
Michael Niedermayer
502bdf6893 Merge recently added and still unused play and pause functions.
Originally committed as revision 11273 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-19 20:57:13 +00:00
Baptiste Coudurier
79e42311d3 use generic 'glbl' atom if extradata is present but no specific method is known
Originally committed as revision 11272 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-19 16:00:08 +00:00
Baptiste Coudurier
bde246014f supports glbl atom containing generic extradata for all codecs
Originally committed as revision 11271 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-19 15:39:10 +00:00
Reimar Döffinger
f47b9f4828 Increase minor version due to new av_close_input_stream
Originally committed as revision 11270 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-19 14:09:54 +00:00
Reimar Döffinger
2506fd5467 Add a av_close_input_stream function
Originally committed as revision 11269 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-19 14:07:13 +00:00
Michael Niedermayer
2e9b86ac12 Remove dead code which disappeared with the last major version bump.
Originally committed as revision 11268 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-19 11:31:36 +00:00
Michael Niedermayer
7195731522 Remove *_codec_id from AVFormatParameters with the next major version bump.
AVFormatParameters is never available when needed and is an annoying mess.

Originally committed as revision 11267 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-19 10:58:54 +00:00
Michael Niedermayer
626004690c Allow overriding codec_ids.
Originally committed as revision 11266 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-19 10:56:17 +00:00
Michael Niedermayer
004050eed7 Remove unneeded avio wrapper functions.
Originally committed as revision 11264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-19 02:33:47 +00:00
Reimar Döffinger
ca75a92325 Simplify av_close_input_file similarly to av_open_input_file previously
Originally committed as revision 11254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-17 19:12:43 +00:00
Reimar Döffinger
17acc63a32 Simplify av_open_input_file
Originally committed as revision 11253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-17 19:08:17 +00:00
Reimar Döffinger
841f39a7f3 Add FF_OPT_TYPE_BINARY and use it to add a cryptokey option
Originally committed as revision 11250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-17 17:41:24 +00:00
Björn Axelsson
fa13095a5d Enable av_read_pause(), av_read_play() and the ASF demuxer's av_read_seek()
to use the protocol-native functionality if available.
Patch by Björn Axelsson: bjorn point axelsson at intinor dot se
Original thread: [FFmpeg-devel] [PATCH][4/4] Enable use of the extended API
Date: Thu Nov 22 16:01:06 CET 2007

Originally committed as revision 11248 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-17 09:28:46 +00:00
Baptiste Coudurier
bcfe2ba02c useless 0L here
Originally committed as revision 11243 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-16 18:51:00 +00:00
Baptiste Coudurier
282b65ccff remove now useless fields
Originally committed as revision 11242 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-16 18:46:57 +00:00
Baptiste Coudurier
7c622eede5 do not retain useless pointers to avstream priv_data, use it directly
Originally committed as revision 11241 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-16 18:45:48 +00:00
Baptiste Coudurier
11f16b661a remove duplicate field
Originally committed as revision 11240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-16 18:30:45 +00:00
Baptiste Coudurier
03dc32f689 cosmetics: func -> parse, remove useless parenthesis
Originally committed as revision 11239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-16 18:26:34 +00:00
Baptiste Coudurier
a4813b671a remove useless declaration
Originally committed as revision 11238 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-16 18:24:32 +00:00
Baptiste Coudurier
73d07c275a save pointer to parse table, it is unlikely to change
Originally committed as revision 11237 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-16 18:20:27 +00:00
Baptiste Coudurier
23d2cfe9a5 remove useless seek
Originally committed as revision 11236 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-16 18:10:52 +00:00
Baptiste Coudurier
01eeb422fd cosmetics
Originally committed as revision 11235 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-16 18:10:18 +00:00
Baptiste Coudurier
687f35f384 support streamed mov/mp4
Originally committed as revision 11234 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-16 18:08:06 +00:00
Baptiste Coudurier
5cb4b82a17 return error when url_fseek could not read until desired offset in streamed mode
Originally committed as revision 11233 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-16 17:52:46 +00:00
Diego Biurrun
5d81d64175 cosmetics: comment typo fixes
Originally committed as revision 11232 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-16 17:22:09 +00:00
Baptiste Coudurier
2aaf95a210 choose next sample by sample position
when streams' next dts difference is below AV_TIME_BASE,
to reduce seeking, needed for slow underlying protocols (http),
a slightly modified patch from elupus, elupus at ecce dot se

Originally committed as revision 11226 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-15 19:08:42 +00:00
Michael Niedermayer
88808c60af document how to free the result of av_alloc_format_context()
Originally committed as revision 11225 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-15 16:54:58 +00:00
Michael Niedermayer
84be6e7239 av_*_next() API for libavformat
Originally committed as revision 11206 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-12 19:01:58 +00:00
Tom Harper
72d6b1bf1b Fix compilation of os_support.c for MinGW with --disable-network
Patch by Tom Harper <d.thomas.harper <at> gmail.com>

Originally committed as revision 11200 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-09 14:39:01 +00:00
Mike Melanson
9de2919ce5 adjust indentation on latest patch
Originally committed as revision 11167 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-05 04:32:45 +00:00
Mike Melanson
8b35bd806d Check sanity in the palette loading operation. The addresses a potential security risk in
the MOV/MP4 demuxer.

Originally committed as revision 11166 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-05 04:30:33 +00:00
Roberto Togni
ab19baef36 Typo
Originally committed as revision 11165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-04 23:43:01 +00:00
Baptiste Coudurier
c1da59fa2d return error if malloc failed, found by takis, fix issue 286
Originally committed as revision 11162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 22:26:07 +00:00
Panagiotis Issaris
9cf0419bb1 check mov_read_default return value where appropriate, patch by takis, fix issue 285
Originally committed as revision 11161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 22:22:50 +00:00
Diego Biurrun
cedb83a671 colour --> color in variable names
Originally committed as revision 11159 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 13:33:48 +00:00
Diego Biurrun
a660c52a7e cosmetics: comment spelling fixes
Originally committed as revision 11157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 13:01:53 +00:00
Diego Biurrun
7827885cfb Fix make checkheaders.
Originally committed as revision 11156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 12:46:20 +00:00
Baptiste Coudurier
44fb8ebb62 fix dnxhd 720p in mov for quicktime player
Originally committed as revision 11154 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 10:44:25 +00:00
Michael Niedermayer
a57c41b2c5 add assert to detect invalid packet_timestamp_start/end
(that is check that the previous fix was sufficient)

Originally committed as revision 11153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 10:24:42 +00:00
Michael Niedermayer
7548783bc5 correct invalid duration
Originally committed as revision 11152 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 10:23:09 +00:00
Michael Niedermayer
7e1720dec6 make mpeg-ps probe less happy with random data
fixes missdetection of O-MP3-5.mp3

Originally committed as revision 11149 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 09:37:06 +00:00
Michael Niedermayer
2db971135a return a slightly larger score if we find more than 500 valid mp3 frames in a row
Originally committed as revision 11148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 09:26:44 +00:00
Michael Niedermayer
5ef5501b71 ensure that the probe code runs in O(n)
Originally committed as revision 11147 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 08:27:04 +00:00
Michael Niedermayer
890d2799c1 remove arbitrary 4096 limit for probing
Originally committed as revision 11145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 04:50:01 +00:00
Michael Niedermayer
5110d151b6 prevent O(n^2) execution of ff_mpa_decode_header() for valid mp3 files
Originally committed as revision 11144 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 04:49:01 +00:00
Reimar Döffinger
1fe47470d1 Make ff_qt_default_palette_* arrays "static const"
Originally committed as revision 11139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-02 23:27:01 +00:00
Reimar Döffinger
73a727f369 Make ff_mkv_codec_tags array const, it is never written.
Originally committed as revision 11137 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-02 21:52:43 +00:00
Kostya Shishkov
47ac2b0d14 Fix muxer so that generated files are playable by realplayer, other open
source players and by fixed ffmpeg rm demuxer (after r11127)
Patch by kostya

Originally committed as revision 11129 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-02 17:51:05 +00:00
Roberto Togni
e3052ce7b1 Revert r10892, it's wrong and no longer needed to prevent crashes
Originally committed as revision 11127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-02 17:41:12 +00:00
Diego Biurrun
d0b53d05c8 Fix some spelling mistakes.
Originally committed as revision 11125 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-02 14:06:28 +00:00
Vitor Sessak
52b541ad79 spelling
Originally committed as revision 11122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-01 22:21:04 +00:00
Diego Biurrun
7338d36808 succes --> success typo
Originally committed as revision 11120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-01 12:05:59 +00:00
Michael Niedermayer
90901860c2 stupid code (casting of void*) found by checktree.sh
Originally committed as revision 11117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-01 00:19:44 +00:00
Michael Niedermayer
7fffc87979 1000l _reserved (found by checktree.sh)
Originally committed as revision 11116 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-01 00:07:51 +00:00
Luca Abeni
e8acf0edea Suppress the "redirector hack" from libavformat/utils.c:av_open_input_stream(),
and implement the redirector format more properly.

Originally committed as revision 11112 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-29 08:35:05 +00:00
Andreas Öman
fe2b276c2e Bump lavf minor due to addition of
av_url_read_fplay(), av_url_read_fpause() and av_url_read_fseek()

Originally committed as revision 11111 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-28 19:51:59 +00:00
Björn Axelsson
e7e4810aae Extend ByteIOContext and add the buffered IO functions:
av_url_read_fplay(), av_url_read_fpause() and av_url_read_fseek().

patch by: Björn Axelsson, bjorn d axelsson a intinor d se

Originally committed as revision 11110 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-28 19:46:49 +00:00
Dave Yeo
93115b82f0 Add #include "os_support.h" to restore OS/2 support.
patch by Dave Yeo, daveryeo telus net

Originally committed as revision 11096 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-27 11:42:09 +00:00
Diego Biurrun
d2f5fe7cc7 Remove possibly misleading comments.
Originally committed as revision 11095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-27 11:27:50 +00:00
Aurelien Jacobs
725d86bfd5 add pcm_s16le_planar support for electronicarts files
Originally committed as revision 11092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-25 16:32:47 +00:00
Diego Biurrun
f0a838e525 Add missing #includes to fix 'make checkheaders'.
Originally committed as revision 11087 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-24 10:08:02 +00:00
Björn Axelsson
536333a0fe Extend URLProtocol with new function pointers and api functions for
av_url_read_play(), av_url_read_pause() and av_url_read_seek().

patch by: Björn Axelsson, bjorn d axelsson a intinor d se

Originally committed as revision 11086 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-24 07:09:32 +00:00
Diego Biurrun
34c9d454d1 Keep -L flags before corresponding -l flags.
Originally committed as revision 11083 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-23 11:41:01 +00:00
Luca Abeni
c721d803cb Introduce libavdevice
Originally committed as revision 11077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-22 16:10:02 +00:00
Luca Barbato
489b0d4d98 Make av_read_frame with rtsp client return EINTR on interrupt
patch from elupusateccedotse (missing hunk from r11072)

Originally committed as revision 11076 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-22 14:13:23 +00:00
Ramiro Polla
a5e979f42c os_support.h is also needed for usleep and lseek on MinGW.
Originally committed as revision 11075 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-22 02:27:39 +00:00
Luca Abeni
087b327287 Include os_support.h only when needed
Originally committed as revision 11073 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-21 16:33:06 +00:00
Luca Barbato
a960a1e041 Make av_read_frame with rtsp client return EINTR on interrupt
patch from elupusateccedotse

Originally committed as revision 11072 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-21 10:26:11 +00:00
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
Roberto Togni
2b013568f9 Replace realloc with free+malloc, the previous content of the buffer is
not needed

Originally committed as revision 11065 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-19 20:28:11 +00:00
Luca Abeni
952062909d Convert perror() in av_log() in bktr.c.
Currently untested; someone with the correct OS and hardware should
test it and report if it works.

Originally committed as revision 11060 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-19 10:33:05 +00:00
Luca Abeni
086119b3f3 Remove perror() usage from udp.c
Originally committed as revision 11059 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-19 08:07:33 +00:00
Luca Abeni
9f74582cea Do not use perror() in audio, video, and DV grabbers
Originally committed as revision 11058 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-19 07:54:04 +00:00
Roberto Togni
e35033e6e3 Cosmetics
Originally committed as revision 11056 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-19 00:02:58 +00:00
Roberto Togni
69434d2f73 No need to update pos, it's not used after that line
Originally committed as revision 11055 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-19 00:02:03 +00:00
Roberto Togni
6887cb8bc5 Cleanup: remove ssize
Originally committed as revision 11054 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-18 22:58:40 +00:00
Roberto Togni
52537534d2 Check for memory allocation failure of temp buffer
Originally committed as revision 11053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-18 22:49:41 +00:00
Roberto Togni
e11d0145e2 Optimize memory management to create an av_packet from multiple slices:
- remove memmove to pack the data, instead copy only the used areas
from the temp buffer in their final position
- use the minimum possible size for the av_packet (relevant when some
slices are missing)

Originally committed as revision 11052 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-18 22:40:02 +00:00
Jeff Downs
28af284cfb When new streams are detected, look for old filters and close them out.
This avoids crashes seen when legitimate streams are found on PID 0x11 instead
of DVB SDT.
Fixes regression detailed in Roundup issue 138.

Originally committed as revision 11050 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-17 03:14:43 +00:00
Luca Abeni
db628029c4 Add MPEG2 support to the RTP muxer
Originally committed as revision 11047 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-16 13:13:53 +00:00
Luca Abeni
7ed19d7fbf Remove the "AVRtpPayloadTypes[i].pt == i" assumption from RTP and RTSP
code (this is needed for supporting MPEG2 video in the RTP muxer)

Originally committed as revision 11046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-16 07:59:41 +00:00
Alex Beregszaszi
b5298028b0 Remove empty pipe_close
Originally committed as revision 11045 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-16 00:18:48 +00:00
Alex Beregszaszi
7a813b368a Call prot->url_close only if it is present.
Originally committed as revision 11044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-16 00:14:48 +00:00
Alex Beregszaszi
018b6fb465 Honor the 8bit extension (now 32bit instaed 24bit) of the pts field introduced in FLV specification v9.
Originally committed as revision 11043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-16 00:09:34 +00:00
Alex Beregszaszi
964ff35445 Prefer ADPM_SWF instead NONE if no MP3 encoding is compiled in.
Originally committed as revision 11042 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-15 23:53:19 +00:00
Roberto Togni
27a2f87da8 1000l: Fix check for max slice number
Originally committed as revision 11040 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-15 21:13:36 +00:00
Roberto Togni
e29378ff88 Move dnet-ac3 byte-swapping code close to audio packet read code
Fixed version of patch in
[FFmpeg-devel] [PATCH 5/6] rmdec.c: move around rm_ac3_swap_bytes()

Originally committed as revision 11039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-15 21:04:06 +00:00
Luca Abeni
aa519c4771 Remove some more duplicated code
Originally committed as revision 11038 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-15 14:26:52 +00:00
Luca Abeni
d4936869ff Remove the useless variable "my_addr1"
Originally committed as revision 11037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-15 13:41:51 +00:00
Luca Abeni
882d00f27d Use the same code to set local_port in the IPv4-only case and in the
protocol-independet case

Originally committed as revision 11036 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-15 13:34:56 +00:00
Panagiotis Issaris
8ea0e80241 Fix Doxygen parameter
Originally committed as revision 11033 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-15 11:45:07 +00:00
Panagiotis Issaris
e8b7c70f09 Fix Doxygen parameter name
Originally committed as revision 11032 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-15 11:44:15 +00:00
Panagiotis Issaris
abfe87d471 Fix Doxygen parameter name
Originally committed as revision 11031 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-15 11:43:21 +00:00
Aurelien Jacobs
d638424b8a cosmetics: whitespace
Originally committed as revision 11028 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-14 20:31:56 +00:00
Panagiotis Issaris
4e8988a32d Typo
Originally committed as revision 11020 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-14 12:42:45 +00:00
Luca Abeni
6b7089044a Remove some useless assignments (the UDPContext is allocated with av_mallocz())
Originally committed as revision 11017 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-14 08:22:06 +00:00
Luca Abeni
d05cb726bd Simplify set_remote_url(), and remove some code duplication
Originally committed as revision 11016 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-14 08:16:51 +00:00
Luca Abeni
4c7d5764a0 Use recv() instead of recvfrom() (removes some other differences between
IPv4-only and protocol-independent code)

Originally committed as revision 11015 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-14 07:56:20 +00:00
Luca Abeni
66c49825da Remove a now unused field
Originally committed as revision 11014 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-14 07:45:15 +00:00
Luca Abeni
9cdcb04f5a Give better names to multicast functions (they are not IPv6-only)
Originally committed as revision 11013 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-14 07:43:51 +00:00
Luca Abeni
a8bde059e6 Avoid to duplicate the multicast code between the IPv4-only and
protocol-independent versions

Originally committed as revision 11012 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-14 07:42:46 +00:00
Luca Abeni
0ec1233511 Remove some ifdefs by using the "dest_addr_len" field in both the IPv4-only
code and the protocol-independent code

Originally committed as revision 11011 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-14 07:35:36 +00:00
Patrice Bensoussan
0d4e281cac Add support for reading WM/Year tag
Patch by: patrice bensoussan a free d fr

Originally committed as revision 11010 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-14 07:31:25 +00:00
Andreas Öman
bd59786204 remove unnecessary -1 from snprintf len
Originally committed as revision 11009 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-14 06:33:35 +00:00
Patrice Bensoussan
bd548b99aa Add support for ID3v2 year tag
Patch by: patrice bensoussan a free d fr

Originally committed as revision 11008 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-14 06:32:55 +00:00
Michael Niedermayer
5fba300d02 rename fps(frame per second) to tb(time base) to prevent
confusion with the average fps and hopefully stop these "wrong framerate"
bug reports

Originally committed as revision 11007 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-13 23:43:18 +00:00
Baptiste Coudurier
8361b1bea8 remove now useless libogg support
Originally committed as revision 11004 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-12 10:26:33 +00:00
Måns Rullgård
e1a794b272 set PKT_FLAG_KEY for Theora and OGM streams
Originally committed as revision 11002 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-11 21:56:18 +00:00
Baptiste Coudurier
5118cae694 ogg muxer
Originally committed as revision 10999 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-10 18:27:03 +00:00
Diego Biurrun
94472c1d49 comment typo
Originally committed as revision 10992 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-10 12:05:30 +00:00
Luca Abeni
c9215bab98 Add support for some more audio formats
Originally committed as revision 10969 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-09 12:33:28 +00:00
Måns Rullgård
2c18784703 Improve Sofdec file detection
Originally committed as revision 10967 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-08 21:27:37 +00:00
Aurelien Jacobs
73039e0fb4 fix potential buffer over-read
Originally committed as revision 10966 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-08 20:53:06 +00:00
Aurelien Jacobs
cc04af3481 fix negative fseek
Originally committed as revision 10965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-08 20:50:45 +00:00
Ronald S. Bultje
5c470b910e Split ac3 byte swapping into a separate function.
Patch by Ronald S. Bultje: rsbultje gmail com
Original thread: Re: [FFmpeg-devel] [PATCH 4/6] rmdec.c: rm_ac3_swap_bytes()
Date: 11/05/2007 09:27 PM

Originally committed as revision 10964 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-08 15:52:53 +00:00
Ronald S. Bultje
d4d1b5fbde Isolate caching of audio frames in its own function.
Patch by Ronald S. Bultje: rsbultje gmail com
Original thread: Re: [FFmpeg-devel] [PATCH 3/6] rmdec.c: ff_rm_retrieve_cache()
Date: 11/05/2007 09:25 PM

Originally committed as revision 10963 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-08 15:14:37 +00:00
Ronald S. Bultje
66911b1552 Change a stream indexer.
Patch by Ronald S. Bultje: rsbultje gmail com

Originally committed as revision 10962 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-08 15:09:37 +00:00
Ronald S. Bultje
afd302fa62 Split out the packet parsing from the main function body in rmdec.c
into its own function
Patch by Ronald S. Bultje: rsbultje gmail com
Original thread: Re: [FFmpeg-devel] [PATCH 2/6] rmdec.c: ff_rm_parse_frame()
Date: 11/05/2007 09:23 PM

Originally committed as revision 10961 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-08 15:07:34 +00:00
Ronald S. Bultje
7e4b161188 Change parse indexer.
Patch by Ronald S. Bultje: rsbultje gmail com

Originally committed as revision 10960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-08 15:05:40 +00:00
Diego Biurrun
f9e4ed19d2 Give Ogg muxer a lib prefix in the name like we do with all other formats
implemented through external libraries, plus rename the files accordingly.

Originally committed as revision 10956 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-08 11:22:29 +00:00
Benoit Fouet
36c9e40ab4 Change ff_rm_read_mdpr_codecdata to get back to old behavior.
Originally committed as revision 10954 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-08 09:14:09 +00:00
Aurelien Jacobs
8cd4ac3d63 correctly set audio codec when demuxing sofdec files
samples: http://samples.mplayerhq.hu/game-formats/sfd/

Originally committed as revision 10953 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-07 23:56:00 +00:00
Aurelien Jacobs
968fc6b96a probe more kind of electronic arts files
Originally committed as revision 10947 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-07 23:01:32 +00:00
Diego Biurrun
a319c212bd Move external library registrations into a separate block after all native
implementations so that the latter ones are preferred by default.

Originally committed as revision 10945 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-07 22:04:00 +00:00
Diego Biurrun
325833091e Add some explanatory comments.
Originally committed as revision 10944 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-07 22:02:02 +00:00
Diego Biurrun
a0ddef24ce Rename ogg2.[ch] to oggdec.[ch].
Originally committed as revision 10943 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-07 20:22:32 +00:00
Diego Biurrun
e282e5edb4 Remove disabled muxer skeleton, blessed by Mans.
Originally committed as revision 10942 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-07 19:09:00 +00:00
Diego Biurrun
0d49b9ad07 Give the libnut muxer a lib prefix in its name so it does not conflict with
the native implementation.

Originally committed as revision 10941 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-07 19:05:47 +00:00
Ronald S. Bultje
b316aa1a1e Specify the server address when opening an rtp:// URL in rtsp.c, so
that the correct local address can be used for binding the socket.
Fixes rtsp:// URLs in ffplay on MacOS X

Patch by Ronald Bultje (rsbultje at gmail dot com)

Originally committed as revision 10940 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-07 14:20:40 +00:00
Thorsten Jordan
346db900bf Check context before accessing its field.
Patch by Thorsten Jordan: tjordan macrosystem de

Originally committed as revision 10939 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-07 08:34:00 +00:00
Kostya Shishkov
12877faf7c Musepack SV8 demuxer and decoder
Originally committed as revision 10938 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-07 05:35:46 +00:00
Björn Axelsson
49ce700a27 Allow propagation of stream selection through the ASF demuxer to the
MMSH protocol handler.
Patch by Björn Axelsson: bjorn ; axelsson § intinor : se
Original thread:
[FFmpeg-devel] [PATCH] MMSH stream selection support for asf demuxer
Date: 11/02/2007 11:51 AM

Originally committed as revision 10935 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-06 16:19:09 +00:00
Ronald S. Bultje
ff1463dc37 Split out the MDPR chunk reading into its own function.
Patch by Ronald S. Bultje: rsbultje gmail com
Original thread:[FFmpeg-devel] [PATCH 1/6] rmdec.c: ff_rm_read_mdpr_codecdata()
Date: 11/05/2007 09:21 PM

Originally committed as revision 10934 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-06 16:02:33 +00:00
Luca Abeni
18c05a375b Do not send too many RTCP packets (according to RFC 3550, the minimum
RTCP interval should be 5 seconds)

Originally committed as revision 10930 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-05 12:25:10 +00:00
Luca Abeni
0aa7a2e690 Use a symbolic name for the payload size of an RTCP Sender Report packet
Originally committed as revision 10929 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-05 10:15:20 +00:00
Diego Biurrun
47a1ae1bc9 Add some parentheses to clarify operator precedence, fixes the warnings:
nut.c: In function 'ff_nut_sp_pos_cmp':
nut.c:43: warning: suggest parentheses around + or - inside shift
nut.c:43: warning: suggest parentheses around + or - inside shift
nut.c: In function 'ff_nut_sp_pts_cmp':
nut.c:47: warning: suggest parentheses around + or - inside shift
nut.c:47: warning: suggest parentheses around + or - inside shift

Originally committed as revision 10926 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-04 22:51:49 +00:00
Andreas Öman
5b5bd7c9ee make sure the mpeg audio header is valid before passing it to ff_mpegaudio_decode_header()
Originally committed as revision 10925 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-04 19:52:08 +00:00
Diego Biurrun
b7a42d14bf Enable debug variable only when debug code is enabled, fixes the warning:
rtp_h264.c: In function ‘h264_handle_packet’:
rtp_h264.c:168: warning: unused variable ‘data’

Originally committed as revision 10923 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-04 12:46:16 +00:00
Aurelien Jacobs
9abf243316 add support for demuxing Electronic Arts .cdata files
based on a patch from Peter Ross

Originally committed as revision 10914 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-03 22:42:20 +00:00
Kostya Shishkov
7798b42df1 Add ff_ prefix to get_v()
Originally committed as revision 10912 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-03 18:29:16 +00:00
Kostya Shishkov
897d3eef4c Make get_v() available to the other demuxers
Originally committed as revision 10911 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-03 18:26:42 +00:00
Michael Niedermayer
0c904db118 typo
Originally committed as revision 10910 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-03 14:57:26 +00:00
Michael Niedermayer
c6dcd0d7f0 fix misdetection of mp3could_not_find_codec_parameters.mp3
Originally committed as revision 10908 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-03 13:48:30 +00:00
Kostya Shishkov
d447fc3132 Seek regression for RM demuxer fix
Originally committed as revision 10907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-03 06:43:29 +00:00
Aurelien Jacobs
2009c7fc96 revert part of r10899 which was not intended
Originally committed as revision 10901 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-01 18:02:03 +00:00
Aurelien Jacobs
6177c7efe1 remove useless initialization to 0 of adx context
Originally committed as revision 10899 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-01 17:50:05 +00:00
Kostya Shishkov
83c95cd462 Revert get_num() to old behaviour in order to handle
incorrect RMs generated by lavf muxer.

Originally committed as revision 10892 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-01 09:02:29 +00:00
Michael Niedermayer
c8652b5714 support flv with invalid header
fixes issue43

Originally committed as revision 10887 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-31 22:10:34 +00:00
Michael Niedermayer
6f910bcf39 factorize stream creation
Originally committed as revision 10886 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-31 21:35:50 +00:00
Diego Biurrun
1d5fab9b33 Remove unused variables, fixes the following warnings:
siff.c:187: warning: unused variable 'snddata'
siff.c:186: warning: unused variable 'size2'

Originally committed as revision 10884 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-31 11:35:10 +00:00
Ronald S. Bultje
51844e6cd2 Take the target address family in account when determining the family of
the local address to bind.
Fixes ffserver and UDP streaming without --disable-ipv6 on MacOS X

Patch by Ronald S. Bultje (rsbultje st gmail dot com)

Originally committed as revision 10883 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-31 07:27:38 +00:00
Luca Abeni
7d8576c279 Reindent after last commit
Originally committed as revision 10882 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-31 07:08:12 +00:00
Nicolas George
d607861cd5 Resolve hosts and bind sockets even when the local_port is not set (0)
Fixes ffserver on linux when "--disable-ipv6" is not used

Patch by Nicolas George (nicolas dot george at normalesup dot org)

Originally committed as revision 10881 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-31 07:02:30 +00:00
Peter Ross
fac84d3c18 EA IMA EACS decoder
original patch by Peter Ross

Originally committed as revision 10880 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-30 23:20:26 +00:00
Peter Ross
7bb65d8964 EA IMA SEAD decoder
original patch by Peter Ross

Originally committed as revision 10879 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-30 23:12:18 +00:00
Luca Abeni
ecdcbbf66a If local port n is not available, try n + 2 instead of continuing to bind
on n (allow to receive 2 rtsp streams simultaneously with libavformat)

Originally committed as revision 10876 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-30 08:10:45 +00:00
Baptiste Coudurier
992e78f5f2 rename av_crc04C11DB7_update to ff_crc04C11DB7_update and move it to aviobuf.c so it can be reused by other (de)muxers
Originally committed as revision 10873 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-30 00:01:25 +00:00
Luca Abeni
990e989f24 Remove redundant prototype
Originally committed as revision 10872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-29 09:38:37 +00:00
Luca Abeni
c971ff1977 Remove the inclusion of rtsp.h and rtp.h from avformat.h, and
explicitly include such headers where needed

Originally committed as revision 10871 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-29 09:15:35 +00:00
Aurelien Jacobs
39f79f26eb rename crc.c to crcenc.c
Originally committed as revision 10869 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-28 22:11:07 +00:00
Aurelien Jacobs
6b6adf2bc8 move framecrc muxer in its own file
Originally committed as revision 10868 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-28 22:08:09 +00:00
Nico Sabbi
f473666f51 print newline after program id even when the name is missing
Originally committed as revision 10864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-26 20:02:11 +00:00
Luca Abeni
759d98d0c6 Explicitly include rtp.h (needed for rtp_get_payload_type())
Originally committed as revision 10863 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-26 15:12:55 +00:00
Luca Abeni
a385446f40 Remove prototype for non-existent function
Originally committed as revision 10862 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-26 11:36:11 +00:00
Aurelien Jacobs
97e6ee2064 probe files starting with the 1SNh tag
Originally committed as revision 10861 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-25 21:17:39 +00:00
Aurelien Jacobs
94e8c227ba don't use #define with names starting with _
Originally committed as revision 10860 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-25 21:10:18 +00:00
Aurelien Jacobs
98168220b0 add parsing of 1SNh header in the EA demuxer
Originally committed as revision 10859 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-25 20:38:49 +00:00
Diego Biurrun
63bb42fb36 Remove unused variable, fixes warning:
utils.c: In function 'dump_format':
utils.c:2542: warning: unused variable 'flags'

Originally committed as revision 10858 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-25 10:11:15 +00:00
Aurelien Jacobs
446263879b avoid infinite loop at the end of files which are not properly terminated
Originally committed as revision 10857 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-24 21:44:20 +00:00
Peter Ross
e758396268 EA ADPCM R1, R2 and R3 decoder
original patch by Peter Ross

Originally committed as revision 10856 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-24 20:49:42 +00:00
Benoit Fouet
cfac9ec701 Cosmetics: indentation.
Originally committed as revision 10853 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-24 14:22:56 +00:00
Benoit Fouet
89a0d7908b Prevent mov muxer from writing empty udta atoms.
Originally committed as revision 10852 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-24 14:20:15 +00:00
Andreas Öman
8862fb41e0 add support for reading duration from VBRI-tag in mp3 files
Originally committed as revision 10851 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-24 04:56:22 +00:00
Jeff Downs
3a1d358825 Move setting of key frame flag for intra-only codecs, ignoring key frame
flag of parser for such codecs as intra-only parsers don't set key frame
flag. Corrects lack of key frame marking in mjpeg, possibly others.

Original thread: Key Frame Marking, Fri, 12 Oct 2007 03:35:57

Originally committed as revision 10850 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-24 04:54:44 +00:00
Baptiste Coudurier
3d2308b0af use FFMIN
Originally committed as revision 10848 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-23 22:28:57 +00:00
Andreas Öman
478638abad fix indent
Originally committed as revision 10847 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-23 17:28:30 +00:00
Andreas Öman
db233e832f cosmetical change of mp3_parse_xing() to prepare for upcoming VBRI tag support
Originally committed as revision 10846 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-23 17:10:41 +00:00
Andreas Öman
ca851a3a08 add support for reading duration from Xing-tag in mp3 files
Originally committed as revision 10845 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-23 13:35:20 +00:00
Aurelien Jacobs
39fe9d79ad convert a if() into a switch() to ease addition of new tags to probe
Originally committed as revision 10843 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-22 21:06:04 +00:00
Baptiste Coudurier
8622613d9f fix issue 225, instead of stoping when wrong atom size is found,
limit atom size to what is left, assuming container atom has correct size..
cricket4.3g2 has incorrect moov atom size which indicates that file size should be
2 bytes bigger than it is and quicktime reads it correctly though.

Originally committed as revision 10836 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-22 14:36:14 +00:00
Kostya Shishkov
66f7679c62 Beam Software SIFF demuxer and video decoder
Originally committed as revision 10833 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-22 06:01:38 +00:00
Baptiste Coudurier
4e745a3b28 100l, fix dump_format, declare buf in dump_stream_format, sizeof(buf) is 4 because buf is char* since r10818
Originally committed as revision 10832 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-21 23:10:15 +00:00
Aurelien Jacobs
ba8a76b8f8 cosmetics: reindent
Originally committed as revision 10830 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-21 22:27:24 +00:00
Aurelien Jacobs
f9cdbfa271 cosmetics: Add #endif comment.
Originally committed as revision 10829 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-21 22:23:37 +00:00
Kostya Shishkov
fe7e750fb5 New RM format deserves small version bump
Originally committed as revision 10827 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-21 17:26:02 +00:00
Aurelien Jacobs
b96b441ad2 Make Matroska demuxer output full frames instead of slices for RealVideo
Patch by Aurelien Jacobs (aurel at "... is not unix"age.org)
Thread [RFC] Feed whole frames to RV* decoders

Originally committed as revision 10824 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-21 17:21:20 +00:00
Kostya Shishkov
383b123ed3 Demux full frames instead of sliced for RealVideo.
Some changes by Roberto Togni and blessed by him on IRC.

Originally committed as revision 10823 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-21 17:17:28 +00:00
Reimar Döffinger
72be7db423 Add support for decrypting asf files
Originally committed as revision 10821 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-20 14:25:02 +00:00
Nico Sabbi
aa237f4535 associate to each AVProgram the indexes of the AVStreams contained in it
Originally committed as revision 10820 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-20 08:29:05 +00:00
Nico Sabbi
526efa1053 API extension: AVProgram now has an array (stream_index) containing the indexes of the streams in AVFormatContext
Originally committed as revision 10819 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-20 08:25:13 +00:00
Nico Sabbi
fad0e03043 cosmetics: moved to a separate function the code to print the characteristics of an AVStream
Originally committed as revision 10818 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-20 08:17:01 +00:00
Aurelien Jacobs
f9a00ba8c1 ensure all compiled in codec/muxer are registered
Originally committed as revision 10808 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 23:59:31 +00:00
Aurelien Jacobs
ab89dbd43e better check for video track detection
Originally committed as revision 10807 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 23:52:08 +00:00
Aurelien Jacobs
018d0ff973 skip unsupported audio track data
Originally committed as revision 10806 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 23:50:52 +00:00
Aurelien Jacobs
a2c9473d96 cosmetics: indentation
Originally committed as revision 10805 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 23:44:05 +00:00
Aurelien Jacobs
c611463fe4 check if we found an audio track before initializing the audio stream
Originally committed as revision 10804 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 23:42:54 +00:00
Aurelien Jacobs
200f41ad2e compute pts according to the audio codec
Originally committed as revision 10803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 23:40:03 +00:00
Aurelien Jacobs
ffbd0bcdb6 set bytes per sample in the context
Originally committed as revision 10802 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 23:36:12 +00:00
Aurelien Jacobs
597958ada7 fix big endian files support
Originally committed as revision 10801 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 23:22:50 +00:00
Aurelien Jacobs
7816845064 simplify
Originally committed as revision 10800 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 23:21:31 +00:00
Aurelien Jacobs
6c867e0463 parse sample rate instead of setting a default one
Originally committed as revision 10799 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 23:13:46 +00:00
Aurelien Jacobs
fd402a5a63 add support for PCM codec
Originally committed as revision 10798 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 23:05:30 +00:00
Aurelien Jacobs
93fa8b2bf5 check compression_type to assign audio codec
Originally committed as revision 10797 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 22:53:37 +00:00
Aurelien Jacobs
e5d34ab6d0 make compression_type a function local var instead of a context var
Originally committed as revision 10796 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 22:47:56 +00:00
Aurelien Jacobs
97e5dcc0f3 add support for big_endian encoded headers
Originally committed as revision 10795 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 22:39:27 +00:00
Aurelien Jacobs
2c82386df2 add some error processing
Originally committed as revision 10794 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 22:32:26 +00:00
Aurelien Jacobs
fa34563b2c cosmetics: indentation
Originally committed as revision 10793 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 22:27:27 +00:00
Aurelien Jacobs
f8cab062ca parse header chunk in a loop (don't depend on a fixed chunk ordering)
Originally committed as revision 10792 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 22:26:23 +00:00
Aurelien Jacobs
af704ee420 add audio and video codec context vars
Originally committed as revision 10791 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 22:23:30 +00:00
Aurelien Jacobs
080b1c8238 better log message
Originally committed as revision 10790 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 22:11:53 +00:00
Aurelien Jacobs
f409743084 move vp6 header parsing into its own function
Originally committed as revision 10789 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 22:01:30 +00:00
Aurelien Jacobs
3773e5fc1b remove 2 temporary variables
Originally committed as revision 10788 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 21:59:23 +00:00
Aurelien Jacobs
9853ce8074 set a default value for num_channels
Originally committed as revision 10787 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 21:56:44 +00:00
Aurelien Jacobs
215eb1028d move audio header parsing in its own function
Originally committed as revision 10786 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 21:55:51 +00:00
Aurelien Jacobs
d51bd73ce6 add a log message
Originally committed as revision 10785 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 21:45:53 +00:00
Aurelien Jacobs
1680692a6c fix comment
Originally committed as revision 10784 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 21:30:33 +00:00
Aurelien Jacobs
98942fb2c9 small simplification
Originally committed as revision 10783 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 21:03:10 +00:00
Thorsten Jordan
f97931c122 set start_time to 0 to enable seeking in mp3-files
patch by Thorsten Jordan, tjordan macrosystem de

Originally committed as revision 10780 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 15:02:34 +00:00
Ronald S. Bultje
c5be140c9a Make url_split() strip url options (?opt=var) from the returned hostname or
location. This fixes a regression introduced by the rewrite of
url_split() in r10605.

Patch by Ronald S. Bultje: rsbultje gmail com
Original thread: [FFmpeg-devel] [PATCH] Make RTP work with IPv6 enabled
Date: 10/12/2007 08:19 PM

Originally committed as revision 10775 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 09:50:53 +00:00
Diego Biurrun
5b21bdabe4 Add FFMPEG_ prefix to all multiple inclusion guards.
Originally committed as revision 10765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-17 09:37:46 +00:00
Diego Biurrun
52703a6459 Use filename as multiple inclusion guard.
Originally committed as revision 10760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-17 09:16:21 +00:00
Benoit Fouet
0f652a8ee3 Re-enable DEBUG_SEEK flag.
Originally committed as revision 10758 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-16 19:50:08 +00:00
Baptiste Coudurier
86161ceca1 dont write udta atom for 3gp/3g2 for now, current written atoms (ilst) are itunes specific
Originally committed as revision 10757 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-16 16:40:34 +00:00
Baptiste Coudurier
00996920ed indentation
Originally committed as revision 10756 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-16 15:40:57 +00:00
Patric Stout
ed7b48b205 Fix streaming to XBox360.
Patch by Patric Stout, patric T liefdeis O com
Original thread:
Subject: asf-format doesn't work as stream for XBox360
Date: 2007-10-14

Originally committed as revision 10755 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-15 23:55:14 +00:00
Aurelien Jacobs
227a388d07 cosmetics: reindent
Originally committed as revision 10753 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-15 22:52:22 +00:00
Aurelien Jacobs
d3e412d0cc add support for VP6 in electronicarts demuxer
Originally committed as revision 10752 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-15 22:51:52 +00:00
Aurelien Jacobs
c03c4cac82 remove useless &0xFF
Originally committed as revision 10751 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-15 22:51:15 +00:00
Aurelien Jacobs
a066c5b7c9 merge declaration and initialization
Originally committed as revision 10750 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-15 22:50:36 +00:00
Aurelien Jacobs
df2eef0fef remove unused context vars
Originally committed as revision 10749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-15 22:50:10 +00:00
Aurelien Jacobs
059baac9c8 remove unused code
Originally committed as revision 10748 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-15 22:49:31 +00:00
Aurelien Jacobs
c3527cc973 remove unused tags definition
Originally committed as revision 10747 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-15 22:49:00 +00:00
Aurelien Jacobs
0cf3fbc2ab remove unused close function
Originally committed as revision 10746 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-15 22:48:31 +00:00
Aurelien Jacobs
269b94e346 simplify bitstream reading
Originally committed as revision 10745 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-15 22:47:41 +00:00
Thorsten Jordan
c7be25856a Undefine DEBUG_SEEK.
Patch by Thorsten Jordan: tjordan macrosystem de

Originally committed as revision 10742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-15 18:03:28 +00:00
Benjamin Larsson
636b13c5fc Nellymoser ASAO decoder
Originally committed as revision 10741 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-15 16:26:02 +00:00
Diego Biurrun
5d25d2a983 cosmetics: Move asf_read_close() down to get rid of a forward declaration.
Originally committed as revision 10735 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-14 17:44:38 +00:00
Benoit Fouet
fe0b9a6464 Increment minor after r10709.
Originally committed as revision 10734 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-14 13:32:25 +00:00
Måns Rullgård
972c5f9e10 simply buffer checks in vorbis_comment()
Originally committed as revision 10725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-13 11:43:03 +00:00
Måns Rullgård
0a770ae7b4 use bytestream_get_* in vorbis_comment()
Originally committed as revision 10724 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-13 11:42:06 +00:00
Ramiro Polla
29a7b8ef27 Fix memleak
Closes issue 102

Originally committed as revision 10719 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-12 23:25:48 +00:00