]> git.sesse.net Git - ffmpeg/log
ffmpeg
14 years agoFATE: update vqf-demux checksum
Måns Rullgård [Tue, 13 Apr 2010 14:29:13 +0000 (14:29 +0000)]
FATE: update vqf-demux checksum

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

14 years agoDCA: indent
Måns Rullgård [Tue, 13 Apr 2010 10:15:05 +0000 (10:15 +0000)]
DCA: indent

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

14 years agoDCA: optimise dca_subsubframe()
Måns Rullgård [Tue, 13 Apr 2010 10:15:00 +0000 (10:15 +0000)]
DCA: optimise dca_subsubframe()

8% faster overall on Cortex-A8.

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

14 years agoDo not probe when the format is known.
Jean-Daniel Dupas [Tue, 13 Apr 2010 07:25:50 +0000 (07:25 +0000)]
Do not probe when the format is known.
Patch by Jean-Daniel Dupas devlists shadowlab org

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

14 years ago[VA-API] Fix long-term reference frames addition to the DPB.
Gwenole Beauchesne [Tue, 13 Apr 2010 06:43:01 +0000 (06:43 +0000)]
[VA-API] Fix long-term reference frames addition to the DPB.

This fixes MR2_MW_A/MR2_TANDBERG_E on Intel Ironlake and NVIDIA HW.

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

14 years agoUse a suitable timebase in VQF demuxer
Vitor Sessak [Tue, 13 Apr 2010 01:19:59 +0000 (01:19 +0000)]
Use a suitable timebase in VQF demuxer

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

14 years ago10l: fix build on non-NEON ARM
Måns Rullgård [Tue, 13 Apr 2010 00:48:49 +0000 (00:48 +0000)]
10l: fix build on non-NEON ARM

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

14 years agoChange ff_raw_pixelFormatTags RGB entries (RGB555, BGR555, RGB565,
Stefano Sabatini [Mon, 12 Apr 2010 22:05:18 +0000 (22:05 +0000)]
Change ff_raw_pixelFormatTags RGB entries (RGB555, BGR555, RGB565,
BGR565, RGB565) to make them specify the tags for the LE variants
rather than for the native endian ones.

Fix NUT compatibility.

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

14 years agoFix grammar: a expression -> an expression.
Stefano Sabatini [Mon, 12 Apr 2010 21:49:04 +0000 (21:49 +0000)]
Fix grammar: a expression -> an expression.

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

14 years agoRemove stray empty line.
Stefano Sabatini [Mon, 12 Apr 2010 21:49:01 +0000 (21:49 +0000)]
Remove stray empty line.

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

14 years agoDCA: ARM/NEON optimised lfe_fir
Måns Rullgård [Mon, 12 Apr 2010 20:45:33 +0000 (20:45 +0000)]
DCA: ARM/NEON optimised lfe_fir

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

14 years agoDCA: 16-byte-align lfe_fir tables
Måns Rullgård [Mon, 12 Apr 2010 20:45:29 +0000 (20:45 +0000)]
DCA: 16-byte-align lfe_fir tables

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

14 years agoDCA: break out lfe_interpolation_fir() inner loops to a function
Måns Rullgård [Mon, 12 Apr 2010 20:45:25 +0000 (20:45 +0000)]
DCA: break out lfe_interpolation_fir() inner loops to a function

This enables SIMD optimisations of this function.

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

14 years agoFix constness for func[12] parameters in ff_parse_expr() and
Stefano Sabatini [Mon, 12 Apr 2010 20:22:55 +0000 (20:22 +0000)]
Fix constness for func[12] parameters in ff_parse_expr() and
ff_parse_and_eval_expr().

Change func[12] attributes from "** func" to "* const * func".

This is consistent with the semantics of the provided arrays of
functions, which are not supposed to be changed by the ff_parse_*
functions.

Also fix the GCC compilation warnings:
libavcodec/ratecontrol.c: In function ‘ff_rate_control_init’:
libavcodec/ratecontrol.c:109: warning: passing argument 3 of ‘ff_parse_expr’ discards qualifiers from pointer target type
libavcodec/eval.h:69: note: expected ‘double (**)(void *, double)’ but argument is of type ‘double (* const*)(void *, double)’

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

14 years agoChange constness for func[12]_name parameters of ff_parse_expr() and
Stefano Sabatini [Mon, 12 Apr 2010 19:21:19 +0000 (19:21 +0000)]
Change constness for func[12]_name parameters of ff_parse_expr() and
ff_parse_and_eval_expr().

Change attribute from "const char **" to "const char * const *".
The name arrays are not supposed to be changed by the function.

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

14 years agoRename ff_parse() to ff_parse_expr().
Stefano Sabatini [Mon, 12 Apr 2010 19:21:15 +0000 (19:21 +0000)]
Rename ff_parse() to ff_parse_expr().

The new name is more expressive and fits better in the overall naming
scheme for the revisited eval API.

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

14 years agoRemove unnecessary header inclusion directives.
Stefano Sabatini [Mon, 12 Apr 2010 19:21:08 +0000 (19:21 +0000)]
Remove unnecessary header inclusion directives.

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

14 years agoExtradata length checks for Huffyuv.
Michael Kaufmann [Mon, 12 Apr 2010 16:16:43 +0000 (16:16 +0000)]
Extradata length checks for Huffyuv.
Patch by Michael Kaufmann hallo $(name) dash $(surname) ch

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

14 years agoDCA: use FASTDIV in decode_blockcode()
Måns Rullgård [Mon, 12 Apr 2010 16:05:10 +0000 (16:05 +0000)]
DCA: use FASTDIV in decode_blockcode()

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

14 years agoAdd DOS section to the platform documentation.
Michael Kostylev [Mon, 12 Apr 2010 15:16:52 +0000 (15:16 +0000)]
Add DOS section to the platform documentation.
patch by Michael Kostylev, michael.kostylev gmail com

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

14 years agoDo not set pos to an error value.
Howard Chu [Mon, 12 Apr 2010 15:03:30 +0000 (15:03 +0000)]
Do not set pos to an error value.

Patch by Howard Chu, hyc highlandsun com

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

14 years agoARM: fix NEON synth_filter_float with hardfp calls
Måns Rullgård [Mon, 12 Apr 2010 13:28:59 +0000 (13:28 +0000)]
ARM: fix NEON synth_filter_float with hardfp calls

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

14 years agoRemove useless header inclusion.
Jai Menon [Mon, 12 Apr 2010 13:21:33 +0000 (13:21 +0000)]
Remove useless header inclusion.

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

14 years agoFix extra object path in Solaris section.
Diego Biurrun [Mon, 12 Apr 2010 11:27:41 +0000 (11:27 +0000)]
Fix extra object path in Solaris section.

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

14 years agoDCA: simplify lfe_interpolation_fir()
Måns Rullgård [Mon, 12 Apr 2010 11:14:55 +0000 (11:14 +0000)]
DCA: simplify lfe_interpolation_fir()

This reorders the lfe_fir tables, and drops the mirrored half,
such that the loops in lfe_interpolation_fir() can be simplified.
The new loop structure should be easier to implement with SIMD.
Static data size is reduced by 2kB.
3% faster on Cortex-A8.

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

14 years agoDCA: use a local variable for loop boundary
Måns Rullgård [Mon, 12 Apr 2010 11:14:51 +0000 (11:14 +0000)]
DCA: use a local variable for loop boundary

This prevents gcc reloading the value from memory on each iteration
of the loop.

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

14 years agoDCA: use some type-punning in qmf_32_subbands()
Måns Rullgård [Mon, 12 Apr 2010 11:14:48 +0000 (11:14 +0000)]
DCA: use some type-punning in qmf_32_subbands()

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

14 years agoPredicting the size of the hdlr, string data and trkn tags in the MOV muxer
Tomas Härdin [Mon, 12 Apr 2010 07:24:30 +0000 (07:24 +0000)]
Predicting the size of the hdlr, string data and trkn tags in the MOV muxer

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

14 years agoRename ff_eval2() to ff_parse_and_eval_expr().
Stefano Sabatini [Sun, 11 Apr 2010 22:32:04 +0000 (22:32 +0000)]
Rename ff_eval2() to ff_parse_and_eval_expr().

The new name better expresses what the function does.

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

14 years agoRename ff_parse_eval() to ff_eval_expr().
Stefano Sabatini [Sun, 11 Apr 2010 22:32:01 +0000 (22:32 +0000)]
Rename ff_parse_eval() to ff_eval_expr().

The new name expresses better what the function does.

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

14 years agoMove the internal function declarations in avformat.h to internal.h.
Stefano Sabatini [Sun, 11 Apr 2010 21:44:23 +0000 (21:44 +0000)]
Move the internal function declarations in avformat.h to internal.h.

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

14 years agoApply grammar/consistency nits to avfilter_graph_add_filter() doxy.
Stefano Sabatini [Sun, 11 Apr 2010 21:26:00 +0000 (21:26 +0000)]
Apply grammar/consistency nits to avfilter_graph_add_filter() doxy.

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

14 years agoPlace some empty line in the doxy.
Stefano Sabatini [Sun, 11 Apr 2010 20:04:15 +0000 (20:04 +0000)]
Place some empty line in the doxy.

Improve readability, also consistent with the predominant doxy style.

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

14 years agoRemove redundant file descriptions from copyright headers.
Stefano Sabatini [Sun, 11 Apr 2010 20:04:11 +0000 (20:04 +0000)]
Remove redundant file descriptions from copyright headers.

File description is only kept in the @file doxy.

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

14 years agoAvoid the use of the symbol ff_expr_s for referencing AVExpr.
Stefano Sabatini [Sun, 11 Apr 2010 18:44:51 +0000 (18:44 +0000)]
Avoid the use of the symbol ff_expr_s for referencing AVExpr.

This way we have to deal only with struct AVExpr and AVExpr, which is
slightly less confusing as the association between the two symbols is
obvious.

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

14 years agoDECLARE_ALIGNED usage requires #inclusion of 'mem.h'.
Jai Menon [Sun, 11 Apr 2010 15:54:45 +0000 (15:54 +0000)]
DECLARE_ALIGNED usage requires #inclusion of 'mem.h'.

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

14 years agoDoxument ff_free_expr().
Stefano Sabatini [Sun, 11 Apr 2010 14:15:32 +0000 (14:15 +0000)]
Doxument ff_free_expr().

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

14 years agoMake ff_fill_linesize() use the information stored in
Stefano Sabatini [Sun, 11 Apr 2010 14:09:05 +0000 (14:09 +0000)]
Make ff_fill_linesize() use the information stored in
av_pix_fmt_descriptors.

Allow simplification and a more generic implementation.

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

14 years agoSet audio bit rate.
Howard Chu [Sun, 11 Apr 2010 12:21:30 +0000 (12:21 +0000)]
Set audio bit rate.

Patch by Howard Chu, hyc highlandsun com

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

14 years agoRename ff_eval_free() to ff_free_expr().
Stefano Sabatini [Sun, 11 Apr 2010 11:47:33 +0000 (11:47 +0000)]
Rename ff_eval_free() to ff_free_expr().

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

14 years agoRename AVEvalExpr to AVExpr, as suggested by Michael.
Stefano Sabatini [Sun, 11 Apr 2010 11:47:29 +0000 (11:47 +0000)]
Rename AVEvalExpr to AVExpr, as suggested by Michael.

The new name is shorter and less confusing.

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

14 years agoMove AVEvalExpr declaration at the beginning of the file, where it is
Stefano Sabatini [Sun, 11 Apr 2010 11:47:24 +0000 (11:47 +0000)]
Move AVEvalExpr declaration at the beginning of the file, where it is
less distracting.

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

14 years agoRaise needed score for codec probing in CODEC_ID_PROBE before the last packet.
Michael Niedermayer [Sun, 11 Apr 2010 00:43:36 +0000 (00:43 +0000)]
Raise needed score for codec probing in CODEC_ID_PROBE before the last packet.
Fixes issue1871

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

14 years agoBump libavfilter minor version and Changelog for unsharp filter
Bobby Bingham [Sat, 10 Apr 2010 20:34:44 +0000 (20:34 +0000)]
Bump libavfilter minor version and Changelog for unsharp filter

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

14 years agoalacenc : Report supported input sample formats.
Jai Menon [Sat, 10 Apr 2010 17:32:41 +0000 (17:32 +0000)]
alacenc : Report supported input sample formats.

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

14 years agoARM: NEON optimised synth_filter_float
Måns Rullgård [Sat, 10 Apr 2010 16:27:56 +0000 (16:27 +0000)]
ARM: NEON optimised synth_filter_float

2.7x faster DCA decoding on Cortex-A8

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

14 years agoMake synth_filter a function pointer
Måns Rullgård [Sat, 10 Apr 2010 16:27:53 +0000 (16:27 +0000)]
Make synth_filter a function pointer

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

14 years agoDCA: align some arrays
Måns Rullgård [Sat, 10 Apr 2010 16:27:47 +0000 (16:27 +0000)]
DCA: align some arrays

Optimised implementations of the synth filter will require these
arrays 16-byte aligned.

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

14 years agoAdd M_SQRT2 to the constants in mathematics.h.
Alex Converse [Fri, 9 Apr 2010 23:29:47 +0000 (23:29 +0000)]
Add M_SQRT2 to the constants in mathematics.h.

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

14 years agoDont try to compute AVPacket duration for possibly interlaced video codecs
Michael Niedermayer [Fri, 9 Apr 2010 22:39:39 +0000 (22:39 +0000)]
Dont try to compute AVPacket duration for possibly interlaced video codecs
when no parser is available.
This partly fixes the frame rate misdetection in issue1756.

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

14 years agoffplay : Add 's' to the list of supported commands.
Jai Menon [Fri, 9 Apr 2010 17:52:34 +0000 (17:52 +0000)]
ffplay : Add 's' to the list of supported commands.

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

14 years agoSeeking forward in non-seekable media by discarding data, regardless of how far to...
Tomas Härdin [Thu, 8 Apr 2010 09:47:32 +0000 (09:47 +0000)]
Seeking forward in non-seekable media by discarding data, regardless of how far to seek. Won't SEEK_END unless forced though.

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

14 years agoReusing the probe buffer to rewind the ByteIOContext in ff_probe_input_buffer() inste...
Tomas Härdin [Thu, 8 Apr 2010 09:02:27 +0000 (09:02 +0000)]
Reusing the probe buffer to rewind the ByteIOContext in ff_probe_input_buffer() instead of seeking back to the start of the file. Once exhausted, the size of the buffer is reduced.

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

14 years agoReindent read_sbr_extension.
Alex Converse [Thu, 8 Apr 2010 06:27:39 +0000 (06:27 +0000)]
Reindent read_sbr_extension.

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

14 years agoPrint an error and skip PS when PS is found but explicitly found but
Alex Converse [Thu, 8 Apr 2010 06:27:35 +0000 (06:27 +0000)]
Print an error and skip PS when PS is found but explicitly found but
signaled to be absent.

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

14 years agoAdd support for PS sync extensions.
Alex Converse [Thu, 8 Apr 2010 06:04:41 +0000 (06:04 +0000)]
Add support for PS sync extensions.

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

14 years agoUse get_bits_left() in the sync extension check.
Alex Converse [Thu, 8 Apr 2010 06:04:37 +0000 (06:04 +0000)]
Use get_bits_left() in the sync extension check.

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

14 years agoFix ext_object_type.
Alex Converse [Thu, 8 Apr 2010 06:04:31 +0000 (06:04 +0000)]
Fix ext_object_type.

In the case of explicit non-backwards compible PS, the extension object
type should be set to SBR. See 14496-3:2009 (fourth edition).

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

14 years agoAdd DynamicACL support for FFserver.
Benjamin Larsson [Wed, 7 Apr 2010 20:06:02 +0000 (20:06 +0000)]
Add DynamicACL support for FFserver.

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

14 years agoDon't write an empty spdif header in spdif muxers write_header function before actual...
Joakim Plate [Wed, 7 Apr 2010 19:40:46 +0000 (19:40 +0000)]
Don't write an empty spdif header in spdif muxers write_header function before actual data starts.
Patch by Elupus.

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

14 years agoAdd unsharp video filter.
Bobby Bingham [Wed, 7 Apr 2010 01:05:24 +0000 (01:05 +0000)]
Add unsharp video filter.
Contributed by Daniel G. Taylor (dan/at/programmer-art/dot/org)

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

14 years agoClarify doxy for av_fifo_alloc().
Stefano Sabatini [Tue, 6 Apr 2010 22:31:59 +0000 (22:31 +0000)]
Clarify doxy for av_fifo_alloc().

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

14 years agoFix segfault when encoder initialization fails.
Craig Thomasson [Tue, 6 Apr 2010 09:52:41 +0000 (09:52 +0000)]
Fix segfault when encoder initialization fails.
Patch by Craig Thomasson $(name) dot $(surname) ripcode com

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

14 years agoAdd actually correct rXXXXX here.
Ronald S. Bultje [Mon, 5 Apr 2010 19:55:12 +0000 (19:55 +0000)]
Add actually correct rXXXXX here.

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

14 years agoSimplify writing stream metadata.
Anton Khirnov [Mon, 5 Apr 2010 19:54:11 +0000 (19:54 +0000)]
Simplify writing stream metadata.

Patch by Anton Khirnov <wyskas gmail com>.

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

14 years agoDon't overwrite user-supplied metadata with metadata mapped from an input file.
Anton Khirnov [Mon, 5 Apr 2010 19:53:25 +0000 (19:53 +0000)]
Don't overwrite user-supplied metadata with metadata mapped from an input file.

Patch by Anton Khirnov <wyskas gmail com>.

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

14 years agoActually add flag (somehow got lost in my previous patchset?), fixes broken
Ronald S. Bultje [Mon, 5 Apr 2010 19:50:45 +0000 (19:50 +0000)]
Actually add flag (somehow got lost in my previous patchset?), fixes broken
r22806.

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

14 years agoAdd a flag to not overwrite existing tags
Anton Khirnov [Mon, 5 Apr 2010 19:46:55 +0000 (19:46 +0000)]
Add a flag to not overwrite existing tags

Patch by Anton Khirnov <wyskas gmail com>.

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

14 years agoReindent
Martin Storsjö [Mon, 5 Apr 2010 17:26:06 +0000 (17:26 +0000)]
Reindent

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

14 years agoFix leaks in the AAC RTP depacketizer
Martin Storsjö [Mon, 5 Apr 2010 17:25:39 +0000 (17:25 +0000)]
Fix leaks in the AAC RTP depacketizer

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

14 years agoAdd void to a function prototype that takes no arguments. Fixes a potential
Ronald S. Bultje [Mon, 5 Apr 2010 16:13:51 +0000 (16:13 +0000)]
Add void to a function prototype that takes no arguments. Fixes a potential
compiler warning.

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

14 years agoFix rounding direction for calculation of AVPacket.duration.
Michael Niedermayer [Sun, 4 Apr 2010 22:19:42 +0000 (22:19 +0000)]
Fix rounding direction for calculation of AVPacket.duration.
Fixes issue1579

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

14 years agoZero-initialize the reply struct
Martin Storsjö [Sun, 4 Apr 2010 21:59:06 +0000 (21:59 +0000)]
Zero-initialize the reply struct

The status_code field is read in the fail codepath, where it could be
read uninitialized earlier. Found by clang.

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

14 years agoDocument minimum binutils requirements on Unix-like platforms.
Diego Biurrun [Sun, 4 Apr 2010 15:35:56 +0000 (15:35 +0000)]
Document minimum binutils requirements on Unix-like platforms.
based on a patch by Michael Kostylev, michael.kostylev gmail com

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

14 years agoImplement support to the AVSEEK_SIZE operation in file_seek().
Stefano Sabatini [Sun, 4 Apr 2010 14:21:29 +0000 (14:21 +0000)]
Implement support to the AVSEEK_SIZE operation in file_seek().

Avoid the need to use seeking for getting the file size, use fstat
instead, which is significantly faster.

See thread:
Subject: [FFmpeg-devel] [PATCH] Add support to AVSEEK_SIZE to the file protocol seek callback
Date: Fri, 2 Apr 2010 13:13:27 +0200

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

14 years agoReindent.
Stefano Sabatini [Sun, 4 Apr 2010 13:50:38 +0000 (13:50 +0000)]
Reindent.

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

14 years agoRename av_encode() to av_transcode(), the new name is more meaningful.
Stefano Sabatini [Sun, 4 Apr 2010 13:50:34 +0000 (13:50 +0000)]
Rename av_encode() to av_transcode(), the new name is more meaningful.

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

14 years agoAllow AVFormatContext.duration to be set if no individual stream duration is known.
Michael Niedermayer [Sun, 4 Apr 2010 12:20:10 +0000 (12:20 +0000)]
Allow AVFormatContext.duration to be set if no individual stream duration is known.
Demuxers already do this ...

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

14 years agoAvoid division by zero
Reinhard Tartler [Sun, 4 Apr 2010 07:18:10 +0000 (07:18 +0000)]
Avoid division by zero

Based on clang-scan report http://permalink.gmane.org/gmane.comp.video.ffmpeg.devel/107290

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

14 years agoRemove variable whose value was never read. Found by clang.
Bobby Bingham [Sat, 3 Apr 2010 15:29:48 +0000 (15:29 +0000)]
Remove variable whose value was never read.  Found by clang.

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

14 years agoAdd help for (I)RDFT test in fft-test
Vitor Sessak [Sat, 3 Apr 2010 15:05:27 +0000 (15:05 +0000)]
Add help for (I)RDFT test in fft-test

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

14 years agoMake code using 1d-DCT consistent with the API change
Vitor Sessak [Sat, 3 Apr 2010 15:04:15 +0000 (15:04 +0000)]
Make code using 1d-DCT consistent with the API change

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

14 years agoReplace all remaining occurrences of AVERROR_NOMEM with
Stefano Sabatini [Sat, 3 Apr 2010 14:15:00 +0000 (14:15 +0000)]
Replace all remaining occurrences of AVERROR_NOMEM with
AVERROR(ENOMEM).

AVERROR_NOMEM is deprecated and will be dropped at the next libavutil
major bump.

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

14 years agoRemove a redundant assignment, found by clang
Martin Storsjö [Sat, 3 Apr 2010 12:16:33 +0000 (12:16 +0000)]
Remove a redundant assignment, found by clang

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

14 years agoGroup Unix-like platforms together in the platform documentation.
Michael Kostylev [Sat, 3 Apr 2010 09:45:46 +0000 (09:45 +0000)]
Group Unix-like platforms together in the platform documentation.
patch by Michael Kostylev, michael.kostylev gmail com

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

14 years agominor spelling fixes
Diego Biurrun [Sat, 3 Apr 2010 09:42:40 +0000 (09:42 +0000)]
minor spelling fixes

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

14 years agoUse AVDISCARD_DEFAULT for 0 where appropriate.
Carl Eugen Hoyos [Fri, 2 Apr 2010 23:08:23 +0000 (23:08 +0000)]
Use AVDISCARD_DEFAULT for 0 where appropriate.

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

14 years agoFix buffer size; should hold 2 32-bit integers in hex = 16 chars + terminating
Ronald S. Bultje [Fri, 2 Apr 2010 22:08:57 +0000 (22:08 +0000)]
Fix buffer size; should hold 2 32-bit integers in hex = 16 chars + terminating
zero, so should be 17 bytes, not 9.

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

14 years agoETIME -> ETIMEDOUT. Patch by Sam Gerstein <sgerstein bluefinlab com>.
Sam Gerstein [Fri, 2 Apr 2010 20:14:55 +0000 (20:14 +0000)]
ETIME -> ETIMEDOUT. Patch by Sam Gerstein <sgerstein bluefinlab com>.

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

14 years agoaacenc: Error when an unsupported profile is requested
Alex Converse [Fri, 2 Apr 2010 16:26:10 +0000 (16:26 +0000)]
aacenc: Error when an unsupported profile is requested

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

14 years agoAnother uninitialized value.
Ronald S. Bultje [Fri, 2 Apr 2010 14:58:55 +0000 (14:58 +0000)]
Another uninitialized value.

See http://tranquillity.ath.cx/clang/2010-03-30-1/report-e6KUTb.html#EndPath

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

14 years agoFix uninitialized value in codepath.
Ronald S. Bultje [Fri, 2 Apr 2010 14:58:03 +0000 (14:58 +0000)]
Fix uninitialized value in codepath.

See http://tranquillity.ath.cx/clang/2010-03-30-1/report-40QvF3.html#EndPath

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

14 years agoRemove dead initialization.
Ronald S. Bultje [Fri, 2 Apr 2010 14:56:59 +0000 (14:56 +0000)]
Remove dead initialization.

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

14 years agoRemove dead initialization.
Ronald S. Bultje [Fri, 2 Apr 2010 14:55:01 +0000 (14:55 +0000)]
Remove dead initialization.

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

14 years agoaacenc: Don't lowpass the input unless specifically requested.
Alex Converse [Fri, 2 Apr 2010 14:19:39 +0000 (14:19 +0000)]
aacenc: Don't lowpass the input unless specifically requested.

The heuristic for estimating a good cutoff is busted.

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

14 years agoChange default for bidir_refine to 1.
Michael Niedermayer [Fri, 2 Apr 2010 14:08:51 +0000 (14:08 +0000)]
Change default for bidir_refine to 1.

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

14 years agoOptimize bidir_refine a bit.
Michael Niedermayer [Fri, 2 Apr 2010 14:04:15 +0000 (14:04 +0000)]
Optimize bidir_refine a bit.
compiled code is less tham 1/4 the size.
a tiny bit faster

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

14 years agoReplace the last occurrance of CODEC_TYPE_ with AVMEDIA_TYPE_
Martin Storsjö [Fri, 2 Apr 2010 13:33:51 +0000 (13:33 +0000)]
Replace the last occurrance of CODEC_TYPE_ with AVMEDIA_TYPE_

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

14 years agoChange bidir refine hash code so we only need to perform a single
Michael Niedermayer [Fri, 2 Apr 2010 12:34:08 +0000 (12:34 +0000)]
Change bidir refine hash code so we only need to perform a single
hash calculation for the whole function.
negligibly faster (about 0.1%)

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

14 years agoChange a case of CODEC_TYPE_ into AVMEDIA_TYPE_
Martin Storsjö [Fri, 2 Apr 2010 11:33:02 +0000 (11:33 +0000)]
Change a case of CODEC_TYPE_ into AVMEDIA_TYPE_
This was accidentally overwritten in the recent merge of the theora/vorbis codepaths

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