Commit Graph

3595 Commits

Author SHA1 Message Date
Baptiste Coudurier
47a0513b0c const
Originally committed as revision 11762 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:17:32 +00:00
Baptiste Coudurier
2b12d6fc79 add const
Originally committed as revision 11756 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:58:35 +00:00
Reimar Döffinger
2331e31c23 Add support for ogg text subtitles.
Originally committed as revision 11698 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 22:30:55 +00:00
Baptiste Coudurier
fa7343eaf2 stupid typo
Originally committed as revision 11693 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 13:40:53 +00:00
Baptiste Coudurier
ccac843872 support rawvideo in mov
Originally committed as revision 11691 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 11:31:56 +00:00
Baptiste Coudurier
d7742a7491 typo, typedef uint8_t GUID[16] in asf.h, and fix warning: asf-enc.c:202: warning: passing argument 2 of 'put_buffer' from incompatible pointer type
Originally committed as revision 11684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 00:34:22 +00:00
Baptiste Coudurier
febc8fad0c init to 0, fix warning: mpegenc.c:1022: warning: 'avail_space' may be used uninitialized in this function
Originally committed as revision 11683 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 00:27:51 +00:00
Baptiste Coudurier
87be0d1289 add parenthesis, fix warning: mpegenc.c:303: warning: suggest parentheses around && within ||
Originally committed as revision 11682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 00:25:40 +00:00
Baptiste Coudurier
3dc761a443 typo, also fix warning: asf.c:90: warning: passing argument 2 of 'get_buffer' from incompatible pointer type
Originally committed as revision 11681 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 00:22:25 +00:00
Baptiste Coudurier
4ad08accb2 use context in av_log
Originally committed as revision 11668 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-30 13:22:31 +00:00
Baptiste Coudurier
c8134d7104 warning is only valid for mov
Originally committed as revision 11667 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-30 13:22:04 +00:00
Reimar Döffinger
eb3ba13b51 Support MP4 subtitles as in
http://samples.mplayerhq.hu/MPEG-4/embedded_subs/1Video_2Audio_2SUBs_timed_text_streams_.mp4

Originally committed as revision 11663 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-29 22:37:07 +00:00
Kostya Shishkov
eda178d273 SMPTE 421 Annex L format demuxer
Originally committed as revision 11661 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-29 09:25:49 +00:00
Baptiste Coudurier
0b98a7b3b2 cosmetics, split long lines, remove useless braces, merge comments and if
Originally committed as revision 11656 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-28 18:35:12 +00:00
Baptiste Coudurier
506e4bb8bc cosmetics, vertically align
Originally committed as revision 11655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-28 18:33:27 +00:00
Baptiste Coudurier
bbe052463d spoke too fast, fix dv fourcc in mov accordingly if strict
Originally committed as revision 11653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-28 16:58:42 +00:00
Baptiste Coudurier
ea1664e33a finally set codec tags for mov/mp4/3gp muxers, this should not break anything, if it breaks anything, yell
Originally committed as revision 11652 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-28 16:03:50 +00:00
Baptiste Coudurier
d97f214435 indentation
Originally committed as revision 11651 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-28 15:23:37 +00:00
Baptiste Coudurier
a23c9c4a50 correctly and only set standard stsd fourcc for mp4/3gp
Originally committed as revision 11650 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-28 15:22:07 +00:00
Baptiste Coudurier
d0c0a29b5a write esds atom when mpeg-4 systems tags are used
Originally committed as revision 11649 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-28 13:44:27 +00:00
Baptiste Coudurier
efc9e44da6 reorder object types id by muxing preference
Originally committed as revision 11648 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-28 13:19:49 +00:00
Baptiste Coudurier
2c2f58c0ad document tag field
Originally committed as revision 11647 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-28 13:19:16 +00:00
Reimar Döffinger
cc8c2c6ab3 Add CODEC_ID_MOV_TEXT and use it instead of modifying the stream in the mov demuxer.
Originally committed as revision 11638 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 19:57:04 +00:00
Evgeniy Stepanov
f8d7c9d373 Add support for Matroska attachments.
patch by eugeni _dot_ stepanov _at_ gmail.com and myself

Originally committed as revision 11635 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 15:43:17 +00:00
Michael Niedermayer
cc8d87b793 Set subtitle codec id correctly, i hope this does not break anything.
Originally committed as revision 11627 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-26 22:57:53 +00:00
Michael Niedermayer
e73e3a926d Add non standard id needed for dvd subtitles.
Originally committed as revision 11626 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-26 22:55:34 +00:00
Reimar Döffinger
7dfc1fdea2 Extract the pure plaintext from mov text subtitles.
Formatting information etc. is discarded.

Originally committed as revision 11625 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-26 21:21:55 +00:00
Michael Niedermayer
1e3c9307e6 Set correct codec type and id for text subtitles.
fixes http://samples.mplayerhq.hu/mov/subtitles-embedded/subtitlemovie.mov
closes issue341

Originally committed as revision 11624 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-26 20:30:03 +00:00
Michael Niedermayer
41e19673ef indent
Originally committed as revision 11623 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-26 20:07:57 +00:00
Michael Niedermayer
ee6e2dbebf Only export packets which belong to the existing AVStream.
To export the others separate AVStreams must be created!

Originally committed as revision 11622 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-26 20:07:30 +00:00
Michael Niedermayer
0bc4728e3b Select non jpeg if there are multiple substreams.
Originally committed as revision 11621 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-26 19:50:04 +00:00
Baptiste Coudurier
067db6a58a comment vorbis objectype id
Originally committed as revision 11612 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-26 02:24:35 +00:00
Baptiste Coudurier
4f8dc3b7f1 this one is not standardized either
Originally committed as revision 11611 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-26 02:22:45 +00:00
Baptiste Coudurier
c63d3668fc remove non standard object type ids, if you find samples, report them
Originally committed as revision 11610 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-26 01:35:51 +00:00
Aurelien Jacobs
7f938dd32b ensure av_rescale_q() can be calculated (won't divide by zero)
Originally committed as revision 11592 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-21 23:43:25 +00:00
Luca Abeni
29e35d6776 Support out-of-band parameter sets in SDP for H.264 video
Originally committed as revision 11590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-21 14:28:58 +00:00
Luca Abeni
f79bfe481d Add support for H.264 video in the RTP muxer
Originally committed as revision 11589 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-21 14:01:57 +00:00
Baptiste Coudurier
afecbec22b unset extension, so code path, and guess format do not choose
avm2/flash 9 by default, not sure this is adequate though,
this fixes regression tests.

Originally committed as revision 11588 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-21 13:43:40 +00:00
Luca Abeni
b21cd0bcb5 Add minimal support for H.264 video in the SDP generator
Originally committed as revision 11585 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-21 11:09:06 +00:00
Aurelien Jacobs
078ac1dbf2 add missing Makefile rules for pcm muxers/demuxers
Originally committed as revision 11579 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-20 21:24:25 +00:00
Baptiste Coudurier
fa1ad97fad reorder alphabetically
Originally committed as revision 11575 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-20 18:31:56 +00:00
Paul Egan
dfb400a8ea new avm2 (flash 9) muxer, patch by Paul Egan, paulegan at mail dot com
Originally committed as revision 11574 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-20 18:30:04 +00:00
Baptiste Coudurier
76e4864583 init uid to 0
Originally committed as revision 11573 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-19 20:00:09 +00:00
Baptiste Coudurier
e20c865a55 indentation
Originally committed as revision 11572 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-19 19:59:04 +00:00
Baptiste Coudurier
bb085dd6f1 correctly handle sony mpeg4 extradata
Originally committed as revision 11571 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-19 19:58:48 +00:00
Baptiste Coudurier
6e3ea4461f check if read child returned error
Originally committed as revision 11570 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-19 19:51:55 +00:00
Baptiste Coudurier
a33b2c7e39 simplify with matching len
Originally committed as revision 11568 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-19 17:28:49 +00:00
Baptiste Coudurier
51169b61b5 simplify and detect better non frame wrapped mappings
Originally committed as revision 11567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-19 17:25:12 +00:00
Baptiste Coudurier
4de5906fed cosmetics: read_metadata -> read
Originally committed as revision 11566 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-19 16:20:06 +00:00
Baptiste Coudurier
3f2d859b7e cosmetics
Originally committed as revision 11565 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-19 16:19:06 +00:00
Baptiste Coudurier
3a9c08be1b remove unused crypto context uid
Originally committed as revision 11564 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-19 16:18:32 +00:00
Baptiste Coudurier
7ee7f6f958 support dynamically allocated local tags, used by encrypted files
Originally committed as revision 11563 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-19 16:17:39 +00:00
Baptiste Coudurier
57810910c7 check malloc return
Originally committed as revision 11562 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-19 15:21:30 +00:00
Baptiste Coudurier
8513ba097c add some dv container uls
Originally committed as revision 11561 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-19 13:16:35 +00:00
Baptiste Coudurier
c9c55a5699 simplify by checking min matching len
Originally committed as revision 11560 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-19 13:16:00 +00:00
Ronald S. Bultje
f841a0fca1 Add a flags field to the RTPDynamicPayloadPacketHandlerProc (PKT_FLAG_*).
This can be used later by RDT to get the flags from the RTP packet and
use that for the RealMedia packet (such as whether this RTP packet
represents a keyframe or not). For discussion, see "[PATCH] Realmedia
/ RTSP (RDT)".

Originally committed as revision 11557 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-18 20:48:32 +00:00
Roberto Togni
badbe09af3 Fix forgotten braces from r11039
Originally committed as revision 11552 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-17 20:48:07 +00:00
Michael Niedermayer
175e23e875 Consider initial EOR in the back_ptr calculation.
Originally committed as revision 11550 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-17 13:59:52 +00:00
Michael Niedermayer
76d7c327eb Replace idiotic (what moron wrote that code?) "buffer overflow" message by
abort()

Originally committed as revision 11546 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-17 00:12:04 +00:00
Diego Biurrun
9b41eb37a1 Remove some spaces to keep certain people's eyes from hurting.
Originally committed as revision 11544 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-16 22:47:51 +00:00
Diego Biurrun
a85736f21d misc spelling/grammar fixes
Originally committed as revision 11542 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-16 22:14:26 +00:00
Luca Abeni
b973f9ad7e Make avc_find_startcode non-static, so that it can be used from other
files (and add the ff_ prefix, to avoid polluting the namespace)

Originally committed as revision 11532 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-15 08:05:58 +00:00
Michel Bardiaux
6ba90c204c Suppress runaway index on streamed input
Originally committed as revision 11527 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-14 16:11:08 +00:00
Roberto Togni
c5adfd641a Add support for S8 PCM (codec 2)
Fix samples/au/vrooom.au

Originally committed as revision 11522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-13 15:08:33 +00:00
Paul Kelly
3dea63bd7e user specifyable maximum amount of memory to use for the index.
patch by Paul Kelly  paul stjohnspoint co uk
with some changes by me

Originally committed as revision 11521 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-13 13:33:37 +00:00
Víctor Paesa
1a04866480 Alignment
Originally committed as revision 11516 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-12 11:25:54 +00:00
Víctor Paesa
a585c469a3 Link to libraries in dependency order.
Based on a patch by Gonzalo Garramuño, ggarra advancedsl com ar

Originally committed as revision 11515 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-12 11:17:37 +00:00
Michael Niedermayer
f5b410312f Set pts/dts in raw (yuv,rgb,pcm) demuxers.
Originally committed as revision 11513 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-12 00:24:10 +00:00
Michael Niedermayer
2024c2262b Write 0 instead of seeking forward (and leaving bytes uninitalized),
fixes odd regression test failure i had.

Originally committed as revision 11512 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-12 00:15:05 +00:00
Aurelien Jacobs
9ab3f71b60 add a ff_ prefix to newly exported functions from avc.c
Originally committed as revision 11511 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-11 23:33:32 +00:00
Aurelien Jacobs
e609806ec6 Matroska muxer needs to format all NAL units, not only extradata.
Originally committed as revision 11510 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-11 23:21:22 +00:00
Luca Abeni
cd4f256754 Do not install rtp.h (which should have never been part of the public API)
Originally committed as revision 11505 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-11 12:24:46 +00:00
Aurelien Jacobs
e71b0534f2 matroskaenc now depends on avc.o
Originally committed as revision 11500 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-11 01:37:38 +00:00
Aurelien Jacobs
aacc5f227a Use the isom avcc formatting for h264 extradata in matroska.
Originally committed as revision 11499 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-11 01:32:45 +00:00
Aurelien Jacobs
1bd2d763d4 Move isom_write_avcc() and related functions into a separate file.
Originally committed as revision 11498 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-11 01:24:55 +00:00
Aurelien Jacobs
6e6eebf919 extract isom_write_avcc into a function
Originally committed as revision 11497 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-11 01:04:01 +00:00
Aurelien Jacobs
de04ad45ec Add one more parameter to avc_parse_nal_units so that it allows not to
free the input buffer.
This is required by upcoming extraction of isom_write_avcc to a function.

Originally committed as revision 11496 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-11 01:00:04 +00:00
Aurelien Jacobs
ed7fa39c2d Check return value of avc_parse_nal_units().
Originally committed as revision 11495 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-11 00:47:02 +00:00
Ronald S. Bultje
f739b36d16 Reindent after r11493 (always use parse_packet() vfunc in rtp_parse_packet()),
see "[PATCH] Realmedia / RTSP (RDT)" thread on ML.

Originally committed as revision 11494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-10 13:54:30 +00:00
Ronald S. Bultje
b4e3330c12 Make rtp_parse_packet() always call the vfunc of the dynamic payload handler
if there is one. See "[PATCH] Realmedia / RTSP (RDT)" thread on ML.

Originally committed as revision 11493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-10 13:52:35 +00:00
Luca Abeni
81ab1fa13e Pass a proper context to av_log()
Originally committed as revision 11485 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-10 08:34:37 +00:00
Diego Biurrun
aa6b38c29d Fix random typos.
Originally committed as revision 11477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-08 23:08:51 +00:00
Guillaume LecrefECERF
727601bc4b url_write is part of the public API so it may not be under ifdef.
Also fixes a compile error if all muxers and protocols are disabled.
Patch by Guillaume LECERF (foxcore gmail com)

Originally committed as revision 11469 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-08 22:07:59 +00:00
Baptiste Coudurier
e55a4dd328 check av_new_stream return value
Originally committed as revision 11463 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-08 13:55:15 +00:00
Baptiste Coudurier
ebbe25d2a3 check av_new_stream return value
Originally committed as revision 11462 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-08 13:48:52 +00:00
Ivo van Poorten
670c78479d Linux Media Labs MPEG-4 (LMLM4) demuxer
Originally committed as revision 11456 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-07 23:52:51 +00:00
Ivo van Poorten
e03caf2efd Implement read_timestamp and enable seeking in PVA files.
Originally committed as revision 11455 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-07 23:42:52 +00:00
Ivo van Poorten
ffc2934112 cosmetics
Originally committed as revision 11454 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-07 23:40:04 +00:00
Ivo van Poorten
e661f76051 remove unnecessary check
Originally committed as revision 11453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-07 23:39:47 +00:00
Ivo van Poorten
9ae092036b use ff_parse_pes_pts for parsing an MPEG-PES timestamp
Originally committed as revision 11452 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-07 23:38:12 +00:00
Ivo van Poorten
66e9e30239 Move parsing of MPEG-PES timestamp to mpeg.h (as an inline function) so it
can easily be reused by other demuxers for formats that encapsulate MPEG-PES.

Originally committed as revision 11451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-07 23:32:57 +00:00
Aurelien Jacobs
4f632b065b Make ff_mkv_codec_tags lie entirely in .rodata section.
From: Diego 'Flameeyes' Pettenò < flameeyes _at_ gmail _dot_ com >

Originally committed as revision 11440 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-07 00:03:19 +00:00
Diego Biurrun
c807e68f46 cosmetics: Add another pair of parentheses to aid readability.
Originally committed as revision 11437 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-06 22:50:09 +00:00
Diego Biurrun
621d7fe936 Rename two structures, identifiers starting with _[A-Z] are reserved.
Originally committed as revision 11435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-06 16:02:55 +00:00
Baptiste Coudurier
29c90869e6 cosmetics, split overly long lines
Originally committed as revision 11434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-06 14:18:13 +00:00
Diego Pettenò
7d51edddd4 Make AVRtpPayloadTypes static and constant
Patch by Diego 'Flameeyes' Pettenò (flameeyes AT gmail DOT com)

Originally committed as revision 11432 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-06 10:00:04 +00:00
Ivo van Poorten
5e40d0e898 cosmetics, superfluous space
Originally committed as revision 11430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 22:33:27 +00:00
Ivo van Poorten
71e1080e28 proper check for valid pva_pts
Originally committed as revision 11429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 22:28:42 +00:00
Ivo van Poorten
dba13944f0 do not return an error, but warn and recover when encountering an audio packet
that should countain a signaled mpeg-pes packet.

Originally committed as revision 11428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 22:27:49 +00:00
Ivo van Poorten
7705cf7e15 validate streamid before use
Originally committed as revision 11427 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 22:18:44 +00:00
Ivo van Poorten
fe332ad66e change audio codec id to mp2
Originally committed as revision 11426 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 22:15:19 +00:00
Ivo van Poorten
0e8a207ff8 proper type and initialization of pva_pts
Originally committed as revision 11425 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 22:13:27 +00:00
Ivo van Poorten
6a5ef2934c remove unnecessary shift
Originally committed as revision 11424 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 22:10:00 +00:00
Aurelien Jacobs
3abe5fbdc4 improve CRC API
- don't export any global var
 - provide either generated or hardcoded tables

Originally committed as revision 11409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 23:09:58 +00:00
Luca Abeni
83a0d3878c Split the RTP muxer out of rtp.c, to simplify the RTSP demuxer's dependencies
Originally committed as revision 11408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 20:09:48 +00:00
Luca Abeni
8eb793c459 Split the RTP demuxing functions out of rtp.c, to simplify the RTP muxer's dependencies
Originally committed as revision 11406 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 19:33:50 +00:00
Michael Niedermayer
6e8b982bcc Move *malloc() out of tree.c, that way the code can be used with
flat arrays which have lower overhead than millions of mallocd() elements.

Originally committed as revision 11399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 17:52:16 +00:00
Ronald S. Bultje
0fd36362b8 Make three rm demuxer functions non static.
Patch by Ronald S. Bultje rsbultje gmail com
Original thread: [FFmpeg-devel] [PATCH] Realmedia / RTSP (RDT)
Date: 12/28/2007 10:19 PM

Originally committed as revision 11392 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 13:00:47 +00:00
Luca Abeni
95c2184270 Rationalize some dependencies between rtsp and rtp
Originally committed as revision 11385 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-03 12:49:12 +00:00
Luca Abeni
d80906e7b4 Fix the RTP muxer dependencies
Originally committed as revision 11384 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-03 11:59:20 +00:00
Ivo van Poorten
3d94e3ba93 use one shift less in get_pts()
Originally committed as revision 11383 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-03 10:02:46 +00:00
Aurelien Jacobs
f7f8b4d296 mention libavfilter in warning about deprecated vhook
Originally committed as revision 11378 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-03 02:12:08 +00:00
Ronald S. Bultje
c482500fa3 Drop RTSP default protocol.
patch by Ronald S. Bultje, rsbultje gmail com

Originally committed as revision 11377 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-02 19:40:43 +00:00
Diego Biurrun
8f8fae80b2 cosmetics: Reindent.
Originally committed as revision 11375 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-02 18:53:38 +00:00
Ronald S. Bultje
b83a84242c Merge double-nested if into && condition.
patch by Ronald S. Bultje, rsbultje gmail com

Originally committed as revision 11374 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-02 18:53:12 +00:00
Aurelien Jacobs
e299727441 move num_packets=0 where it belongs
Originally committed as revision 11373 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-02 17:17:56 +00:00
Ivo van Poorten
3feb44a9be TechnoTrend PVA Demuxer
Originally committed as revision 11371 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-02 10:45:28 +00:00
Diego Biurrun
bf22a10901 cosmetics: sort()
Originally committed as revision 11367 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-02 00:08:36 +00:00
Dave Yeo
72be9e73ae Add portable way to check for the existence of definitions and
apply it to socklen_t.
patch by Dave Yeo, daveryeo telus net

Originally committed as revision 11366 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-01 22:54:35 +00:00
Michael Niedermayer
c86ec2f4c3 Extract aspect ratio from ODML/vprp.
Originally committed as revision 11365 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-01 22:05:51 +00:00
Michael Niedermayer
2576a9ecec Correct doxy about timestamp units of read_timestamp().
Originally committed as revision 11364 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-31 16:49:18 +00:00
Michael Niedermayer
de14759e97 Document return of read_timestamp.
Originally committed as revision 11363 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-31 16:47:25 +00:00
Michael Niedermayer
3858a227ce More verbose aspect ratio error msg.
Originally committed as revision 11362 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-31 16:43:35 +00:00
Evgeniy Stepanov
f9a9b3509c export raw SSA tracks with their own codec ID (patch by Evgeniy Stepanov)
Originally committed as revision 11352 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-29 20:49:03 +00:00
Aurelien Jacobs
243cc4c34a clear internal queue when seeking
Originally committed as revision 11351 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-29 18:35:38 +00:00
Aurelien Jacobs
34c9c1baf4 move internal queue freeing code in its own function
Originally committed as revision 11350 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-29 18:32:47 +00:00
Gabriel Forté
b3d8c2c436 fix memory leak (patch by Gabriel Forté gforte _at_ wyplay _dot_ com)
Originally committed as revision 11349 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-29 18:30:27 +00:00
Michael Niedermayer
5cc9253f35 indent
Originally committed as revision 11348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-29 16:34:51 +00:00
Michael Niedermayer
7ef55085f0 Try to fix url_split() so that the ?foobar part is in the path and only the path.
Originally committed as revision 11347 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-29 16:13:03 +00:00
Ivo van Poorten
d43df959d7 Sun Rasterfile decoder
Originally committed as revision 11342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-28 13:07:43 +00:00
Luca Barbato
7ecc634e8a Real RTSP support, from Ronald S. Bultje rsbultje gmail - part 3 Reindent
Originally committed as revision 11341 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-28 11:25:25 +00:00
Luca Barbato
e150211863 Real RTSP support, from Ronald S. Bultje rsbultje gmail - part 2 x-pn-tng support
Originally committed as revision 11340 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-28 11:23:25 +00:00
Luca Barbato
16ed032214 Real RTSP support, from Ronald S. Bultje rsbultje gmail - part 1 Comment
Originally committed as revision 11339 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-28 11:10:17 +00:00
Michael Niedermayer
359154bc1b Revert hack which should have never been commited.
------------------------------------------------------------------------
r464 | philipjsg | 2002-05-09 03:19:15 +0200 (Thu, 09 May 2002) | 3 lines

* Add a sleep when doing the post to ffserver. Yes, this is the wrong
  solution.

Originally committed as revision 11336 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-28 03:32:32 +00:00
Michael Kostylev
81644c2ee0 Check for the presence of sys/select.h and conditionally #include it.
patch by Michael Kostylev, mik niipt ru

Originally committed as revision 11324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-27 01:38:50 +00:00
Michael Niedermayer
945208caea Fix detected fps for old divx/xvid.
Originally committed as revision 11323 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-27 00:16:48 +00:00
Michael Niedermayer
9de0be61be Do not force fps unless the user actually specified one.
fixes issue309

Originally committed as revision 11322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-26 22:28:22 +00:00
Ivo van Poorten
b4abe1d198 PC Paintbrush PCX image decoder
Originally committed as revision 11321 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-26 22:17:46 +00:00
Allan Sandfeld Jensen
7dc75e8d43 Revert r6124, the change was just wrong, other formats than MPEG-PS can be
stored in CDXA as well. And the need for a CDXA specific check is questionable.
Also ive ok-ed that patch instead of mans ...
fixes issue287 (psxstr misdetection as MPEG-PS)

Original commit message:
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 11314 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-25 09:37:49 +00:00
Michael Kostylev
4f365f37b5 djgpp port, first part
patch by Michael Kostylev, mik niipt ru

Originally committed as revision 11313 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-24 12:49:27 +00:00
Diego Biurrun
64bb7bd519 typo: begining --> beginning
Originally committed as revision 11312 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-23 21:01:09 +00:00
Reimar Döffinger
efc90ebfcb begining -> beginning typo fix
Originally committed as revision 11309 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-23 18:08:00 +00:00
Reimar Döffinger
88b0072390 100l, av_read_packet must check for read_packet error, in case of
error pkt->stream_index could be invalid and must not be used.
Fixes a crash with http://www.cs.berkeley.edu/~dmolnar/2-snippet3.wav

Originally committed as revision 11307 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-23 13:16:55 +00:00
Reimar Döffinger
1e0f346896 Add a av_alloc_put_byte function.
The name is in analogy to init_put_byte, but I would not mind it
being changed to something better.

Originally committed as revision 11305 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-22 16:18:07 +00:00
Diego Biurrun
00ef4f58e0 Fix Doxygen function parameter name.
Originally committed as revision 11295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-21 11:51:39 +00:00
Diego Biurrun
8bfb108b3e comment typo fixes
Originally committed as revision 11294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-21 11:50:18 +00:00
Ivo van Poorten
91fd7398f4 typo ;)
Originally committed as revision 11287 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-21 00:22:40 +00:00
Michael Niedermayer
1308f2733d Document ByteIOContext and URLContext change rules.
Originally committed as revision 11286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-20 22:33:53 +00:00
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
Björn Axelsson
770d9dafa1 Add functionality to set the direction of a ByteIOContext buffer.
Patch by Björn Axelsson bjorn axelsson intinor se
Original thread: [FFmpeg-devel] [PATCH] MMS protocol support patch 1
Date: 09/19/2007 05:51 PM

Originally committed as revision 10709 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-11 14:57:47 +00:00
Måns Rullgård
736e63edc8 check values more thoroughly in vorbis_header()
Originally committed as revision 10707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-10 22:59:36 +00:00
Måns Rullgård
739587bf04 use bytestream_get_* in vorbis_header()
Originally committed as revision 10706 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-10 22:59:34 +00:00
Måns Rullgård
f5475e1b38 fix buffer overread with invalid Vorbis header
Originally committed as revision 10705 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-10 22:59:31 +00:00
Måns Rullgård
62f2c069b8 remove duplicate Vorbis comment tag handling
Originally committed as revision 10704 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-10 22:58:16 +00:00
Reimar Döffinger
ce3132be88 Remove ogg seek function, instead use generic seek via read_timestamp function
Originally committed as revision 10702 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-10 10:33:20 +00:00
Reimar Döffinger
a1f29b959b Add a read_timestamp function to ogg demuxer
Originally committed as revision 10701 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-10 10:33:07 +00:00
Michael Niedermayer
ec62727818 indent
Originally committed as revision 10693 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-09 01:12:27 +00:00
Michael Niedermayer
4838727ea0 avoid generating invalid files
fixes issue213

Originally committed as revision 10692 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-09 01:01:07 +00:00
Baptiste Coudurier
68bc33fa9f append extradata atoms when parsing, fix OLOCOONS_O3.mov
Originally committed as revision 10688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-08 13:06:48 +00:00
Baptiste Coudurier
fc4cbc1699 DNxHD (SMPTE VC-3) encoder
Originally committed as revision 10682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-08 11:27:18 +00:00
Luca Abeni
e0d21bfe83 Allow to set the maximum number of frames per RTP packet (and add support for
this in the AAC packetizer)

Originally committed as revision 10647 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-02 14:48:08 +00:00
Ronald S. Bultje
3303926c2f Add checking for codecid to has_codec_parameters().
patch by Ronald S. Bultje, rsbultje gmail com
Date: Sat, 29 Sep 2007 09:25:52 -0400
Subject: [FFmpeg-devel] [PATCH] has_codec_parameters() addition

Originally committed as revision 10636 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-01 22:11:10 +00:00
Justin Ruggles
bf41512100 dnet audio needs avparser to work with the lavc ac3 decoder.
Fixes issue 121
Patch by Justin Ruggles

Originally committed as revision 10634 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-01 19:48:02 +00:00
Vladimir Voroshilov
0b04ebb326 Add support for AMV variants of AVI files.
patch by Vladimir Voroshilov, voroshil gmail com
Date: Sun, 30 Sep 2007 00:30:34 +0700
Subject: Re: [FFmpeg-devel] [PATCH] Demuxer for AMV files

Originally committed as revision 10623 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-29 22:47:34 +00:00
Ronald S. Bultje
f8f88a42cf Add IPv6 support to url_split()
patch by: Ronald S. Bultje rsbultje a gmail d com
thread: "[PATCH] url_split() ipv6 support" at 2007/Sep/23 18:43

Originally committed as revision 10615 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-29 14:35:52 +00:00
Björn Axelsson
3576f9c629 Documentation fix for url_f(d)open()
Patch by Björn Axelsson bjorn axelsson intinor se

Originally committed as revision 10608 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-28 15:12:26 +00:00
Ronald S. Bultje
7e1e297ee3 refactor url_split(), preparing for IPv6 support
patch by: Ronald S. Bultje rsbultje a gmail d com
thread: "[PATCH] url_split() ipv6 support" at 09/23/07 18:43

Originally committed as revision 10605 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-27 19:18:07 +00:00
Ramiro Polla
53b7336500 Fix avisynth compilation after allformats.h was removed
Originally committed as revision 10594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-26 18:37:20 +00:00
Aurelien Jacobs
b925ef61dd add support for AVI files with On2 header
Originally committed as revision 10591 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-26 12:30:24 +00:00
Aurelien Jacobs
7b31b0929c use a table to parse AVI file header
Originally committed as revision 10590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-26 12:29:32 +00:00
Benoit Fouet
2d89f334f4 Indentation
Originally committed as revision 10589 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-26 11:33:30 +00:00
Benoit Fouet
602dd8f6c4 Check read_packet before using it.
Originally committed as revision 10588 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-26 11:32:51 +00:00
Nico Sabbi
172d1171d2 added structures and code to keep track of pids<->programs mapping: it's needed
to decide which pids to discard in order to feed to the caller only AVProgram(s)
that have the AV_DISCARD_ALL flag not set

Originally committed as revision 10581 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 20:58:37 +00:00
Nico Sabbi
1d257254f1 replaced custom tracking of programs/services with calls to with av_new_program()
Originally committed as revision 10580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 20:49:11 +00:00
Nico Sabbi
15afa396e4 Added definition and utility functions to handle AVProgram(s) in AVFormatContext
Originally committed as revision 10579 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 20:45:46 +00:00
Aurelien Jacobs
9990460353 use the VP6A codec
Originally committed as revision 10578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 19:30:03 +00:00
Aurelien Jacobs
df63f130c8 revert r10527
There is now a proper vp6a codec, so no need for this hack anymore.

Originally committed as revision 10577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 19:25:59 +00:00
Luca Abeni
0ebecca52c Add my name to the copyright header, since rtp_mpv now contains
a fair amount of code written by me

Originally committed as revision 10563 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-24 12:15:42 +00:00
Luca Abeni
d0c3be9568 Fix a warning by removing an useless assignment (buf_ptr should be only
used in the RTP muxer, and not in the demuxer)

Originally committed as revision 10561 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-24 10:43:26 +00:00
Kostya Shishkov
c1f3c63058 Looks like this APE decoder support versions starting from 3.95
Originally committed as revision 10551 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-23 07:40:34 +00:00
Michael Niedermayer
fffd6a5fe0 indent
Originally committed as revision 10545 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-22 08:58:49 +00:00
Michael Niedermayer
638f489ccd fix segfault with http://samples.mplayerhq.hu/nsv/nsv_samples/ot171_novideo.nsv.bz2
bug introduced in r8466
closes issue179

Originally committed as revision 10544 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-22 08:55:17 +00:00
Baptiste Coudurier
32bbb99d0a HDYC fourcc, sample hdyc/Test2.avi
Originally committed as revision 10541 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-21 18:23:46 +00:00
Baptiste Coudurier
3a319ab6aa add D-10 NTSC support
Originally committed as revision 10539 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-21 16:30:58 +00:00
Baptiste Coudurier
28cf721574 extract correct d10 aes3 audio channels number
Originally committed as revision 10538 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-21 16:28:17 +00:00
Aurelien Jacobs
dee15eceae allcodecs.h and allformats.h are not used anymore
Originally committed as revision 10536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-20 20:42:50 +00:00
Aurelien Jacobs
d999cff5a3 remove last dependencies on allformats.h and allcodecs.h
Originally committed as revision 10535 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-20 20:36:15 +00:00
Diego Biurrun
a889bf135e cosmetics: typo
Originally committed as revision 10534 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-19 21:28:42 +00:00
Stefano Sabatini
f94361612a Make parse_date return INT64_MIN in case of unparsable input.
Patch by Stefano Sabatini: [stefano sabatini-lala poste it]
Original thread:
[FFmpeg-devel] [PATCH] Enhace documentation forlibavformat/utils.c:parse_date
Date: 08/17/2007 09:40 PM

Originally committed as revision 10533 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-19 12:38:07 +00:00
Aurelien Jacobs
f84c357325 Add support for VP6A in flv.
Those files really contain 2 standard VP6 video streams:
 - the "normal" video stream
 - the alpha plan video stream (which is a standard
   YV12 video with it's U an V plans all set to 0)
closes issue166

Originally committed as revision 10527 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-18 15:36:29 +00:00
Stefano Sabatini
a8f70d72c3 Add explanatory comments to the parse_date function.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 10525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-18 08:26:10 +00:00
Aurelien Jacobs
7f559eb1cd disable loads of debug messages to reduce object size
Originally committed as revision 10518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-17 12:01:37 +00:00
Aurelien Jacobs
6369638bf0 loosen dependencies over allformats.h
Originally committed as revision 10513 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-16 23:00:44 +00:00
Benjamin Zores
781ad2f50a monkey audio demuxer now can parse ape tags
Originally committed as revision 10511 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-16 19:51:10 +00:00
Diego Biurrun
0ab1ebea31 warning fix:
nutdec.c: In function ‘nut_read_timestamp’:
nutdec.c:759: warning: label ‘resync’ defined but not used

Originally committed as revision 10506 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-16 14:37:01 +00:00
Reimar Döffinger
efd7428666 Set codec_id correctly for RJPG codec_tag
Originally committed as revision 10498 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-15 08:19:01 +00:00
Luca Abeni
1a3a0a79b6 Support fragmentation for AAC frames
Originally committed as revision 10492 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-14 09:00:31 +00:00
Luca Abeni
171dce486c Support for AAC streaming over RTP. Fragmentation is not implemented yet
Originally committed as revision 10491 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-14 08:17:06 +00:00
Benoit Fouet
411f5c6abd Forward error code when reading a v4l2 frame
Patch by Benoit Fouet (benoit.fouet AT purplelabs DOT com)

Originally committed as revision 10487 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-13 12:46:30 +00:00
Kostya Shishkov
bf4a1f17ee Monkey Audio decoder
Originally committed as revision 10484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-13 03:22:47 +00:00
Baptiste Coudurier
aaac6c29d2 stop parsing udta if size is wrong/garbage, fix issue 154, fix RQ004F14.MOV
Originally committed as revision 10481 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-12 10:18:01 +00:00
Ramiro Polla
89938d29b5 Typo
Originally committed as revision 10478 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-11 23:46:46 +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
Aurelien Jacobs
b156b88c13 rtp and rtsp demuxer declarations are not part of public API
Originally committed as revision 10474 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-10 22:48:42 +00:00
Ramiro Polla
ac6577cd71 Bump micro version number for r10429
Originally committed as revision 10473 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-10 19:31:03 +00:00
Aurelien Jacobs
dde1f9285a *_protocol are not part of public API
Originally committed as revision 10472 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-10 18:11:13 +00:00
Luca Abeni
21b3748029 Test extradata_size instead of the CODEC_FLAG_GLOBAL_HEADER flag to check if
config info are available out of band (fix "-{a,v}codec copy" from .mov)

Originally committed as revision 10471 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-10 15:08:23 +00:00
Luca Abeni
af74c95a08 Fix timestamps in RTP packets (now, MPEG1 video with B frames works correctly)
Originally committed as revision 10469 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-10 07:01:29 +00:00
Luca Abeni
1b31b02ed1 Properly set RTP and NTP timestamps in RTCP SR packets
Originally committed as revision 10468 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-10 06:58:19 +00:00
Patrice Bensoussan
6ec14b333d Improve track number decoding for some WMA files
patch by Patrice Bensoussan %patrice P bensoussan A free P fr%
Original thread:
Date: Sep 9, 2007 12:33 PM
Subject: [FFmpeg-devel] [PATCH] Improve track number decoding for some WMA files

Originally committed as revision 10462 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 17:54:26 +00:00
Reimar Döffinger
7a562a31a3 Do not set codec_tag when the container does not specify it.
Originally committed as revision 10445 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 09:21:14 +00:00
Reimar Döffinger
dd6ca72186 Copy nuv header only when the video codec is nuv
Originally committed as revision 10439 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 07:25:52 +00:00
Ramiro Polla
1156c6b05f Rename the format name audio_device (used in both oss and audio_beos) to oss and audio_beos.
-f oss and -f audio_beos should be used instead.

Originally committed as revision 10429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-07 13:49:44 +00:00
Ramiro Polla
50383e8822 Separate audio_(de)muxer into oss_(de)muxer and audio_beos_(de)muxer
Originally committed as revision 10426 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-07 13:43:40 +00:00
David Conrad
c3ce416105 Use V_MPEG4/ISO/ASP for mpeg4 when muxing mkv
Originally committed as revision 10421 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-06 05:14:09 +00:00
Kostya Shishkov
1ddcd07fda Set correct length for last slice in frame subpacket
Originally committed as revision 10420 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-06 03:36:38 +00:00
Diego Biurrun
e648863560 cosmetics: Add some whitespace for better readability.
Originally committed as revision 10418 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 20:42:17 +00:00
Diego Biurrun
bf898960a7 spelling/wording nits in some Doxygen comments
Originally committed as revision 10417 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 20:31:40 +00:00
Ramiro Polla
4df7c7d8d6 Rename dc1394.c to libdc1394.c
Originally committed as revision 10415 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 18:57:03 +00:00
Ramiro Polla
5fdb9cc50a Prefix library format names with 'lib' in libavformat
Originally committed as revision 10414 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 18:55:20 +00:00
Ramiro Polla
7b1b62b23d Give better filenames to bktr and v4l grabbers
Originally committed as revision 10412 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 18:44:06 +00:00
Ramiro Polla
fd484da77a Remove video_grab_ prefix from video_grab_{bktr,v4l}
Originally committed as revision 10411 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 18:29:58 +00:00
Michael Niedermayer
6a058d90b5 revert 10409
there is no need for put_timestamp to be exported it is not used outside the
PES code

Originally committed as revision 10410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 17:25:39 +00:00
Michael Niedermayer
8baaee65ba export put_timestamp()
this will be needed for spliting the PES muxer code out

Originally committed as revision 10409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 17:14:25 +00:00
Neil Brown
c1e8b67869 Make sure that if a stream has a duration but the container doesn't
then the container duration is set from the stream duration.

patch by Neil Brown: [ neilb suse de]
original thread: [FFmpeg-devel] [patch 3/3] Make timing calculations
less dependant on start_time being defined.
date: 08/16/2007 08:27 AM

Originally committed as revision 10408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 16:47:48 +00:00
Wolfram Gloger
cc5297e871 Correct initial timestamp
Patch by Wolfram Gloger: [wmglo $ dent med uni-muenchen de]
Original thread:
[FFmpeg-devel] [PATCH] av_estimate_timings_from_pts corrupt timestamps
date: 08/25/2007 09:51 PM

Originally committed as revision 10405 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 14:11:33 +00:00
Luca Abeni
4901263abd AAC support in the SDP generator
Originally committed as revision 10398 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 06:30:59 +00:00
David Conrad
e09f7d61da Enable Matroska muxer
Originally committed as revision 10389 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:38:42 +00:00
David Conrad
ab332d0133 Grammar nits
Originally committed as revision 10388 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:26:11 +00:00
David Conrad
b62a33d01b Always use AVFormatContext for av_log messages
Originally committed as revision 10387 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:26:09 +00:00
David Conrad
0f651e8cf3 Rename ebml size functions to indicate that they can be used for more kinds of numbers
Originally committed as revision 10386 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:26:07 +00:00
David Conrad
8b65b9a313 We shouldn't be passing in sizes larger than 2^56-2, so use an assert
Originally committed as revision 10385 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:26:04 +00:00
David Conrad
e5c29287cf Indentation
Originally committed as revision 10384 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:26:03 +00:00
David Conrad
ac9e1177b3 Don't seek when streamed
Originally committed as revision 10383 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:26:00 +00:00
David Conrad
c301d5ae0a Get rid of useless braces
Originally committed as revision 10382 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:58 +00:00
David Conrad
7e33d3fee4 Indent
Originally committed as revision 10381 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:56 +00:00
David Conrad
dc4a9f6737 Match the behaviour betwen the bmp and wav codec tag lookups
Originally committed as revision 10380 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:54 +00:00
David Conrad
46d18a88e1 Write codecprivate to a dynamic buffer so that seeking isn't required
Originally committed as revision 10379 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:52 +00:00
David Conrad
5c559894e1 Move writing codec private element to its own function
Originally committed as revision 10378 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:49 +00:00
David Conrad
211783a50a Cosmetics
Originally committed as revision 10377 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:46 +00:00
David Conrad
91ca969082 Use num_entries directly rather than mixing it with a local copy
Originally committed as revision 10376 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:44 +00:00
David Conrad
e3cd80cdac Doxygenify comments
Originally committed as revision 10375 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:42 +00:00
David Conrad
7f8582dfc6 Make sure that the calculated duration doesn't decrease
Originally committed as revision 10374 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:40 +00:00
David Conrad
8ffc5f9e92 Split some really long lines
Originally committed as revision 10373 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:38 +00:00
David Conrad
3967eb5260 Correct message
Originally committed as revision 10372 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:35 +00:00
David Conrad
9e2a3e2262 Always check the return of mkv_add_seekhead_entry
Originally committed as revision 10371 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:34 +00:00
David Conrad
6d588ecd76 Pass the returned error code of functions up
Originally committed as revision 10370 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:32 +00:00
David Conrad
c35de1a131 Check that the seekheads were created
Originally committed as revision 10369 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:29 +00:00
David Conrad
0b38843a6c Return AVERROR(ENOMEM) when appropriate
Originally committed as revision 10368 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:27 +00:00
David Conrad
47e08c5860 Indentation
Originally committed as revision 10367 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:24 +00:00
David Conrad
0580a12256 Use assert for conditions that must be true
Originally committed as revision 10366 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:22 +00:00
David Conrad
203cce9a92 Simplify
Originally committed as revision 10365 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:20 +00:00
David Conrad
8cf3bb2674 Grammar nits
Originally committed as revision 10364 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:18 +00:00
David Conrad
cfde5d18f5 Break long comments
Originally committed as revision 10363 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:16 +00:00
David Conrad
a6da1aa057 Use sample format for bit depth if av_get_bits_per_sample() doesn't give one
Originally committed as revision 10362 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:14 +00:00
David Conrad
8eb1915395 Calculate and store DAR rather than SAR
Originally committed as revision 10361 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:07 +00:00
David Conrad
5045da831b Clarify comments
Originally committed as revision 10360 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:04 +00:00
David Conrad
5b66fc16af Use PRIu64/PRId64
Originally committed as revision 10359 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:58 +00:00
David Conrad
baf71dca28 Calculate the size of key EBML master elements beforehand so only just enough size is reserved for the size
Originally committed as revision 10358 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:56 +00:00
David Conrad
cce800b456 Use cluster_pos when checking cluster position
Originally committed as revision 10357 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:53 +00:00
David Conrad
f0e9f44271 Modify put_ebml_size() so that the bytes parameter is exact rather than minimum
Originally committed as revision 10356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:50 +00:00
David Conrad
c635497cb4 Set default subtitle_codec to CODEC_ID_TEXT
Originally committed as revision 10355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:48 +00:00
David Conrad
ddf1646729 Simplify
Originally committed as revision 10354 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:44 +00:00
David Conrad
1c73478c8e Move calculating the bytes needed to represent a size in EBML to its own function
Originally committed as revision 10353 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:42 +00:00
David Conrad
9f38fd7efa Make a byte always mean a byte
Originally committed as revision 10352 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:39 +00:00
David Conrad
432adc130c Simplify put_ebml_id()
Originally committed as revision 10351 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:36 +00:00
David Conrad
22ccb69a7f Move ebml_id_size()
Originally committed as revision 10350 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:34 +00:00
David Conrad
ec8f4ad909 Correct handling of smaller unknown sizes
Originally committed as revision 10349 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:31 +00:00
David Conrad
541d443c03 Use a MD5 hash of some frames to write the segment uid
Originally committed as revision 10348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:29 +00:00
David Conrad
f095a17423 Revert using the time to generate the segment uid
Originally committed as revision 10347 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:27 +00:00
David Conrad
57848e9abd Doxygenize some comments
Originally committed as revision 10346 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:25 +00:00
David Conrad
fd150eb629 Set the language to undefined if no language specified
Originally committed as revision 10345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:22 +00:00
David Conrad
55c151efb3 Add mka muxer
Originally committed as revision 10344 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:19 +00:00
David Conrad
c1f5aa2186 Add some debug logging
Originally committed as revision 10343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:17 +00:00
David Conrad
7332adddae Write the display size elements
Originally committed as revision 10342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:15 +00:00
David Conrad
d1a8d959fd Revert writing the file creation date
Originally committed as revision 10341 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:12 +00:00
David Conrad
409533622e Codec Private should be correct for all but Real codecs now
Originally committed as revision 10340 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:10 +00:00
David Conrad
8a39497c13 Write FLAC codec private correctly
Originally committed as revision 10339 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:08 +00:00
David Conrad
86be66378b Move writing Xiph-style sizes to its own function
Originally committed as revision 10338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:06 +00:00
David Conrad
4b8f58eea5 Write segment UID
Originally committed as revision 10337 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:03 +00:00
David Conrad
80380a0f71 Write the creation time
Originally committed as revision 10336 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:01 +00:00
David Conrad
5fd35c6e00 Cosmetics
Originally committed as revision 10335 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:59 +00:00
David Conrad
440e090121 Using LIBAVFORMAT_IDENT for both muxing and writing app is good enough
Originally committed as revision 10334 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:57 +00:00
David Conrad
dcbfe3f099 Floats aren't used enough to justify writing any with single precision
Originally committed as revision 10333 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:55 +00:00
David Conrad
9245c5ca08 Simplify
Originally committed as revision 10332 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:53 +00:00
David Conrad
56e4540d3a Indentation
Originally committed as revision 10331 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:52 +00:00
David Conrad
663a5d9d2d Write subtitle tracks
Originally committed as revision 10330 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:49 +00:00
David Conrad
95527e0669 Move writing a block to its own function
Originally committed as revision 10329 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:47 +00:00
David Conrad
8bea4aee4f Only write extradata if it exists
Originally committed as revision 10328 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:46 +00:00
David Conrad
07918a227a Determine the output sample rate for SBR AAC and write it
Originally committed as revision 10327 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:43 +00:00
David Conrad
6b9a10fbd3 Simplify
Originally committed as revision 10326 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:41 +00:00
David Conrad
f9c8d57b79 Keyframe is the first bit not last
Originally committed as revision 10325 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:39 +00:00
David Conrad
357eba6f0b Simplify
Originally committed as revision 10324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:38 +00:00
David Conrad
d22f88cb19 Use av_get_bits_per_sample
Originally committed as revision 10323 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:34 +00:00
David Conrad
44008871ef Write bit depth for PCM audio
Originally committed as revision 10322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:31 +00:00
David Conrad
1a302a5c2a Write wav header if there is no native audio codec ID
Originally committed as revision 10321 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:29 +00:00
David Conrad
6364d534ea Write the cues element
Originally committed as revision 10320 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:27 +00:00
David Conrad
1b66d31467 Doxygenize comments
Originally committed as revision 10319 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:26 +00:00
David Conrad
4d1fd70cac Calculate the size of a SimpleBlock before writing it so that bytes aren't wasted in writing the size
Originally committed as revision 10318 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:23 +00:00
David Conrad
7973dd0bf1 Indentation
Originally committed as revision 10317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:21 +00:00
David Conrad
967d815ae5 Write the Seek Head element
Originally committed as revision 10316 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:19 +00:00
David Conrad
801edb42d1 Make sure to return a value in functions that return a value
Originally committed as revision 10315 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:17 +00:00
David Conrad
5034ab9024 Move writing the tracks element to its own function
Originally committed as revision 10314 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:15 +00:00
David Conrad
56d55a3bcf Move Xiph's CodecPrivate writing code to its own function
Originally committed as revision 10313 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:13 +00:00
David Conrad
02f487fc77 Write the duration of the file
Originally committed as revision 10312 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:11 +00:00
David Conrad
f57b85a569 put_ebml_void()
Originally committed as revision 10311 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:09 +00:00
David Conrad
ab41602755 Remove unused prototype
Originally committed as revision 10310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:07 +00:00
David Conrad
ffb880c278 Write unknown size if the size given is too large for EBML (greater than 2^56-1)
Originally committed as revision 10309 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:06 +00:00
David Conrad
815eb6a2fe Track number and UID only have to be nonzero
Originally committed as revision 10308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:03 +00:00
David Conrad
90c02d93ff SimpleBlocks are Matroska v2
Originally committed as revision 10307 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:01 +00:00
David Conrad
98186e416d Start a new cluster every 5 MB or 5 seconds
Originally committed as revision 10306 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:00 +00:00
David Conrad
6d50a935c9 Fix writing Xiph header sizes
Originally committed as revision 10305 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:22:58 +00:00
David Conrad
89e81bbbb9 Correctly write CodecPrivate element for Vorbis and Theora
Originally committed as revision 10304 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:22:56 +00:00
David Conrad
79a58e91db Compile fix; missed a variable declaration in the last commit
Originally committed as revision 10303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:22:54 +00:00
David Conrad
b1adb69c5b Write one cluster and SimpleBlocks for the frames. Should now create playable mkv files for some video codecs (H.264 and VP3 checked)
Originally committed as revision 10302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:22:52 +00:00
David Conrad
f622c4f45c First stab at writing the tracks element, still needs some additional cases for certain codecs
Originally committed as revision 10301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:22:50 +00:00
David Conrad
f8e65a3271 Remove useless debug write
Originally committed as revision 10300 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:22:48 +00:00
David Conrad
9b6b0c7926 put_ebml_float()
Originally committed as revision 10299 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:22:47 +00:00
David Conrad
1e18c4d097 Const correctness
Originally committed as revision 10298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:22:45 +00:00
David Conrad
81efc03f58 Get rid of put_ebml_utf8(); the error checking that would have distinguished it from put_ebml_string() belongs elsewhere in lavf.
Originally committed as revision 10297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:22:43 +00:00
David Conrad
dbf653f766 Cosmetics: align nicely for better readibility
Originally committed as revision 10296 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:22:41 +00:00
David Conrad
cf4f763be1 Simplify
Originally committed as revision 10295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:22:39 +00:00
David Conrad
67143c0f69 Beginning of mkv muxer, only EBML head is written correctly
Originally committed as revision 10294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:22:37 +00:00
Ramiro Polla
f7b8bffe47 Treat dc1394 as a library
Originally committed as revision 10292 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-04 22:03:32 +00:00
Mike Melanson
80a16ccf82 simplify PTS handling
Originally committed as revision 10291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-04 17:33:35 +00:00
Luca Abeni
5f2cbb53b4 Fill the buffer with 0 before writing an SDP in it
Originally committed as revision 10287 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-03 09:00:40 +00:00
Neil Brown
9fcbcca60a If a stream has no start time, but the first packet has a 'pts', use that
pts to set the start_time.
patch by Neil Brown: [neilb suse de]
original thread: [FFmpeg-devel] [patch 3/3] Make timing calculations less
dependant on start_time being defined.
date: 08/16/2007 08:27 AM

Originally committed as revision 10285 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-03 07:56:26 +00:00
Luca Abeni
3f19004e46 Set the "B" flag in the payload header
Originally committed as revision 10284 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-03 07:28:58 +00:00
Luca Abeni
2d7d6d4203 Set the "TR" field in the payload header
Originally committed as revision 10283 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-03 07:22:37 +00:00
Luca Abeni
73130dfee2 Correctly set the "P" field in the payload header
Originally committed as revision 10282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-03 07:14:10 +00:00
Wolfram Gloger
9be5181587 fix probe buffer issue. patch by Wolfram Gloger {wmglo at dent.med.uni-muenchen.de}.
[FFmpeg-devel] [PATCH] ac3_probe input buffer overrun
Aug 28, 2007

Originally committed as revision 10281 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-03 05:19:59 +00:00
Michael Niedermayer
da0b94f539 workaround ms (lack of) intelligence in their design of dvr-ms
yes kids you do not make 90% of your file contain empty dummy packets
closes issue76

Originally committed as revision 10280 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-02 15:58:43 +00:00
David Conrad
84fa6e23fb SimpleBlock keyframe flag is the most significant bit
Originally committed as revision 10274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-31 18:24:09 +00:00
Diego Biurrun
1e97ce4a31 cosmetics: Sort some lines, whitespace changes.
Originally committed as revision 10268 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-30 23:11:24 +00:00
Luca Abeni
46b274d4e5 Correct packetization for MPEG video frames, and correct setting of the
"B" and "E" bits in the payload header

Originally committed as revision 10260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-29 10:47:15 +00:00
Luca Abeni
7c8133aa44 Remove commented code (payload header extension)
Originally committed as revision 10259 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-29 10:42:13 +00:00
Luca Barbato
f6df400c0c Backport fix for mpegvideo rtp, fixes Issue119, original fix from Dario Gallucci <dariodotgallucciatpolito.it> in feng
Originally committed as revision 10257 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-28 13:43:39 +00:00
Roberto Togni
b6f508bbcc Change 4xm demuxer and video decoder to pass the video format version in
extradata instead of codec_tag.

Originally committed as revision 10253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-27 21:58:39 +00:00
Diego Biurrun
30a987ece9 Remove unused variable.
Originally committed as revision 10251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-27 12:36:19 +00:00
Luca Abeni
50755217f8 Use correct timescale in RTSP seeking
Originally committed as revision 10222 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-25 15:12:38 +00:00
Luca Abeni
7fa9d0dd8f Remove copyright from a function prototype
Originally committed as revision 10214 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 17:40:43 +00:00
Luca Abeni
98561024ac Move the RTP packetization code for MPEG12 video in its own file (rtp_mpv.c)
Originally committed as revision 10201 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 07:13:34 +00:00
David Conrad
b75c8d16e7 Add V_SNOW
Originally committed as revision 10200 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 00:49:46 +00:00
Kostya Shishkov
2b71ddd96e Take ring frame into account when demuxing.
This fixes issue 97.

Originally committed as revision 10192 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-23 06:59:19 +00:00
Diego Biurrun
57b499c7da Identifiers starting with underscores are reserved.
Originally committed as revision 10179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-22 12:41:16 +00:00
Baptiste Coudurier
1f794d69c0 support swink created files which have soi/eoi broken tags reversed
Originally committed as revision 10152 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 19:55:37 +00:00
Neil Brown
9f32041d89 Do not butcher start_time in av_estimate_timings_from_bit_rate().
from a patch by neilb suse de

Originally committed as revision 10140 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-18 01:26:06 +00:00
Neil Brown
d6a0906ad1 When looking for the last packet in each
stream, so as to calculate the duration, don't stop
as soon as all streams have seen at least one packet.
Otherwise the duration will be shorter than it
should be.  We must keep reading to the end-of-file.
patch by neilb suse de

Originally committed as revision 10139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-18 00:52:05 +00:00
Neil Brown
bf494092b0 There is no guarantee that every stream will
have a start_time found (though it is likely),
so check that the start_time is defined before
calculating a duration.
 (patch by neilb suse de)

Originally committed as revision 10138 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-18 00:45:44 +00:00
Michael Niedermayer
df886e7e02 fix cur_dts at the end of av_estimate_timings_from_pts()
Originally committed as revision 10137 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-18 00:44:14 +00:00
Neil Brown
e26381b6da more verbose doxy for duration (from patch by neilb suse de)
Originally committed as revision 10136 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-18 00:35:43 +00:00
Neil Brown
4854c253a4 mention that start_time maybe AV_NOPTS_VALUE (from patch by neilb suse de)
Originally committed as revision 10135 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-18 00:31:32 +00:00
Vincent Fourmond
9e33b10fd7 Allow pipe: URL to take fd number as input
Patch by Vincent Fourmond [vincent dot fourmond at 9online dot fr]

Originally committed as revision 10134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-17 15:14:29 +00:00
Vincent Fourmond
de79849eac Indent for next commit
Patch by Vincent Fourmond [vincent dot fourmond at 9online dot fr]

Originally committed as revision 10133 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-17 15:12:30 +00:00
Diego Biurrun
93951943ec spelling/wording cosmetics
Originally committed as revision 10131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-17 10:45:50 +00:00
Björn Axelsson
a9054d91b7 store asf streaming bitrates consistently
patch by Björn Axelsson: [bjorn axelsson intinor se]

Originally committed as revision 10130 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-17 06:49:43 +00:00
Ramiro Polla
f18cae4d6e Set UDP receive buffer to 64k
Originally committed as revision 10129 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-16 22:12:03 +00:00
Aurelien Jacobs
fce388b4b9 cosmetic: indentation
Originally committed as revision 10128 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-16 22:04:38 +00:00
Aurelien Jacobs
2f3b419cf1 Don't pre-scale default_duration to avoid precision loss in fps calculation.
closes Issue95

Originally committed as revision 10127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-16 22:01:54 +00:00
Aurelien Jacobs
aec783d42d no need for special case default_duration for AAC
Originally committed as revision 10126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-16 21:55:37 +00:00
Aurelien Jacobs
a92d20629c calculate default_duration according to framerate only when not already set
Originally committed as revision 10125 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-16 21:54:04 +00:00
Michael Niedermayer
6d96a9b94d elaborate a little on AVStream.start_time, it seems the comment is not clear
enough, not that the clearer NEVER comment in AVFormatContext.start_time stoped
people from posting stupid patches

Originally committed as revision 10122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-16 12:07:05 +00:00
Aurelien Jacobs
77cb22fa7b Try size 640x480 for FLC files which don't specify their size.
This is a ugly hack to fix playback of specular.flc.
closes issue71

Originally committed as revision 10117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-14 15:51:30 +00:00
Michael Niedermayer
bc3a73bc87 remove broken movi_end skip-hack-check
this should fix seeking over the first riff chunk in odml

Originally committed as revision 10114 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-14 03:00:56 +00:00
Michael Niedermayer
ea4b2b5e2c do not misuse movi_end for checking chunk sizes
Originally committed as revision 10113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-14 02:27:31 +00:00
Ramiro Polla
9c0edaaf13 Use AVERROR_PATCHWELCOME instead of AVERROR(ENOTSUP)
Originally committed as revision 10111 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 22:55:44 +00:00
Diego Biurrun
9d4edf966e Make native and libnut NUT muxers mutually exclusive.
Originally committed as revision 10102 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 08:33:03 +00:00
David Bryant
a6ba65f7f2 Support for WavPack version 0x410 (false stereo chunks)
Patch by David Bryant printf("david@%s.com",wv_demuxer.long_name);
Thread [PATCH] handle WavPack stream version 0x410

Originally committed as revision 10101 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 05:36:50 +00:00
Michael Niedermayer
a985a940c0 export 4xm video version
Originally committed as revision 10092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 00:44:35 +00:00
Michael Niedermayer
880e3ef413 add support for old flac in ogg
fixes samples.mplayerhq.hu/flac/Yesterday.ogg
closes issue73

Originally committed as revision 10088 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-12 09:29:39 +00:00
Michael Niedermayer
07870f8537 pass *fr2 chunks to decoder (Toy-Story2_better-image-quality.4xa contains them)
Originally committed as revision 10085 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-12 00:23:47 +00:00
Carl Eugen Hoyos
e56397800e Ensure av_tree_insert() is defined before using it.
Patch by Carl Eugen Hoyos   cehoyos _at_ ag.or.at

Originally committed as revision 10083 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 23:58:10 +00:00
David Conrad
160ab30fcc Set dts in tta demuxer
Originally committed as revision 10077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 22:45:40 +00:00
Michael Niedermayer
06c5c560ed cola for diego
Originally committed as revision 10074 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 20:03:10 +00:00
Diego Biurrun
68bf8d83c5 Bump minor number, NUT muxer was added.
Originally committed as revision 10072 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 15:03:50 +00:00
Michael Niedermayer
63dd9d0ee3 simplify
Originally committed as revision 10068 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 11:12:34 +00:00
Michael Niedermayer
d2062ff64d do not remove FLAG_CODED
Originally committed as revision 10067 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 11:10:29 +00:00
Michael Niedermayer
0e6472fdcb remove useless code, found by oded
Originally committed as revision 10066 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 10:12:39 +00:00
Michael Niedermayer
2529024b3c this is debug not info
Originally committed as revision 10065 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 22:40:11 +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
65d7d68b99 mention AVPROBE_PADDING_SIZE at the read_probe() doxy
Originally committed as revision 10061 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 16:15:23 +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
Aurelien Jacobs
9c3e2f78a0 ensure that negative block_time are properly checked
(workaround unsigned comparison)

Originally committed as revision 10058 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 15:37:55 +00:00
Michael Niedermayer
0a5790d1a9 ensure that the aspect ratio is spec compliant
Originally committed as revision 10056 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 14:23:18 +00:00
Luca Barbato
272872e44b fix the packetization mode parsing
Originally committed as revision 10055 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 13:34:56 +00:00
Michael Niedermayer
1b0353be6d disable TRACE
Originally committed as revision 10053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 13:04:45 +00:00
Michael Niedermayer
a17e046a42 muxer should now be spec compliant (though it likely still contains bugs!)
Originally committed as revision 10052 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 13:04:16 +00:00
Michael Niedermayer
14b3f9961f header repetition
Originally committed as revision 10051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 12:59:17 +00:00
Michael Niedermayer
ead1939f69 info packet
Originally committed as revision 10050 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 11:52:28 +00:00
Aurelien Jacobs
63f8165914 merge some REGISTER_MUXER/DEMUXER into REGISTER_MUXDEMUX
Originally committed as revision 10048 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 01:44:50 +00:00
Ramiro Polla
a12df245a4 10l: removed pipe_close instead of pipe_read
Originally committed as revision 10047 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 01:39:26 +00:00
Michael Niedermayer
caeeefd7a4 more FIXME
Originally committed as revision 10044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 00:13:50 +00:00
Michael Niedermayer
41b7c75db3 enable nut muxer
Originally committed as revision 10043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 00:12:54 +00:00
Michael Niedermayer
100d8eb8dc muxer is not yet fully compliant so prevent people from mistakenly using it
while believing it already is

Originally committed as revision 10042 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 00:11:36 +00:00
Ramiro Polla
ee7db7b0b9 Make the pipe URLProtocol share read and write functions with the file URLProtocol
Originally committed as revision 10041 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 23:41:59 +00:00
Ramiro Polla
1642cb6b2e Add initialization and cleanup functions for Winsock
Originally committed as revision 10040 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 23:39:05 +00:00
Michael Niedermayer
7c04134fa1 set back ptr properly
Originally committed as revision 10039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 23:29:58 +00:00
Michael Niedermayer
4a3b5fe16a move syncpoint cache related stuff to common file
Originally committed as revision 10038 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 23:24:02 +00:00
Michael Niedermayer
073811cdd2 fix forw_ptr crc check
not really beautiful but i did not find a nice solution
note, untested

Originally committed as revision 10037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 21:35:13 +00:00
Michael Niedermayer
f0a9978c92 fix header_checksum
Originally committed as revision 10036 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 21:20:17 +00:00