platform/upstream/libav.git
15 years agoRemove file name from file headers.
Diego Biurrun [Mon, 9 Feb 2009 11:17:54 +0000 (11:17 +0000)]
Remove file name from file headers.
It provides no useful information and breaks on renames.

Originally committed as revision 17097 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoremove no more needed fields in GIFContext, patch by Daniel Verkamp, daniel at drv...
Daniel Verkamp [Mon, 9 Feb 2009 08:16:04 +0000 (08:16 +0000)]
remove no more needed fields in GIFContext, patch by Daniel Verkamp, daniel at drv dot nu

Originally committed as revision 17096 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoremove dead rgb24 code, gif encoder now directly takes palette, patch by Daniel Verka...
Daniel Verkamp [Mon, 9 Feb 2009 08:14:29 +0000 (08:14 +0000)]
remove dead rgb24 code, gif encoder now directly takes palette, patch by Daniel Verkamp, daniel at drv dot nu

Originally committed as revision 17095 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoremove dead netscape loop header code in gif encoder, patch by Daniel Verkamp, daniel...
Daniel Verkamp [Mon, 9 Feb 2009 08:11:08 +0000 (08:11 +0000)]
remove dead netscape loop header code in gif encoder, patch by Daniel Verkamp, daniel at drv dot nu

Originally committed as revision 17094 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoCheck that there are subtitle rects to encode in avcodec_encode_subtitle()
Björn Axelsson [Mon, 9 Feb 2009 01:58:01 +0000 (01:58 +0000)]
Check that there are subtitle rects to encode in avcodec_encode_subtitle()

Patch by Björn Axelsson ( gecko A acc D umu D se )

Originally committed as revision 17093 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoCheck that start_display_time is 0 in avcodec_encode_subtitle()
Björn Axelsson [Mon, 9 Feb 2009 01:51:36 +0000 (01:51 +0000)]
Check that start_display_time is 0 in avcodec_encode_subtitle()

Patch by Björn Axelsson ( gecko A acc D umu D se )

Originally committed as revision 17092 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoIncrease the number of packets required to identify as MPEG PES to keep from
Alex Converse [Mon, 9 Feb 2009 01:46:01 +0000 (01:46 +0000)]
Increase the number of packets required to identify as MPEG PES to keep from
identifying MP3 files with padding or garbage at the beginning.

Originally committed as revision 17091 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoVP3: Do not ignore error from read_huffman_tree().
Alex Converse [Mon, 9 Feb 2009 01:39:33 +0000 (01:39 +0000)]
VP3: Do not ignore error from read_huffman_tree().

Originally committed as revision 17090 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoAdd ffplay subtitle stream selection command-line parameter
Björn Axelsson [Mon, 9 Feb 2009 01:38:12 +0000 (01:38 +0000)]
Add ffplay subtitle stream selection command-line parameter

Patch by Björn Axelsson ( gecko A acc D umu D se )

Originally committed as revision 17089 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoFix blend_subrect for even-width subrects positioned on odd columns
Björn Axelsson [Mon, 9 Feb 2009 00:27:04 +0000 (00:27 +0000)]
Fix blend_subrect for even-width subrects positioned on odd columns

Patch by Björn Axelsson ( gecko A acc D umu D se )

Originally committed as revision 17088 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoFix timestamp parsing in XSUB decoder.
Björn Axelsson [Mon, 9 Feb 2009 00:18:26 +0000 (00:18 +0000)]
Fix timestamp parsing in XSUB decoder.

Patch by Björn Axelsson gecko A acc D umu D se

Originally committed as revision 17087 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoremove no more needed comment, declaration is in internal header
Baptiste Coudurier [Mon, 9 Feb 2009 00:18:25 +0000 (00:18 +0000)]
remove no more needed comment, declaration is in internal header

Originally committed as revision 17086 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agocosmetics: typo/grammar fixes in doxygen and other comments
Diego Biurrun [Sun, 8 Feb 2009 23:34:58 +0000 (23:34 +0000)]
cosmetics: typo/grammar fixes in doxygen and other comments

Originally committed as revision 17085 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agocosmetics: Fix a few typos and use a consistent codec long name.
Diego Biurrun [Sun, 8 Feb 2009 23:32:46 +0000 (23:32 +0000)]
cosmetics: Fix a few typos and use a consistent codec long name.

Originally committed as revision 17084 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoRemove unused variables.
Diego Biurrun [Sun, 8 Feb 2009 23:28:21 +0000 (23:28 +0000)]
Remove unused variables.

Originally committed as revision 17083 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoAdd av_cold attribute to init function.
Diego Biurrun [Sun, 8 Feb 2009 23:25:56 +0000 (23:25 +0000)]
Add av_cold attribute to init function.

Originally committed as revision 17082 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoRemove unused variables.
Diego Biurrun [Sun, 8 Feb 2009 23:24:26 +0000 (23:24 +0000)]
Remove unused variables.

Originally committed as revision 17081 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agotypo: CODEC_ID_cljr --> CODEC_ID_CLJR
Diego Biurrun [Sun, 8 Feb 2009 23:19:29 +0000 (23:19 +0000)]
typo: CODEC_ID_cljr --> CODEC_ID_CLJR

Originally committed as revision 17080 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoDrop the deprecated sws_scale_ordered() at the next major version
Stefano Sabatini [Sun, 8 Feb 2009 23:06:05 +0000 (23:06 +0000)]
Drop the deprecated sws_scale_ordered() at the next major version
bump.

Originally committed as revision 28492 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

15 years agoReplace int type with enum PixelFormat for the dstFormat/srcFormat
Stefano Sabatini [Sun, 8 Feb 2009 23:02:06 +0000 (23:02 +0000)]
Replace int type with enum PixelFormat for the dstFormat/srcFormat
params of the sws_getContext() and sws_getCachedContext()
declarations, consistent with the implementation.

Originally committed as revision 28491 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

15 years agoFix a typo: lumaSarpen -> lumaSharpen.
Stefano Sabatini [Sun, 8 Feb 2009 22:50:57 +0000 (22:50 +0000)]
Fix a typo: lumaSarpen -> lumaSharpen.

Originally committed as revision 28490 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

15 years agoRemove rendering column from list of supported subtitle formats.
Diego Biurrun [Sun, 8 Feb 2009 22:24:04 +0000 (22:24 +0000)]
Remove rendering column from list of supported subtitle formats.

Originally committed as revision 17079 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoAdd missing ffplay subtitle cycling keybinding.
Björn Axelsson [Sun, 8 Feb 2009 22:22:26 +0000 (22:22 +0000)]
Add missing ffplay subtitle cycling keybinding.
patch by Björn Axelsson, gecko acc.umu se

Originally committed as revision 17078 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agocosmetics: comment grammar/spelling fixes
Diego Biurrun [Sun, 8 Feb 2009 22:06:55 +0000 (22:06 +0000)]
cosmetics: comment grammar/spelling fixes

Originally committed as revision 17077 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoAdd the ability to set the timestamp to the current time by specifying 'now'
Francesco Cosoleto [Sun, 8 Feb 2009 22:03:54 +0000 (22:03 +0000)]
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

15 years ago10l: fix compiler warning:
Vitor Sessak [Sun, 8 Feb 2009 21:42:06 +0000 (21:42 +0000)]
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

15 years agoDocument the av_base64_encode/decode functions.
Stefano Sabatini [Sun, 8 Feb 2009 21:23:15 +0000 (21:23 +0000)]
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

15 years agoFix a const related warning
Ivan Schreter [Sun, 8 Feb 2009 21:22:18 +0000 (21:22 +0000)]
Fix a const related warning

Patch by Ivan Schreter ( schreter gmx net )

Originally committed as revision 17073 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoCosmetics: "* out" -> "*out" for consistency with the other
Stefano Sabatini [Sun, 8 Feb 2009 21:19:04 +0000 (21:19 +0000)]
Cosmetics: "* out" -> "*out" for consistency with the other
parameters.

Originally committed as revision 17072 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoCosmetics: rename the "size" parameter of av_base64_encode() to "in_size".
Stefano Sabatini [Sun, 8 Feb 2009 21:16:36 +0000 (21:16 +0000)]
Cosmetics: rename the "size" parameter of av_base64_encode() to "in_size".

Originally committed as revision 17071 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoMove declaration of ff_interleave_add_packet to internal.h.
Baptiste Coudurier [Sun, 8 Feb 2009 21:14:46 +0000 (21:14 +0000)]
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

15 years agoCosmetics: prefer out/in over buf/src for the parameter names of
Stefano Sabatini [Sun, 8 Feb 2009 21:13:11 +0000 (21:13 +0000)]
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

15 years ago Declare ff_interleave_new_audio_packet as static, it is not used
Baptiste Coudurier [Sun, 8 Feb 2009 21:09:50 +0000 (21:09 +0000)]
  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

15 years agoCosmetics: consistently prefer "size" over "len"/"length" for the
Stefano Sabatini [Sun, 8 Feb 2009 21:08:42 +0000 (21:08 +0000)]
Cosmetics: consistently prefer "size" over "len"/"length" for the
variable names.

Originally committed as revision 17067 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agodocument ff_audio_interleave
Baptiste Coudurier [Sun, 8 Feb 2009 21:08:34 +0000 (21:08 +0000)]
document ff_audio_interleave

Originally committed as revision 17066 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoMake av_base64_encode() do not require the user to provide an
Stefano Sabatini [Sun, 8 Feb 2009 21:00:39 +0000 (21:00 +0000)]
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

15 years agoReplace hard-coded SEI type constants with symbolic names
Ivan Schreter [Sun, 8 Feb 2009 20:28:12 +0000 (20:28 +0000)]
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

15 years agoClarify has_b_frames doxy.
Michael Niedermayer [Sun, 8 Feb 2009 18:56:33 +0000 (18:56 +0000)]
Clarify has_b_frames doxy.

Originally committed as revision 17063 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoNC camera demuxer
Nicolas Martin [Sun, 8 Feb 2009 18:50:32 +0000 (18:50 +0000)]
NC camera demuxer

Patch by Nicolas Martin - elvadrias at gmail

Originally committed as revision 17062 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoClarify that avformat_seek_file() is not part of the stable API yet.
Michael Niedermayer [Sun, 8 Feb 2009 17:55:00 +0000 (17:55 +0000)]
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

15 years agoavformat_seek_file() prototype
Michael Niedermayer [Sun, 8 Feb 2009 17:52:52 +0000 (17:52 +0000)]
avformat_seek_file() prototype

Originally committed as revision 17060 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoff_add_hfyu_median_prediction_mmx2
Loren Merritt [Sun, 8 Feb 2009 17:45:30 +0000 (17:45 +0000)]
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

15 years agore-enable mid_pred asm on x86_64. (broke in r16681)
Loren Merritt [Sun, 8 Feb 2009 17:44:04 +0000 (17:44 +0000)]
re-enable mid_pred asm on x86_64. (broke in r16681)

Originally committed as revision 17058 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoFix reserved identifer detection so it doesnt detect __asm and such.
Michael Niedermayer [Sun, 8 Feb 2009 13:34:22 +0000 (13:34 +0000)]
Fix reserved identifer detection so it doesnt detect __asm and such.

Originally committed as revision 17057 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoFactorize grep -v cases.
Michael Niedermayer [Sun, 8 Feb 2009 13:30:34 +0000 (13:30 +0000)]
Factorize grep -v cases.

Originally committed as revision 17056 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoPatch check script.
Michael Niedermayer [Sun, 8 Feb 2009 12:55:17 +0000 (12:55 +0000)]
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

15 years agocosmetics: sample_to_chunk -> stsc
Baptiste Coudurier [Sun, 8 Feb 2009 09:59:31 +0000 (09:59 +0000)]
cosmetics: sample_to_chunk -> stsc

Originally committed as revision 17054 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agocosmetics: sample_to_ctime -> ctts
Baptiste Coudurier [Sun, 8 Feb 2009 09:57:28 +0000 (09:57 +0000)]
cosmetics: sample_to_ctime -> ctts

Originally committed as revision 17053 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoremove useless field
Baptiste Coudurier [Sun, 8 Feb 2009 09:55:23 +0000 (09:55 +0000)]
remove useless field

Originally committed as revision 17052 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agorewrite pts also, as comment says
Baptiste Coudurier [Sun, 8 Feb 2009 09:48:59 +0000 (09:48 +0000)]
rewrite pts also, as comment says

Originally committed as revision 17051 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoremove useless return
Baptiste Coudurier [Sun, 8 Feb 2009 09:42:37 +0000 (09:42 +0000)]
remove useless return

Originally committed as revision 17050 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agofix doxygen
Baptiste Coudurier [Sun, 8 Feb 2009 09:39:19 +0000 (09:39 +0000)]
fix doxygen

Originally committed as revision 17049 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoReplace the calls to the deprecated av_alloc_format_context() with
Stefano Sabatini [Sun, 8 Feb 2009 08:27:26 +0000 (08:27 +0000)]
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

15 years agoDeprecate av_malloc_format_context() in favor of
Stefano Sabatini [Sun, 8 Feb 2009 08:16:40 +0000 (08:16 +0000)]
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

15 years agofix typo in h264dsp_mmx (no effect currently as the function is not used), approved...
Baptiste Coudurier [Sun, 8 Feb 2009 06:35:21 +0000 (06:35 +0000)]
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

15 years agoRemove 'const' qualifier from variable in av_parse_video_frame_size().
Baptiste Coudurier [Sun, 8 Feb 2009 06:11:50 +0000 (06:11 +0000)]
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

15 years agoremove useless cast, it does not remove warning, encode prototype must be changed
Baptiste Coudurier [Sun, 8 Feb 2009 06:03:10 +0000 (06:03 +0000)]
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

15 years agoremove warning about incompatible pointer
Baptiste Coudurier [Sun, 8 Feb 2009 05:49:42 +0000 (05:49 +0000)]
remove warning about incompatible pointer

Originally committed as revision 17043 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoreuse MXFCodecUL for data def and simplify
Baptiste Coudurier [Sun, 8 Feb 2009 05:12:30 +0000 (05:12 +0000)]
reuse MXFCodecUL for data def and simplify

Originally committed as revision 17042 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoremove implicit header inclusions from mxf.h
Baptiste Coudurier [Sun, 8 Feb 2009 04:42:38 +0000 (04:42 +0000)]
remove implicit header inclusions from mxf.h

Originally committed as revision 17041 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agofree index entries
Baptiste Coudurier [Sun, 8 Feb 2009 04:35:36 +0000 (04:35 +0000)]
free index entries

Originally committed as revision 17040 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agouse new audio interleaving generic code
Baptiste Coudurier [Sun, 8 Feb 2009 04:33:53 +0000 (04:33 +0000)]
use new audio interleaving generic code

Originally committed as revision 17039 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoextract audio interleaving code from mxf muxer, will be used by gxf and dv
Baptiste Coudurier [Sun, 8 Feb 2009 04:31:44 +0000 (04:31 +0000)]
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

15 years agooffset dts according to edit list, hackish but works, based on patch by Reimar
Baptiste Coudurier [Sun, 8 Feb 2009 04:27:07 +0000 (04:27 +0000)]
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

15 years agoRemove const qualifier from function argument to eliminate the warning
Diego Biurrun [Sun, 8 Feb 2009 03:44:54 +0000 (03:44 +0000)]
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

15 years agoonly use 2 slices for index, one video(vbr) and one audio(cbr)
Baptiste Coudurier [Sun, 8 Feb 2009 03:29:49 +0000 (03:29 +0000)]
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

15 years agoforce first track to be video and simplify
Baptiste Coudurier [Sun, 8 Feb 2009 02:38:07 +0000 (02:38 +0000)]
force first track to be video and simplify

Originally committed as revision 17034 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agowrite system item
Baptiste Coudurier [Sun, 8 Feb 2009 02:34:56 +0000 (02:34 +0000)]
write system item

Originally committed as revision 17033 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agodeclare ff_interleave_add_packet
Baptiste Coudurier [Sat, 7 Feb 2009 21:13:40 +0000 (21:13 +0000)]
declare ff_interleave_add_packet

Originally committed as revision 17032 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoMove RV3/4 frame type check up so 1-slice unanchored B-frames are checked, too.
Kostya Shishkov [Sat, 7 Feb 2009 10:46:51 +0000 (10:46 +0000)]
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

15 years agoAdd decoder flush after seeking for RV3/4 decoders
Kostya Shishkov [Sat, 7 Feb 2009 09:35:16 +0000 (09:35 +0000)]
Add decoder flush after seeking for RV3/4 decoders

Originally committed as revision 17030 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agouse 512 kag size needed for d10
Baptiste Coudurier [Sat, 7 Feb 2009 02:13:23 +0000 (02:13 +0000)]
use 512 kag size needed for d10

Originally committed as revision 17029 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoDrop the deprecated function register_avcodec() at the next major
Stefano Sabatini [Fri, 6 Feb 2009 23:54:50 +0000 (23:54 +0000)]
Drop the deprecated function register_avcodec() at the next major
version bump.

Originally committed as revision 17028 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoReplace the calls to the deprecated function register_avcodec() with
Stefano Sabatini [Fri, 6 Feb 2009 23:50:54 +0000 (23:50 +0000)]
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

15 years agoRename register_avcodec() as avcodec_register() and deprecate the old
Stefano Sabatini [Fri, 6 Feb 2009 23:46:15 +0000 (23:46 +0000)]
Rename register_avcodec() as avcodec_register() and deprecate the old
function name.

Originally committed as revision 17026 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoAdd a new test program for base64, based on that removed in r17024.
Stefano Sabatini [Fri, 6 Feb 2009 23:29:25 +0000 (23:29 +0000)]
Add a new test program for base64, based on that removed in r17024.

See the thread:
"[PATCH] remove unused and broken test program in libavutil/base64.c".

Originally committed as revision 17025 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoRemove broken test program.
Stefano Sabatini [Fri, 6 Feb 2009 23:24:17 +0000 (23:24 +0000)]
Remove broken test program.

Originally committed as revision 17024 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoMove RTP_MAX_PACKET_LENGTH to rtpdec.h: it is not used in the muxer anymore
Luca Abeni [Fri, 6 Feb 2009 20:42:21 +0000 (20:42 +0000)]
Move RTP_MAX_PACKET_LENGTH to rtpdec.h: it is not used in the muxer anymore

Originally committed as revision 17023 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoDo not use RTP_MAX_PACKET_LENGTH in the RTP muxer
Luca Abeni [Fri, 6 Feb 2009 20:41:15 +0000 (20:41 +0000)]
Do not use RTP_MAX_PACKET_LENGTH in the RTP muxer

Originally committed as revision 17022 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoFix minor memory leak.
Jindřich Makovička [Fri, 6 Feb 2009 20:30:18 +0000 (20:30 +0000)]
Fix minor memory leak.
Patch by Jindrich Makovicka, approved by mans.

Originally committed as revision 17021 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoMerge rtp_aac.h and rtp_mpv.h in rtpenc.h
Luca Abeni [Fri, 6 Feb 2009 15:30:41 +0000 (15:30 +0000)]
Merge rtp_aac.h and rtp_mpv.h in rtpenc.h

Originally committed as revision 17020 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoFix list of input pix_fmts supported by GIF. This makes it work with swscale.
Michael Niedermayer [Fri, 6 Feb 2009 13:04:39 +0000 (13:04 +0000)]
Fix list of input pix_fmts supported by GIF. This makes it work with swscale.
It also allows encoding GIF with a 4-bit palette and with a graycale one as a
side effect.

Originally committed as revision 17019 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoEnsure that the palette is set in data[1] for all 8bit formats.
Michael Niedermayer [Fri, 6 Feb 2009 12:59:50 +0000 (12:59 +0000)]
Ensure that the palette is set in data[1] for all 8bit formats.
Also document it.

Originally committed as revision 17018 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoUse libopenjpeg for jpeg2k decoding.
Jai Menon [Fri, 6 Feb 2009 11:49:31 +0000 (11:49 +0000)]
Use libopenjpeg for jpeg2k decoding.

Patch by Jaikrishnan Menon

Originally committed as revision 17017 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoSplit rtp.h in rtp.h, rtpdec.h, and rtpenc.h
Luca Abeni [Fri, 6 Feb 2009 10:35:52 +0000 (10:35 +0000)]
Split rtp.h in rtp.h, rtpdec.h, and rtpenc.h

Originally committed as revision 17016 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoAdd "AVFormatContext *ctx" (that being the RTSP demuxer's) as first argument
Ronald S. Bultje [Fri, 6 Feb 2009 01:37:19 +0000 (01:37 +0000)]
Add "AVFormatContext *ctx" (that being the RTSP demuxer's) as first argument
to the parse_packet() function pointer in RTPDynamicProtocolHandlers. This
allows these functions to peek back and retrieve values from the demuxer's
context (or RTSPState). The ASF/RTP payload parser will use this to be able
to parse SDP values (which occur even before the payload ID is given), store
them in the RTSPState and then retrieve them while parsing payload data. See
"[PATCH] RTSP-MS 13/15: add RTSP demuxer AVFormatContext to parse_packet()
function pointer (was: transport context)" mailinglist thread.

Originally committed as revision 17015 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoFix blend_subrect for some subrects positioned on odd rows.
Björn Axelsson [Thu, 5 Feb 2009 23:10:05 +0000 (23:10 +0000)]
Fix blend_subrect for some subrects positioned on odd rows.

Patch by Björn Axelsson gecko A acc D umu D se

Originally committed as revision 17014 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoFix blend_subrect for subrects positioned on odd rows.
Björn Axelsson [Thu, 5 Feb 2009 23:07:24 +0000 (23:07 +0000)]
Fix blend_subrect for subrects positioned on odd rows.

Patch by Björn Axelsson gecko A acc D umu D se

Originally committed as revision 17013 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoRename "tx_ctx" and "cur_tx" variables to "transport_priv" and
Ronald S. Bultje [Thu, 5 Feb 2009 22:34:55 +0000 (22:34 +0000)]
Rename "tx_ctx" and "cur_tx" variables to "transport_priv" and
"cur_transport_priv", as discussed in the "[PATCH] rtsp.h: rename tx
variables" thread.

Originally committed as revision 17012 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoformat timestamp correctly according to specs and set it
Baptiste Coudurier [Thu, 5 Feb 2009 20:15:18 +0000 (20:15 +0000)]
format timestamp correctly according to specs and set it

Originally committed as revision 17011 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agouse timestamp as modification date
Baptiste Coudurier [Thu, 5 Feb 2009 19:30:01 +0000 (19:30 +0000)]
use timestamp as modification date

Originally committed as revision 17010 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoRevert part of r16593.
Ramiro Polla [Thu, 5 Feb 2009 18:51:29 +0000 (18:51 +0000)]
Revert part of r16593.
network.h should only be included when CONFIG_NETWORK is set.

Originally committed as revision 17009 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoMake the MP3 probe weakly claim all files with ID3v2 tags to fix regressions on
Alex Converse [Thu, 5 Feb 2009 18:41:06 +0000 (18:41 +0000)]
Make the MP3 probe weakly claim all files with ID3v2 tags to fix regressions on
files with very large tags.

Originally committed as revision 17008 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agouse timestamp as creation date
Baptiste Coudurier [Thu, 5 Feb 2009 18:32:42 +0000 (18:32 +0000)]
use timestamp as creation date

Originally committed as revision 17007 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoAdd size_in_bits to PutBitContext
Michael Niedermayer [Thu, 5 Feb 2009 18:25:01 +0000 (18:25 +0000)]
Add size_in_bits to PutBitContext

Originally committed as revision 17006 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoDelete an enum and a function typedef that aren't used anywhere, and
Ronald S. Bultje [Thu, 5 Feb 2009 17:00:10 +0000 (17:00 +0000)]
Delete an enum and a function typedef that aren't used anywhere, and
move move a struct/typedef in rtsp.h that is only used in ffserver.c into
ffserver.c. See "[PATCH] rtsp.h: move/remove unused thingies" thread on ML.

Originally committed as revision 17005 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoIntroduce a new num_frames field in RTPDemuxContext so that rtp_aac.c
Luca Abeni [Thu, 5 Feb 2009 14:53:25 +0000 (14:53 +0000)]
Introduce a new num_frames field in RTPDemuxContext so that rtp_aac.c
does not need to abuse read_buf_index

Originally committed as revision 17004 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoElectronic Arts demuxer: support TQI video tag
Peter Ross [Thu, 5 Feb 2009 08:59:38 +0000 (08:59 +0000)]
Electronic Arts demuxer: support TQI video tag

Originally committed as revision 17003 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoElectronic Arts TQI decoder
Peter Ross [Thu, 5 Feb 2009 08:58:35 +0000 (08:58 +0000)]
Electronic Arts TQI decoder

Originally committed as revision 17002 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agodon't assume quant_matrix[0]==8 in ff_mpeg1_decode_block_intra(). this is required...
Peter Ross [Thu, 5 Feb 2009 07:59:11 +0000 (07:59 +0000)]
don't assume quant_matrix[0]==8 in ff_mpeg1_decode_block_intra(). this is required for the Electronic Arts TQI decoder.

Originally committed as revision 17001 to svn://svn.ffmpeg.org/ffmpeg/trunk