Commit Graph

2919 Commits

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