platform/upstream/libav.git
15 years agoAdd SEI recovery point frame counter to H264Context and use it when
Ivan Schreter [Mon, 9 Feb 2009 23:04:16 +0000 (23:04 +0000)]
Add SEI recovery point frame counter to H264Context and use it when
setting key_frame.

Patch by Ivan Schreter schreter A gmx D net

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

15 years agovp56: alpha_offset is uninitialized on purpose
Aurelien Jacobs [Mon, 9 Feb 2009 22:45:30 +0000 (22:45 +0000)]
vp56: alpha_offset is uninitialized on purpose

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

15 years agolibvorbis: Use 0-10 range for audio quality.
Nicolas George [Mon, 9 Feb 2009 22:11:28 +0000 (22:11 +0000)]
libvorbis: Use 0-10 range for audio quality.
Patch by Nicolas George (nicolas george normalesup org)

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

15 years agoFix: libavcodec/msmpeg4.c:1612: warning: ‘dc_pred_dir’ may be used uninitialized...
Michael Niedermayer [Mon, 9 Feb 2009 22:04:34 +0000 (22:04 +0000)]
Fix: libavcodec/msmpeg4.c:1612: warning: ‘dc_pred_dir’ may be used uninitialized in this function

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

15 years agoav_flatten to make the similarly named attribute available.
Michael Niedermayer [Mon, 9 Feb 2009 21:47:57 +0000 (21:47 +0000)]
av_flatten to make the similarly named attribute available.

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

15 years agoav_uninit() to suppress false uninitialized warnings from gcc without deoptimizing...
Michael Niedermayer [Mon, 9 Feb 2009 21:47:05 +0000 (21:47 +0000)]
av_uninit() to suppress false uninitialized warnings from gcc without deoptimizing code.

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

15 years agorename ff_audio_interleave to ff_audio_rechunk_interleave
Baptiste Coudurier [Mon, 9 Feb 2009 21:34:20 +0000 (21:34 +0000)]
rename ff_audio_interleave to ff_audio_rechunk_interleave

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

15 years agoRevert #undefining system functions, it is not necessary.
Diego Biurrun [Mon, 9 Feb 2009 20:31:35 +0000 (20:31 +0000)]
Revert #undefining system functions, it is not necessary.

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

15 years agoTry to clarify doxy of avformat_seek_file().
Michael Niedermayer [Mon, 9 Feb 2009 19:57:23 +0000 (19:57 +0000)]
Try to clarify doxy of avformat_seek_file().

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

15 years agoCheck for duplicate const/static/inline.
Michael Niedermayer [Mon, 9 Feb 2009 18:37:29 +0000 (18:37 +0000)]
Check for duplicate const/static/inline.

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

15 years agoAdd config.h #include for ARCH_X86 definition.
Diego Biurrun [Mon, 9 Feb 2009 18:04:19 +0000 (18:04 +0000)]
Add config.h #include for ARCH_X86 definition.

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

15 years agoAdd #undefs to reenable system functions that are normally forbidden in other
Diego Biurrun [Mon, 9 Feb 2009 18:01:36 +0000 (18:01 +0000)]
Add #undefs to reenable system functions that are normally forbidden in other
parts of FFmpeg but OK in this test program. Fixes the build.

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

15 years agoDrop DECLARE_ALIGNED from extern declarations. It creates trouble when
Diego Biurrun [Mon, 9 Feb 2009 17:53:33 +0000 (17:53 +0000)]
Drop DECLARE_ALIGNED from extern declarations.  It creates trouble when
swscale_internal.h is #included without HAVE_AV_CONFIG_H defined.

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

15 years agoTry to doxyfy av_resample_init(). I hope I did not misremember anything as I
Michael Niedermayer [Mon, 9 Feb 2009 15:49:06 +0000 (15:49 +0000)]
Try to doxyfy av_resample_init(). I hope I did not misremember anything as I
just briefly checked the source.

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

15 years agoMove doxy for public resample2 functions to the public header.
Michael Niedermayer [Mon, 9 Feb 2009 15:31:08 +0000 (15:31 +0000)]
Move doxy for public resample2 functions to the public header.

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

15 years agoPrefix visible YUV2RGB functions with sws_
Kostya Shishkov [Mon, 9 Feb 2009 14:31:53 +0000 (14:31 +0000)]
Prefix visible YUV2RGB functions with sws_

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

15 years agoGive better name to Inverse_Table_6_9
Kostya Shishkov [Mon, 9 Feb 2009 14:17:30 +0000 (14:17 +0000)]
Give better name to Inverse_Table_6_9

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

15 years agoRemove svn:executable property from source file.
Diego Biurrun [Mon, 9 Feb 2009 11:32:29 +0000 (11:32 +0000)]
Remove svn:executable property from source file.

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

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

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

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