ffmpeg.git
12 years agoMake show_version()/show_banner() print the libswscale versions if
Stefano Sabatini [Fri, 29 Aug 2008 18:25:14 +0000 (18:25 +0000)]
Make show_version()/show_banner() print the libswscale versions if
enabled.

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

12 years agoImplement swscale_version().
Stefano Sabatini [Fri, 29 Aug 2008 18:23:54 +0000 (18:23 +0000)]
Implement swscale_version().

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

12 years agoAdd to the ffmpeg manual an example showing how to add streams to the
Stefano Sabatini [Fri, 29 Aug 2008 17:44:42 +0000 (17:44 +0000)]
Add to the ffmpeg manual an example showing how to add streams to the
output.

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

12 years agoMake X264_init() no longer assign avctx->rc_eq to libx264's context.
Stefano Sabatini [Fri, 29 Aug 2008 17:37:32 +0000 (17:37 +0000)]
Make X264_init() no longer assign avctx->rc_eq to libx264's context.
Fix a crash due to X264_init() setting the libx264 rc_eq field to NULL
when rc_eq was not defined. As a consequence rc_eq can no longer be
manually specified and passed to libx264, but this option is going to
be removed from the libx264 public API anyway.

See the thread: "Fix crash in libx264 when rc_eq is not set".

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

12 years agospeex in flv demuxing
Baptiste Coudurier [Fri, 29 Aug 2008 17:06:35 +0000 (17:06 +0000)]
speex in flv demuxing

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

12 years agocosmetics, typos, case
Baptiste Coudurier [Fri, 29 Aug 2008 17:04:18 +0000 (17:04 +0000)]
cosmetics, typos, case

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

12 years agocosmetics
Baptiste Coudurier [Fri, 29 Aug 2008 16:56:57 +0000 (16:56 +0000)]
cosmetics

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

12 years agofix version string ul
Baptiste Coudurier [Fri, 29 Aug 2008 16:56:36 +0000 (16:56 +0000)]
fix version string ul

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

12 years agoMove t1 and t2 declaration from the QMF code closer to where they are used.
Michael Niedermayer [Fri, 29 Aug 2008 14:53:07 +0000 (14:53 +0000)]
Move t1 and t2 declaration from the QMF code closer to where they are used.

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

12 years agoSimplify (drop useless intermediate sum and diff arrays).
Michael Niedermayer [Fri, 29 Aug 2008 14:44:47 +0000 (14:44 +0000)]
Simplify (drop useless intermediate sum and diff arrays).

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

12 years ago5,1l: samples_chanptr[] should be (const float *)
Andreas Öman [Fri, 29 Aug 2008 10:14:01 +0000 (10:14 +0000)]
5,1l: samples_chanptr[] should be (const float *)

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

12 years agodca: Set data_size outside block loop.
Andreas Öman [Fri, 29 Aug 2008 10:12:44 +0000 (10:12 +0000)]
dca: Set data_size outside block loop.

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

12 years agodca: Do float -> int16 interleaving in-place using s->dsp.float_to_int16_interleave()
Andreas Öman [Fri, 29 Aug 2008 10:09:51 +0000 (10:09 +0000)]
dca: Do float -> int16 interleaving in-place using s->dsp.float_to_int16_interleave()

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

12 years agoWhile APE changed container format in 3.98, frequency tables for range coding
Kostya Shishkov [Fri, 29 Aug 2008 06:14:53 +0000 (06:14 +0000)]
While APE changed container format in 3.98, frequency tables for range coding
were changed only in 3.99.
This fixes decoding of v3.98 APE file I have.

Eternal curses to the creator of such unstable format.

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

12 years agoBump libavcodec minor version number for r15017.
Peter Ross [Fri, 29 Aug 2008 04:02:04 +0000 (04:02 +0000)]
Bump libavcodec minor version number for r15017.

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

12 years agoAdd AVCodecContext.bits_per_raw_sample field.
Peter Ross [Fri, 29 Aug 2008 03:59:48 +0000 (03:59 +0000)]
Add AVCodecContext.bits_per_raw_sample field.

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

12 years agoChange AVCodecContext.bits_per_sample to bits_per_coded_sample.
Peter Ross [Fri, 29 Aug 2008 03:52:10 +0000 (03:52 +0000)]
Change AVCodecContext.bits_per_sample to bits_per_coded_sample.
Nb: This change will become active on the next libavcodec major version bump.

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

12 years agoDo not truncate timestamps before the muxer as it makes simple
Michael Niedermayer [Fri, 29 Aug 2008 01:43:27 +0000 (01:43 +0000)]
Do not truncate timestamps before the muxer as it makes simple
things like last_pts - pts rather tricky and is not good for anything.
Timestamps should be truncated just before storing when needed.

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

12 years agocosmetics: change another "get" to "decode"
Justin Ruggles [Fri, 29 Aug 2008 00:09:47 +0000 (00:09 +0000)]
cosmetics: change another "get" to "decode"

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

12 years agocosmetics: change "get" to "decode"
Justin Ruggles [Fri, 29 Aug 2008 00:06:43 +0000 (00:06 +0000)]
cosmetics: change "get" to "decode"

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

12 years agocosmetics: indentation
Justin Ruggles [Thu, 28 Aug 2008 23:16:21 +0000 (23:16 +0000)]
cosmetics: indentation

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

12 years agoremove unneeded variable, dither_all
Justin Ruggles [Thu, 28 Aug 2008 23:04:15 +0000 (23:04 +0000)]
remove unneeded variable, dither_all

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

12 years agoIntial implementation of the DV100 (AKA DVCPRO HD) decoder and demuxer as
Roman Shaposhnik [Thu, 28 Aug 2008 22:41:00 +0000 (22:41 +0000)]
Intial implementation of the DV100 (AKA DVCPRO HD) decoder and demuxer as
specified in SMPTE 370M

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

12 years agoFix a typo.
Stefano Sabatini [Thu, 28 Aug 2008 21:37:40 +0000 (21:37 +0000)]
Fix a typo.

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

12 years agoReword a sentence in a doxy making its interpretation clearer.
Stefano Sabatini [Thu, 28 Aug 2008 21:37:01 +0000 (21:37 +0000)]
Reword a sentence in a doxy making its interpretation clearer.

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

12 years agoIntroducing video_stype for holding the value of VAUX source pack
Roman Shaposhnik [Thu, 28 Aug 2008 19:21:59 +0000 (19:21 +0000)]
Introducing video_stype for holding the value of VAUX source pack
and simplifying dv_frame_profile

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

12 years agoChange implementation for ff_data_to_hex(), this is faster. See discussion on
Ronald S. Bultje [Thu, 28 Aug 2008 12:00:58 +0000 (12:00 +0000)]
Change implementation for ff_data_to_hex(), this is faster. See discussion on
mailinglist in "Realmedia patch" thread.

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

12 years agoAdd generic IIR filter interface with Butterworth lowpass filter implementation
Kostya Shishkov [Thu, 28 Aug 2008 04:53:57 +0000 (04:53 +0000)]
Add generic IIR filter interface with Butterworth lowpass filter implementation
and remove obsoleted old lowpass filter.

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

12 years agoFix mid/side stereo buggy output zeroing, fixes issue264 part 2.
Michael Niedermayer [Thu, 28 Aug 2008 00:46:09 +0000 (00:46 +0000)]
Fix mid/side stereo buggy output zeroing, fixes issue264 part 2.

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

12 years agocosmetics: rename a table
Justin Ruggles [Wed, 27 Aug 2008 23:44:34 +0000 (23:44 +0000)]
cosmetics: rename a table

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

12 years agoExport data_to_hex() as private API in lavf, rename to ff_data_to_hex() and
Ronald S. Bultje [Wed, 27 Aug 2008 23:43:28 +0000 (23:43 +0000)]
Export data_to_hex() as private API in lavf, rename to ff_data_to_hex() and
move it from sdp.c into utils.c. Also add new header internal.h specifically
for lavf-specific internal API. See discussion in "Realmedia patch" thread
on mailinglist.

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

12 years agocosmetics: indent after last commit
Justin Ruggles [Wed, 27 Aug 2008 23:23:54 +0000 (23:23 +0000)]
cosmetics: indent after last commit

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

12 years agodo not read exponent strategies from each block for E-AC-3 since they are in the...
Justin Ruggles [Wed, 27 Aug 2008 23:11:05 +0000 (23:11 +0000)]
do not read exponent strategies from each block for E-AC-3 since they are in the header

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

12 years agoTwo cosmetic changes for improved readability and ease of HDVCPRO HD integration
Roman Shaposhnik [Wed, 27 Aug 2008 20:28:11 +0000 (20:28 +0000)]
Two cosmetic changes for improved readability and ease of HDVCPRO HD integration

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

12 years agoCosmetic change aimed at making it easier to see how bits are consumed
Roman Shaposhnik [Wed, 27 Aug 2008 20:25:47 +0000 (20:25 +0000)]
Cosmetic change aimed at making it easier to see how bits are consumed

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

12 years agoFactoring out chan_slice / 27 into seq variable
Roman Shaposhnik [Wed, 27 Aug 2008 20:21:17 +0000 (20:21 +0000)]
Factoring out chan_slice / 27 into seq variable

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

12 years agoSimplification of how dct_mode affects decoding.
Roman Shaposhnik [Wed, 27 Aug 2008 20:17:01 +0000 (20:17 +0000)]
Simplification of how dct_mode affects decoding.

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

12 years agomatroskadec: cosmetics: indentation
Aurelien Jacobs [Wed, 27 Aug 2008 19:58:55 +0000 (19:58 +0000)]
matroskadec: cosmetics: indentation

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

12 years agomatroskadec: seek to the last position known in the index before resorting to
Aurelien Jacobs [Wed, 27 Aug 2008 19:57:42 +0000 (19:57 +0000)]
matroskadec: seek to the last position known in the index before resorting to
full cluster parsing when seeking after the end of index

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

12 years agoCosmetics (format ff_nelly_dequantization_table nicer)
Michael Niedermayer [Wed, 27 Aug 2008 18:56:50 +0000 (18:56 +0000)]
Cosmetics (format ff_nelly_dequantization_table nicer)

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

12 years agoSimplify the indexing logic in the av_encode() streams mapping code.
Stefano Sabatini [Wed, 27 Aug 2008 18:50:46 +0000 (18:50 +0000)]
Simplify the indexing logic in the av_encode() streams mapping code.

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

12 years agoadd definitions and documentation for shared functions for E-AC-3 decoding
Justin Ruggles [Wed, 27 Aug 2008 01:47:03 +0000 (01:47 +0000)]
add definitions and documentation for shared functions for E-AC-3 decoding

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

12 years agocopy default coupling band structure from table to decoding context (used for E-AC-3)
Justin Ruggles [Wed, 27 Aug 2008 01:40:46 +0000 (01:40 +0000)]
copy default coupling band structure from table to decoding context (used for E-AC-3)

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

12 years agoadd more OKed parts of the E-AC-3 decoder: structural changes to support AHT mode...
Justin Ruggles [Wed, 27 Aug 2008 01:36:20 +0000 (01:36 +0000)]
add more OKed parts of the E-AC-3 decoder: structural changes to support AHT mode mantissa decoding

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

12 years agocosmetics: rename some functions from *get_* to *decode_*
Justin Ruggles [Wed, 27 Aug 2008 01:24:43 +0000 (01:24 +0000)]
cosmetics: rename some functions from *get_* to *decode_*

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

12 years agoUse RTPDynamicProtocol parse_sdp_a_line() handlers in case of unknown SDP
Ronald S. Bultje [Wed, 27 Aug 2008 00:33:22 +0000 (00:33 +0000)]
Use RTPDynamicProtocol parse_sdp_a_line() handlers in case of unknown SDP
lines. This allows "private" SDP tags to be forwarded to the specific handler,
allowing protocol-specific handling of SDP data. See mailinglist discussion
in the "Realmedia patch" thread.

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

12 years agosimplify mpeg12 avctx->pix_fmt set
Baptiste Coudurier [Tue, 26 Aug 2008 23:25:29 +0000 (23:25 +0000)]
simplify mpeg12 avctx->pix_fmt set

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

12 years agoremove useless assignment (st is never read after this line)
Aurelien Jacobs [Tue, 26 Aug 2008 20:38:04 +0000 (20:38 +0000)]
remove useless assignment (st is never read after this line)

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

12 years agomatroskadec: index timestamps are supposed to be in the timebase of the stream
Aurelien Jacobs [Tue, 26 Aug 2008 20:32:27 +0000 (20:32 +0000)]
matroskadec: index timestamps are supposed to be in the timebase of the stream

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

12 years agomxfdec: set sample_aspect_ratio
Aurelien Jacobs [Tue, 26 Aug 2008 20:21:39 +0000 (20:21 +0000)]
mxfdec: set sample_aspect_ratio

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

12 years agoAdd a temp variable to ff_sine_window_init() to match the way wma.c computed
Aurelien Jacobs [Tue, 26 Aug 2008 19:40:53 +0000 (19:40 +0000)]
Add a temp variable to ff_sine_window_init() to match the way wma.c computed
window before r14757. This fixes a regression introduced by r14757 on amd64.

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

12 years agoAdd explicit (int) cast to i386 optimized MUL* macros.
Vladimir Voroshilov [Tue, 26 Aug 2008 19:38:17 +0000 (19:38 +0000)]
Add explicit (int) cast to i386 optimized MUL* macros.
Wrong result is returned when 16-bit value is passed as value.
Also fixes "Warning: using `%edx' instead of `%dx' due to `l' suffix".

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

12 years ago(cosmetics) Remove incorrect comment.
Vladimir Voroshilov [Tue, 26 Aug 2008 18:06:07 +0000 (18:06 +0000)]
(cosmetics) Remove incorrect comment.

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

12 years ago(cosmetics) Describe for which tests clipping is required.
Vladimir Voroshilov [Tue, 26 Aug 2008 16:47:31 +0000 (16:47 +0000)]
(cosmetics) Describe for which tests clipping is required.

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

12 years agoI'll maintain mxf muxer
Baptiste Coudurier [Tue, 26 Aug 2008 16:41:29 +0000 (16:41 +0000)]
I'll maintain mxf muxer

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

12 years ago(cosmetics) Remove wrong comments.
Vladimir Voroshilov [Tue, 26 Aug 2008 16:41:23 +0000 (16:41 +0000)]
(cosmetics) Remove wrong comments.

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

12 years agoMXF is a valid output format now.
Carl Eugen Hoyos [Tue, 26 Aug 2008 16:09:41 +0000 (16:09 +0000)]
MXF is a valid output format now.

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

12 years agoRemaining parts of GSoC MXF muxer by Zhentan Feng.
Carl Eugen Hoyos [Tue, 26 Aug 2008 15:58:25 +0000 (15:58 +0000)]
Remaining parts of GSoC MXF muxer by Zhentan Feng.

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

12 years ago(cosmetics) Align comments consistently.
Vladimir Voroshilov [Tue, 26 Aug 2008 07:13:43 +0000 (07:13 +0000)]
(cosmetics) Align comments consistently.

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

12 years agoAnother set of definitions for G.729
Vladimir Voroshilov [Tue, 26 Aug 2008 07:10:38 +0000 (07:10 +0000)]
Another set of definitions for G.729

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

12 years agovertical align
Michael Niedermayer [Tue, 26 Aug 2008 01:29:43 +0000 (01:29 +0000)]
vertical align

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

12 years agoNoone seems to want to maintain MPEG-PS so i will.
Michael Niedermayer [Tue, 26 Aug 2008 01:22:19 +0000 (01:22 +0000)]
Noone seems to want to maintain MPEG-PS so i will.

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

12 years agoReplace cliping in ff_acelp_interpolate() by a check&av_log, this should be the
Michael Niedermayer [Mon, 25 Aug 2008 22:51:47 +0000 (22:51 +0000)]
Replace cliping in ff_acelp_interpolate() by a check&av_log, this should be the
quickest way to find out if it is needed.

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

12 years agoFix the seek regressions to match changes in r14956, r14959 and r14960.
Aurelien Jacobs [Mon, 25 Aug 2008 22:21:30 +0000 (22:21 +0000)]
Fix the seek regressions to match changes in r14956, r14959 and r14960.
The changes are verified and desired.

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

12 years agoImport more MXF muxer code from the SoC tree
Vitor Sessak [Mon, 25 Aug 2008 20:28:12 +0000 (20:28 +0000)]
Import more MXF muxer code from the SoC tree

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

12 years agoMissing static in float_to_int16_altivec declaration
Luca Barbato [Mon, 25 Aug 2008 16:32:03 +0000 (16:32 +0000)]
Missing static in float_to_int16_altivec declaration

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

12 years agoWhen setting codec_id during codec probe we must also set codec_type.
Andreas Öman [Mon, 25 Aug 2008 15:39:43 +0000 (15:39 +0000)]
When setting codec_id during codec probe we must also set codec_type.

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

12 years agoLittle-endian bitstream writer
Bartlomiej Wolowiec [Mon, 25 Aug 2008 08:53:14 +0000 (08:53 +0000)]
Little-endian bitstream writer

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

12 years agofir_32bands_perfect[] contents were mixed, restore original order
Alexander E. Patrakov [Mon, 25 Aug 2008 06:28:52 +0000 (06:28 +0000)]
fir_32bands_perfect[] contents were mixed, restore original order
Patch by Alexander Patrakov ($lastname <whirlpool> gmail.com)
Thread: dcadata.h: fir_32bands_perfect[] is wrong

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

12 years agoFix udp.c compilation with recent glibc (>= 2.8)
Luca Abeni [Mon, 25 Aug 2008 06:20:00 +0000 (06:20 +0000)]
Fix udp.c compilation with recent glibc (>= 2.8)

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

12 years agoARM: add prefetch function using ARMv5 PLD instruction
Måns Rullgård [Mon, 25 Aug 2008 02:29:04 +0000 (02:29 +0000)]
ARM: add prefetch function using ARMv5 PLD instruction

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

12 years agoARM: set STRIDE_ALIGN and DECLARE_ALIGNED_8 to 16 for NEON
Måns Rullgård [Mon, 25 Aug 2008 01:59:06 +0000 (01:59 +0000)]
ARM: set STRIDE_ALIGN and DECLARE_ALIGNED_8 to 16 for NEON

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

12 years agomatroskadec: unset matroska->done when seeking
Aurelien Jacobs [Mon, 25 Aug 2008 00:17:31 +0000 (00:17 +0000)]
matroskadec: unset matroska->done when seeking
just in case someone try to seek back after reaching the end of file

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

12 years agomatroskadec: full seeking support in index-less files
Aurelien Jacobs [Mon, 25 Aug 2008 00:15:49 +0000 (00:15 +0000)]
matroskadec: full seeking support in index-less files
when trying to seek past the last index entry, just parse more clusters to add them to the index, until an index entry match the desired position

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

12 years agoright shift the values by 8 in GAQ remap "B" table. data now fits in int8_t.
Justin Ruggles [Mon, 25 Aug 2008 00:15:29 +0000 (00:15 +0000)]
right shift the values by 8 in GAQ remap "B" table. data now fits in int8_t.

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

12 years agomatroskadec: on the fly index construction for index-less files
Aurelien Jacobs [Mon, 25 Aug 2008 00:09:08 +0000 (00:09 +0000)]
matroskadec: on the fly index construction for index-less files
each cluster that is read and that contains a video key frame is added
to the index

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

12 years agomatroskadec: don't try to seek to negative timestamp
Aurelien Jacobs [Sun, 24 Aug 2008 23:57:29 +0000 (23:57 +0000)]
matroskadec: don't try to seek to negative timestamp
matroska timestamps are unsigned

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

12 years agomatroskadec: move setting of matroska->done inside matroska_parse_cluster()
Aurelien Jacobs [Sun, 24 Aug 2008 23:54:14 +0000 (23:54 +0000)]
matroskadec: move setting of matroska->done inside matroska_parse_cluster()

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

12 years agorestore accidently deleted file
Justin Ruggles [Sun, 24 Aug 2008 23:17:26 +0000 (23:17 +0000)]
restore accidently deleted file

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

12 years ago1000l to me. committed to wrong repo. revert last commit.
Justin Ruggles [Sun, 24 Aug 2008 22:57:25 +0000 (22:57 +0000)]
1000l to me. committed to wrong repo. revert last commit.

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

12 years agocosmetics: rename some functions from *get_* to *decode_*
Justin Ruggles [Sun, 24 Aug 2008 22:55:08 +0000 (22:55 +0000)]
cosmetics: rename some functions from *get_* to *decode_*

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

12 years agoAdd ff_ prefix to ogg_codec_t structs
Reimar Döffinger [Sun, 24 Aug 2008 17:37:43 +0000 (17:37 +0000)]
Add ff_ prefix to ogg_codec_t structs

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

12 years agoMark several libavformat arrays const
Reimar Döffinger [Sun, 24 Aug 2008 17:24:34 +0000 (17:24 +0000)]
Mark several libavformat arrays const

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

12 years agoMark "matroska" probe data string constant.
Reimar Döffinger [Sun, 24 Aug 2008 17:19:46 +0000 (17:19 +0000)]
Mark "matroska" probe data string constant.

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

12 years agoMake ogg_codec_t descriptions const
Reimar Döffinger [Sun, 24 Aug 2008 17:09:15 +0000 (17:09 +0000)]
Make ogg_codec_t descriptions const

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

12 years agoChange codec_tag type from const struct AVCodecTag ** to const struct AVCodecTag...
Reimar Döffinger [Sun, 24 Aug 2008 16:51:50 +0000 (16:51 +0000)]
Change codec_tag type from const struct AVCodecTag ** to const struct AVCodecTag * const *

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

12 years agoRemove check for @ in tcp.c which removes the authorization data from the
Ronald S. Bultje [Sun, 24 Aug 2008 16:22:40 +0000 (16:22 +0000)]
Remove check for @ in tcp.c which removes the authorization data from the
actual hostname. This functionality already exists (and always existed) in
url_split() and is therefore useless. See discussion in "[PATCH] tcp.c/udp.c
memleak?" thread on ffmpeg-devel.

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

12 years agovoc: add ff_ prefix to some global const data
Aurelien Jacobs [Sun, 24 Aug 2008 14:12:03 +0000 (14:12 +0000)]
voc: add ff_ prefix to some global const data

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

12 years agoRemove useless empty close functions in mmf and mm demuxers.
Reimar Döffinger [Sun, 24 Aug 2008 14:02:55 +0000 (14:02 +0000)]
Remove useless empty close functions in mmf and mm demuxers.

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

12 years agomatroskadec: make aac_profiles array const
Aurelien Jacobs [Sun, 24 Aug 2008 13:12:41 +0000 (13:12 +0000)]
matroskadec: make aac_profiles array const

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

12 years agoMake the id3v1_genre_str array const, not just the strings it points to.
Reimar Döffinger [Sun, 24 Aug 2008 12:45:15 +0000 (12:45 +0000)]
Make the id3v1_genre_str array const, not just the strings it points to.

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

12 years agostricter constraints of asm() blocks
Alexis Ballier [Sun, 24 Aug 2008 08:41:20 +0000 (08:41 +0000)]
stricter constraints of asm() blocks
All these variables are used as left operands of a movd instruction,
which does accept only memory or register operands while the "g"
constraint also allows immediates. Use "rm" instead.
Patch by Alexis Ballier %alexis P ballier A gmail P com%

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

12 years agoFix index to ff_sine_windows[]. Previously the index was usually in reverse
Robert Swain [Sun, 24 Aug 2008 08:31:19 +0000 (08:31 +0000)]
Fix index to ff_sine_windows[]. Previously the index was usually in reverse
order.

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

12 years agookayed chunks of AAC encoder
Kostya Shishkov [Sun, 24 Aug 2008 05:56:23 +0000 (05:56 +0000)]
okayed chunks of AAC encoder

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

12 years agoImport more ok'ed chunks of the mxf muxer from the soc tree
Vitor Sessak [Sun, 24 Aug 2008 05:55:46 +0000 (05:55 +0000)]
Import more ok'ed chunks of the mxf muxer from the soc tree

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

12 years agoCorrect scaling factor in DCA decoder synthesis.
Alexander E. Patrakov [Sun, 24 Aug 2008 05:47:45 +0000 (05:47 +0000)]
Correct scaling factor in DCA decoder synthesis.
Patch by Alexander Patrakov ($lastname at gmail.com)
Thread: dca.c: output scale is a bit off

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

12 years agochange eac3dec.c license to LGPL
Justin Ruggles [Sun, 24 Aug 2008 04:55:32 +0000 (04:55 +0000)]
change eac3dec.c license to LGPL

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

12 years agodocument some dsp alignments
Loren Merritt [Sun, 24 Aug 2008 04:03:02 +0000 (04:03 +0000)]
document some dsp alignments

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

12 years agoEnsure that SDL_AddTimer() is never called with a delay of 0 because
Michael Niedermayer [Sun, 24 Aug 2008 00:32:10 +0000 (00:32 +0000)]
Ensure that SDL_AddTimer() is never called with a delay of 0 because
this leads to a runaway creation of timers. We never pass 0 currently
but it is safer to check for it explicitly as changes to the code can
easily lead to 0 being used.

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

12 years agoconvert every muxer/demuxer to write/read sample_aspect_ratio from/to
Aurelien Jacobs [Sat, 23 Aug 2008 23:43:20 +0000 (23:43 +0000)]
convert every muxer/demuxer to write/read sample_aspect_ratio from/to
the corresponding AVStream instead of AVCodecContext

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