Commit Graph

3122 Commits

Author SHA1 Message Date
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