Commit Graph

17753 Commits

Author SHA1 Message Date
Francesco Cosoleto
ced06bd8fe Add the ability to set the timestamp to the current time by specifying 'now'
as the time

Patch by Francesco Cosoleto ( cosoleto gmail com )

Originally committed as revision 17076 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 22:03:54 +00:00
Vitor Sessak
f9e5b9420e 10l: fix compiler warning:
ncdec.c:82: warning: ISO C90 forbids mixed declarations and code

Originally committed as revision 17075 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 21:42:06 +00:00
Stefano Sabatini
74afdc5535 Document the av_base64_encode/decode functions.
See the thread:
"[PATCH] Improve documentation for libavutil/base64.h".

Originally committed as revision 17074 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 21:23:15 +00:00
Ivan Schreter
4d8eb2e899 Fix a const related warning
Patch by Ivan Schreter ( schreter gmx net )

Originally committed as revision 17073 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 21:22:18 +00:00
Stefano Sabatini
ac76729c10 Cosmetics: "* out" -> "*out" for consistency with the other
parameters.

Originally committed as revision 17072 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 21:19:04 +00:00
Stefano Sabatini
5118bd441d Cosmetics: rename the "size" parameter of av_base64_encode() to "in_size".
Originally committed as revision 17071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 21:16:36 +00:00
Baptiste Coudurier
1cc65cecb2 Move declaration of ff_interleave_add_packet to internal.h.
It is an internal function and should not be in an installed header.

Originally committed as revision 17070 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 21:14:46 +00:00
Stefano Sabatini
52ef50a080 Cosmetics: prefer out/in over buf/src for the parameter names of
av_base64_encode(), for consistency/readability reasons.

Originally committed as revision 17069 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 21:13:11 +00:00
Baptiste Coudurier
18099ade6f Declare ff_interleave_new_audio_packet as static, it is not used
outside of audiointerleave.c.  Also remove the function declaration
  from the header as it is now static.

Originally committed as revision 17068 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 21:09:50 +00:00
Stefano Sabatini
61ccbc52ea Cosmetics: consistently prefer "size" over "len"/"length" for the
variable names.

Originally committed as revision 17067 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 21:08:42 +00:00
Baptiste Coudurier
94027d3bdd document ff_audio_interleave
Originally committed as revision 17066 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 21:08:34 +00:00
Stefano Sabatini
0d20c3fdad Make av_base64_encode() do not require the user to provide an
overallocated buffer where to put the encoded string.

See the thread:
"[PATCH] Improve documentation for libavutil/base64.h".

Originally committed as revision 17065 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 21:00:39 +00:00
Ivan Schreter
dd02ea118b Replace hard-coded SEI type constants with symbolic names
Patch by Ivan Schreter ( schreter gmx net )

Originally committed as revision 17064 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 20:28:12 +00:00
Michael Niedermayer
eb8a25c895 Clarify has_b_frames doxy.
Originally committed as revision 17063 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 18:56:33 +00:00
Nicolas Martin
eaf5d0112b NC camera demuxer
Patch by Nicolas Martin - elvadrias at gmail

Originally committed as revision 17062 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 18:50:32 +00:00
Michael Niedermayer
998b6f7ca2 Clarify that avformat_seek_file() is not part of the stable API yet.
Originally committed as revision 17061 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 17:55:00 +00:00
Michael Niedermayer
d04768fa80 avformat_seek_file() prototype
Originally committed as revision 17060 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 17:52:52 +00:00
Loren Merritt
3daa434a40 ff_add_hfyu_median_prediction_mmx2
overall ffvhuff decoding speedup: 28% on core2, 25% on k8.

Originally committed as revision 17059 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 17:45:30 +00:00
Loren Merritt
6166516d1f re-enable mid_pred asm on x86_64. (broke in r16681)
Originally committed as revision 17058 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 17:44:04 +00:00
Michael Niedermayer
74892f7a4e Fix reserved identifer detection so it doesnt detect __asm and such.
Originally committed as revision 17057 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 13:34:22 +00:00
Michael Niedermayer
3d8f9025b1 Factorize grep -v cases.
Originally committed as revision 17056 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 13:30:34 +00:00
Michael Niedermayer
6c2dd77eb2 Patch check script.
Note, before you flame me that its dirty, i did post it to ffmpeg-dev and
asked for a review and threatened to commit.

Originally committed as revision 17055 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 12:55:17 +00:00
Baptiste Coudurier
04e06cfa20 cosmetics: sample_to_chunk -> stsc
Originally committed as revision 17054 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 09:59:31 +00:00
Baptiste Coudurier
a234e38d6e cosmetics: sample_to_ctime -> ctts
Originally committed as revision 17053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 09:57:28 +00:00
Baptiste Coudurier
1975c52c2a remove useless field
Originally committed as revision 17052 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 09:55:23 +00:00
Baptiste Coudurier
9e8d61d4f1 rewrite pts also, as comment says
Originally committed as revision 17051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 09:48:59 +00:00
Baptiste Coudurier
59453725f2 remove useless return
Originally committed as revision 17050 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 09:42:37 +00:00
Baptiste Coudurier
425c9962b2 fix doxygen
Originally committed as revision 17049 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 09:39:19 +00:00
Stefano Sabatini
8e2fd8e1d4 Replace the calls to the deprecated av_alloc_format_context() with
corresponding calls to avformat_alloc_context().

Originally committed as revision 17048 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 08:27:26 +00:00
Stefano Sabatini
88a2896520 Deprecate av_malloc_format_context() in favor of
avformat_alloc_context(), and drop the old symbol at the next major
bump.

Originally committed as revision 17047 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 08:16:40 +00:00
Baptiste Coudurier
353f87b8d4 fix typo in h264dsp_mmx (no effect currently as the function is not used), approved by Dark Shikari on IRC
Originally committed as revision 17046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 06:35:21 +00:00
Baptiste Coudurier
8468664bd8 Remove 'const' qualifier from variable in av_parse_video_frame_size().
Thus only one warning is printed due to assignment instead of 2 from strtol.

Originally committed as revision 17045 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 06:11:50 +00:00
Baptiste Coudurier
8eb027c83c remove useless cast, it does not remove warning, encode prototype must be changed
Originally committed as revision 17044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 06:03:10 +00:00
Baptiste Coudurier
a7573719e5 remove warning about incompatible pointer
Originally committed as revision 17043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 05:49:42 +00:00
Baptiste Coudurier
5ac4d7689d reuse MXFCodecUL for data def and simplify
Originally committed as revision 17042 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 05:12:30 +00:00
Baptiste Coudurier
251bf87560 remove implicit header inclusions from mxf.h
Originally committed as revision 17041 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 04:42:38 +00:00
Baptiste Coudurier
84a2d3045b free index entries
Originally committed as revision 17040 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 04:35:36 +00:00
Baptiste Coudurier
63601677fe use new audio interleaving generic code
Originally committed as revision 17039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 04:33:53 +00:00
Baptiste Coudurier
f1544e79f2 extract audio interleaving code from mxf muxer, will be used by gxf and dv
Originally committed as revision 17038 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 04:31:44 +00:00
Baptiste Coudurier
baf2ffd329 offset dts according to edit list, hackish but works, based on patch by Reimar
Originally committed as revision 17037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 04:27:07 +00:00
Diego Biurrun
6bab479955 Remove const qualifier from function argument to eliminate the warning
swfenc.c:452: warning: passing argument 2 of #av_fifo_generic_write# discards qualifiers from pointer target type

Originally committed as revision 17036 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 03:44:54 +00:00
Baptiste Coudurier
d526105f08 only use 2 slices for index, one video(vbr) and one audio(cbr)
Originally committed as revision 17035 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 03:29:49 +00:00
Baptiste Coudurier
5ccc2316ab force first track to be video and simplify
Originally committed as revision 17034 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 02:38:07 +00:00
Baptiste Coudurier
67d8ac4a02 write system item
Originally committed as revision 17033 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 02:34:56 +00:00
Baptiste Coudurier
88b2027e9a declare ff_interleave_add_packet
Originally committed as revision 17032 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-07 21:13:40 +00:00
Kostya Shishkov
432f1f11ea Move RV3/4 frame type check up so 1-slice unanchored B-frames are checked, too.
Originally committed as revision 17031 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-07 10:46:51 +00:00
Kostya Shishkov
186f155e1c Add decoder flush after seeking for RV3/4 decoders
Originally committed as revision 17030 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-07 09:35:16 +00:00
Baptiste Coudurier
85d0d114d0 use 512 kag size needed for d10
Originally committed as revision 17029 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-07 02:13:23 +00:00
Stefano Sabatini
9d385cfec4 Drop the deprecated function register_avcodec() at the next major
version bump.

Originally committed as revision 17028 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-06 23:54:50 +00:00
Stefano Sabatini
9be26823b9 Replace the calls to the deprecated function register_avcodec() with
corresponding calls to avcodec_register().

Originally committed as revision 17027 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-06 23:50:54 +00:00