]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/log
frescor/ffmpeg.git
14 years agoReplace @node commands with @anchor to refer to specific points in the text.
diego [Sun, 13 Sep 2009 16:46:28 +0000 (16:46 +0000)]
Replace @node commands with @anchor to refer to specific points in the text.
This fixes the warnings
** `Developers Guide' is up for `Coding Rules', but has no menu entry for this node
** `Invocation' is up for `FFmpeg formula evaluator', but has no menu entry for this node

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19831 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoWhen resetting vst->pkt.data to NULL, also set vst->slices.
reimar [Sun, 13 Sep 2009 11:08:59 +0000 (11:08 +0000)]
When resetting vst->pkt.data to NULL, also set vst->slices.
This avoids a crash when the next slice is not a start slice and thus
pkt->data is still NULL.
This probably only happens with broken or unsupported files like
http://samples.mplayerhq.hu/real/multirate/JustaSpa1937_64kb.rm
that need further fixes, but keeping vst state consistent is still a good idea.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19830 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoUse I/O buffer size as initial value for backoff for seeking sync point search.
schreter [Sun, 13 Sep 2009 08:57:30 +0000 (08:57 +0000)]
Use I/O buffer size as initial value for backoff for seeking sync point search.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19829 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoRemove ; after while(0) in macros.
ramiro [Sat, 12 Sep 2009 20:10:02 +0000 (20:10 +0000)]
Remove ; after while(0) in macros.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19828 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoeval: Check for return value of memory allocations.
ramiro [Sat, 12 Sep 2009 17:59:19 +0000 (17:59 +0000)]
eval: Check for return value of memory allocations.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19827 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoCheck for return value of some context allocations.
ramiro [Sat, 12 Sep 2009 17:22:56 +0000 (17:22 +0000)]
Check for return value of some context allocations.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19826 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoDo not do free AVStream in case of error, this is not supposed to be
vitor [Sat, 12 Sep 2009 16:23:13 +0000 (16:23 +0000)]
Do not do free AVStream in case of error, this is not supposed to be
done by the demuxer.

Fix issue 1378.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19825 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoRemove table that was forgotten in the split.
banan [Fri, 11 Sep 2009 19:39:40 +0000 (19:39 +0000)]
Remove table that was forgotten in the split.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19824 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoFix doxygen comment
banan [Fri, 11 Sep 2009 19:38:26 +0000 (19:38 +0000)]
Fix doxygen comment

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19823 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoreinit get_bits for every decode_packet call
faust3 [Fri, 11 Sep 2009 15:59:27 +0000 (15:59 +0000)]
reinit get_bits for every decode_packet call

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19822 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoMake get_ur_golomb capable of reading 16 bit values.
benoit [Fri, 11 Sep 2009 06:25:36 +0000 (06:25 +0000)]
Make get_ur_golomb capable of reading 16 bit values.
Patch by Lars Taüber: firstname taeuber gmx net

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19821 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoFix a typo in the documentation.
benoit [Fri, 11 Sep 2009 06:20:05 +0000 (06:20 +0000)]
Fix a typo in the documentation.
Patch by Lars Taüber: firstname taeuber gmx net

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19820 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoARM: NEON optimised MDCT
mru [Fri, 11 Sep 2009 02:24:22 +0000 (02:24 +0000)]
ARM: NEON optimised MDCT

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19819 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoPrepare for optimised forward MDCT implementations
mru [Fri, 11 Sep 2009 02:24:19 +0000 (02:24 +0000)]
Prepare for optimised forward MDCT implementations

This adds a function pointer for forward MDCT to FFTContext and
initialises it with the existing C function.  ff_calc_mdct() is
changed to an inline function calling the selected version as
done for other fft/mdct functions.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19818 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoARM: faster NEON IMDCT
mru [Fri, 11 Sep 2009 02:01:18 +0000 (02:01 +0000)]
ARM: faster NEON IMDCT

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19817 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoCosmetics, add spaces
banan [Thu, 10 Sep 2009 19:12:13 +0000 (19:12 +0000)]
Cosmetics, add spaces

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19816 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoMove get_arg to avoid future declaration of function when
banan [Thu, 10 Sep 2009 19:08:03 +0000 (19:08 +0000)]
Move get_arg to avoid future declaration of function when
new code is added.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19815 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoUse reget_buffer instead of get_buffer. Fixes issue1367.
banan [Thu, 10 Sep 2009 19:01:53 +0000 (19:01 +0000)]
Use reget_buffer instead of get_buffer. Fixes issue1367.
Patch by jarkko.palviainen.sesca.com.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19814 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoAdded ATRAC1 id
banan [Thu, 10 Sep 2009 18:49:25 +0000 (18:49 +0000)]
Added ATRAC1 id

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19813 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoInitial commit of the MD studio demuxer, not hooked up yet
banan [Thu, 10 Sep 2009 18:48:12 +0000 (18:48 +0000)]
Initial commit of the MD studio demuxer, not hooked up yet

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19812 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoInitial commit of the atrac1 decoder, not hooked up yet
banan [Thu, 10 Sep 2009 18:47:02 +0000 (18:47 +0000)]
Initial commit of the atrac1 decoder, not hooked up yet

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19811 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoRemove redundant code forgotten in the split
banan [Thu, 10 Sep 2009 18:39:57 +0000 (18:39 +0000)]
Remove redundant code forgotten in the split

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19810 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoCheck for thread_count==0.
michael [Thu, 10 Sep 2009 14:12:05 +0000 (14:12 +0000)]
Check for thread_count==0.
fixed issue1333

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19809 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoSimplify: reget_buffer behaves exactly like get_buffer if the buffer was
reimar [Thu, 10 Sep 2009 12:23:45 +0000 (12:23 +0000)]
Simplify: reget_buffer behaves exactly like get_buffer if the buffer was
previously released, so no extra condition is necessary.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19808 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoFix typo: '.' was used instead of '/' as directory separator.
diego [Thu, 10 Sep 2009 09:30:57 +0000 (09:30 +0000)]
Fix typo: '.' was used instead of '/' as directory separator.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19807 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoARM: NEON optimised FFT and MDCT
mru [Thu, 10 Sep 2009 08:50:03 +0000 (08:50 +0000)]
ARM: NEON optimised FFT and MDCT

Vorbis and AC3 ~3x faster.

Parts by Naotoshi Nojiri, naonoj gmail

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19806 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoDCA: move an aligned array from stack to context
mru [Thu, 10 Sep 2009 08:49:59 +0000 (08:49 +0000)]
DCA: move an aligned array from stack to context

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19805 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoconfigure: add -g to ASFLAGS when debug is enabled
mru [Thu, 10 Sep 2009 02:42:19 +0000 (02:42 +0000)]
configure: add -g to ASFLAGS when debug is enabled

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19804 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoFix typo in configure error message.
reimar [Wed, 9 Sep 2009 23:07:00 +0000 (23:07 +0000)]
Fix typo in configure error message.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19803 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoDocument padding for AVProbeData.
cehoyos [Wed, 9 Sep 2009 22:55:10 +0000 (22:55 +0000)]
Document padding for AVProbeData.

Patch by roundup user shinya, tesutosan hotmail

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19802 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoCheck thread count as multithreaded decoding is not supported.
michael [Wed, 9 Sep 2009 21:44:48 +0000 (21:44 +0000)]
Check thread count as multithreaded decoding is not supported.
Fixes issue1292

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19801 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoAdd warnings to av_strlcat and av_strlcpy doxygen that the input strings
reimar [Wed, 9 Sep 2009 21:00:51 +0000 (21:00 +0000)]
Add warnings to av_strlcat and av_strlcpy doxygen that the input strings
already must be properly 0-terminated strings, unlike strncpy it
can not be use on raw data read from a file.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19800 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoChange developer doc to reflect reality
banan [Wed, 9 Sep 2009 17:27:30 +0000 (17:27 +0000)]
Change developer doc to reflect reality

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19799 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoFix a bug with reading non-interleaved AVI if one the streams is
cehoyos [Wed, 9 Sep 2009 16:26:24 +0000 (16:26 +0000)]
Fix a bug with reading non-interleaved AVI if one the streams is
shorter.

Patch by Maksym Veremeyenko, verem m1stereo tv

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19798 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoFactorise st->nb_index_entries check.
cehoyos [Wed, 9 Sep 2009 16:25:12 +0000 (16:25 +0000)]
Factorise st->nb_index_entries check.

Patch by Maksym Veremeyenko, verem m1stereo tv

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19797 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoSplit out common routines needed in the atrac1 decoder from atrac3.c to atrac.c.
banan [Tue, 8 Sep 2009 19:25:54 +0000 (19:25 +0000)]
Split out common routines needed in the atrac1 decoder from atrac3.c to atrac.c.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19796 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoRemove pointless debug statement that fails to compile.
diego [Tue, 8 Sep 2009 09:11:56 +0000 (09:11 +0000)]
Remove pointless debug statement that fails to compile.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19795 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoTry to clarify that anyone using get_bits must check for buffer overrun
reimar [Tue, 8 Sep 2009 08:30:56 +0000 (08:30 +0000)]
Try to clarify that anyone using get_bits must check for buffer overrun
themselves, get_bits does not do anything in that regard.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19794 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agocheck entries against field_size, potential malloc overflow in read_stsz, fix #1357
bcoudurier [Mon, 7 Sep 2009 22:42:51 +0000 (22:42 +0000)]
check entries against field_size, potential malloc overflow in read_stsz, fix #1357

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19793 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoadd one missing check for stream existence in read_elst, fix #1364
bcoudurier [Mon, 7 Sep 2009 22:36:33 +0000 (22:36 +0000)]
add one missing check for stream existence in read_elst, fix #1364

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19792 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoUse all 32 bits of the timestamp when calculating flv duration.
diego [Mon, 7 Sep 2009 10:49:51 +0000 (10:49 +0000)]
Use all 32 bits of the timestamp when calculating flv duration.
At the moment, duration is mainly set from the metadata packet. If that is not
available, the fallback is checking the low 24 bits of the last packet. This is
not enough for files over 4,6 hours in length, so read all 32 bits instead.
patch by Martin Storsjö, martin martin st

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19791 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoCosmetics: Fix typo.
cehoyos [Sun, 6 Sep 2009 18:24:25 +0000 (18:24 +0000)]
Cosmetics: Fix typo.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19790 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoMark all pix_fmts and supported_framerates compound literals as const.
reimar [Sun, 6 Sep 2009 16:09:21 +0000 (16:09 +0000)]
Mark all pix_fmts and supported_framerates compound literals as const.
Makes no difference for gcc but at least icc can put them in .rodata then.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19789 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agodisable new seeking code in mpeg-ts per #ifdef (use old read_seek by default)
schreter [Sun, 6 Sep 2009 15:59:32 +0000 (15:59 +0000)]
disable new seeking code in mpeg-ts per #ifdef (use old read_seek by default)

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19788 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoMake sample_fmts and channel_layouts compound literals const to reduce size of
reimar [Sun, 6 Sep 2009 09:15:07 +0000 (09:15 +0000)]
Make sample_fmts and channel_layouts compound literals const to reduce size of
.data section.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19787 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoff_rm_metadata is const.
reimar [Sun, 6 Sep 2009 08:57:19 +0000 (08:57 +0000)]
ff_rm_metadata is const.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19786 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoff_sine_windows table contains only constant data, too.
reimar [Sun, 6 Sep 2009 08:56:10 +0000 (08:56 +0000)]
ff_sine_windows table contains only constant data, too.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19785 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoThe ff_cos_tabs table itself is constant, too, so mark it as such.
reimar [Sun, 6 Sep 2009 08:53:14 +0000 (08:53 +0000)]
The ff_cos_tabs table itself is constant, too, so mark it as such.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19784 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoThe pointers in ff_sin_tabs themselves are constant, so mark them accordingly.
reimar [Sun, 6 Sep 2009 08:50:20 +0000 (08:50 +0000)]
The pointers in ff_sin_tabs themselves are constant, so mark them accordingly.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19783 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoff_swb_offset_* tables should be const.
reimar [Sun, 6 Sep 2009 08:48:45 +0000 (08:48 +0000)]
ff_swb_offset_* tables should be const.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19782 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoff_id3v1_genre_str table should be const.
reimar [Sun, 6 Sep 2009 08:39:41 +0000 (08:39 +0000)]
ff_id3v1_genre_str table should be const.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19781 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years ago100l, all avlanguage tables should be both static and const.
reimar [Sun, 6 Sep 2009 08:36:25 +0000 (08:36 +0000)]
100l, all avlanguage tables should be both static and const.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19780 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agocompatible_frame array can be static const, too.
reimar [Sun, 6 Sep 2009 08:27:23 +0000 (08:27 +0000)]
compatible_frame array can be static const, too.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19779 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agodo not decode more than one audio frame in a decode packet call
faust3 [Sun, 6 Sep 2009 08:16:26 +0000 (08:16 +0000)]
do not decode more than one audio frame in a decode packet call

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19778 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoavoid extra memcpy during scale factor decoding
faust3 [Sun, 6 Sep 2009 06:56:25 +0000 (06:56 +0000)]
avoid extra memcpy during scale factor decoding

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19777 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoRename CHECKED_ALLOC(Z) to FF_ALLOC(Z)_OR_GOTO and add context and label
ramiro [Sun, 6 Sep 2009 00:08:19 +0000 (00:08 +0000)]
Rename CHECKED_ALLOC(Z) to FF_ALLOC(Z)_OR_GOTO and add context and label
parameters.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19776 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoMake 16bit YUV formats compatible with NE avcodec_get_pix_fmt().
ramiro [Sat, 5 Sep 2009 23:33:25 +0000 (23:33 +0000)]
Make 16bit YUV formats compatible with NE avcodec_get_pix_fmt().
Patch by Lars Täuber <lars <dot> taeuber <at> gmx <dot> net>.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19775 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoUse memcpy to copy till end of line in one go instead of copying pixel by pixel
reimar [Sat, 5 Sep 2009 19:35:59 +0000 (19:35 +0000)]
Use memcpy to copy till end of line in one go instead of copying pixel by pixel
in xan_wc3_output_pixel_run and xan_wc3_copy_pixel_run

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19774 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agocosmetic changes (indentation, doxygen comments, braces, put structures for API to...
schreter [Sat, 5 Sep 2009 19:31:01 +0000 (19:31 +0000)]
cosmetic changes (indentation, doxygen comments, braces, put structures for API to header, ...)

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19773 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoSlightly simplify detection of end of compressed data in xan_unpack
reimar [Sat, 5 Sep 2009 19:14:44 +0000 (19:14 +0000)]
Slightly simplify detection of end of compressed data in xan_unpack

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19772 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoMake vp3 arrays static const where possible.
reimar [Sat, 5 Sep 2009 17:28:20 +0000 (17:28 +0000)]
Make vp3 arrays static const where possible.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19771 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoRemove useless ulti_decode_end function.
reimar [Sat, 5 Sep 2009 16:41:20 +0000 (16:41 +0000)]
Remove useless ulti_decode_end function.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19770 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoSearch for ipmovie signature beyond the start of the file.
reimar [Sat, 5 Sep 2009 15:41:32 +0000 (15:41 +0000)]
Search for ipmovie signature beyond the start of the file.
This allows to play directly files that combine player and movie into
a single executable like http://samples.mplayerhq.hu/game-formats/interplay-mve/DES3S.EXE

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19769 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoExtend ipmovie signature to match exactly one place in mve files that have a
reimar [Sat, 5 Sep 2009 11:30:55 +0000 (11:30 +0000)]
Extend ipmovie signature to match exactly one place in mve files that have a
player binary prepended.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19768 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoprettyprinting cosmetics
diego [Sat, 5 Sep 2009 11:22:36 +0000 (11:22 +0000)]
prettyprinting cosmetics

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19767 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agofix handling of packet loss when the output buffer is full
faust3 [Sat, 5 Sep 2009 10:59:09 +0000 (10:59 +0000)]
fix handling of packet loss when the output buffer is full

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19766 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoreindent
faust3 [Sat, 5 Sep 2009 10:18:23 +0000 (10:18 +0000)]
reindent

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19765 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoremove no longer needed debug output
faust3 [Sat, 5 Sep 2009 10:11:04 +0000 (10:11 +0000)]
remove no longer needed debug output

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19764 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoreduce output buffer needs
faust3 [Sat, 5 Sep 2009 10:07:55 +0000 (10:07 +0000)]
reduce output buffer needs
(fixes playback of some multichannel files)

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19763 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agostore packet GetBitContext in the decoder context
faust3 [Sat, 5 Sep 2009 09:56:06 +0000 (09:56 +0000)]
store packet GetBitContext in the decoder context

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19762 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoRemove fake Speex header creation from FLV demuxer. Having it there was not the
jbr [Fri, 4 Sep 2009 21:43:41 +0000 (21:43 +0000)]
Remove fake Speex header creation from FLV demuxer.  Having it there was not the
correct solution to the problem.  A better solution might be possible later once
Speex is supported in muxers.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19761 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoAdd frame_size as a codec parameter requirement for Speex in
jbr [Fri, 4 Sep 2009 21:38:45 +0000 (21:38 +0000)]
Add frame_size as a codec parameter requirement for Speex in
av_find_stream_info().  It forces decoding of a packet when there is no
Speex header in order to determine the correct frame size.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19760 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoReduce pointless verbosity after seeks in the MP3 decoder.
diego [Fri, 4 Sep 2009 19:04:12 +0000 (19:04 +0000)]
Reduce pointless verbosity after seeks in the MP3 decoder.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19759 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoAdd a newline in error message in CHECKED_ALLOC(Z).
ramiro [Fri, 4 Sep 2009 16:59:28 +0000 (16:59 +0000)]
Add a newline in error message in CHECKED_ALLOC(Z).

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19758 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoIndent.
ramiro [Fri, 4 Sep 2009 16:32:06 +0000 (16:32 +0000)]
Indent.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19757 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoUse if(0){} instead of #if 0 to prevent debug code to rot.
ramiro [Fri, 4 Sep 2009 16:31:21 +0000 (16:31 +0000)]
Use if(0){} instead of #if 0 to prevent debug code to rot.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19756 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agolibspeex: Do not set AVCodecContext.frame_size in decoder init if there is no
jbr [Fri, 4 Sep 2009 00:57:20 +0000 (00:57 +0000)]
libspeex: Do not set AVCodecContext.frame_size in decoder init if there is no
header in extradata since the default value will be incorrect for multiple
frames per packet.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19755 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoconfigure: fix check for x264
mru [Wed, 2 Sep 2009 22:53:31 +0000 (22:53 +0000)]
configure: fix check for x264

libx264 recently started mangling the name of x264_encoder_open() to
prevent version mismatches, breaking our test.  Checking for another
function instead makes it work again.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19754 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agocosmetics: indentation and other prettyprinting fixes
diego [Wed, 2 Sep 2009 18:03:13 +0000 (18:03 +0000)]
cosmetics: indentation and other prettyprinting fixes

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19753 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoadd missing wmapro decoder parts
faust3 [Wed, 2 Sep 2009 16:41:49 +0000 (16:41 +0000)]
add missing wmapro decoder parts

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19752 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agowhitespace cosmetics, prettyprinting
diego [Tue, 1 Sep 2009 16:00:45 +0000 (16:00 +0000)]
whitespace cosmetics, prettyprinting

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19751 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoUpdate ffv1 codec long name in the documentation as well.
diego [Mon, 31 Aug 2009 05:48:17 +0000 (05:48 +0000)]
Update ffv1 codec long name in the documentation as well.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19750 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoUse "FFmpeg video codec #1" instead of "FFmpeg codec #1" as codec long name.
diego [Sun, 30 Aug 2009 21:19:37 +0000 (21:19 +0000)]
Use "FFmpeg video codec #1" instead of "FFmpeg codec #1" as codec long name.
patch by  Lars Täuber, lars.taeuber gmx net

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19749 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoFix incorrect display of ASF/WMV duration after r12926.
cehoyos [Sun, 30 Aug 2009 18:14:22 +0000 (18:14 +0000)]
Fix incorrect display of ASF/WMV duration after r12926.

Patch by Josh Harris, qt tateu net

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19748 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoAdd function to compute ceil(log2(x)).
jbr [Sun, 30 Aug 2009 15:50:03 +0000 (15:50 +0000)]
Add function to compute ceil(log2(x)).
Patch by Thilo Borgmann <thilo.borgmann _at_ googlemail.com>

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19747 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoConvert ZERO8x2 macro into inline function
kostya [Sun, 30 Aug 2009 10:54:16 +0000 (10:54 +0000)]
Convert ZERO8x2 macro into inline function

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19746 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoRemove unused variable.
reimar [Sun, 30 Aug 2009 08:29:11 +0000 (08:29 +0000)]
Remove unused variable.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19745 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoZeroing pic->motion_val in RV3/4 causes alignment problems on some 64-bit
kostya [Sun, 30 Aug 2009 06:30:53 +0000 (06:30 +0000)]
Zeroing pic->motion_val in RV3/4 causes alignment problems on some 64-bit
architectures since stride is multiple of 4 and not of 8, so split
fill_rectangle() calls to operate on 32-bit words instead of 64-bit ones.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19744 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoAdjust r->avail_cache[] indexes to avoid alignment issues when zeroing block
kostya [Sun, 30 Aug 2009 06:16:33 +0000 (06:16 +0000)]
Adjust r->avail_cache[] indexes to avoid alignment issues when zeroing block
inside it.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19743 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoAdd CHECKED_ALLOC macro.
ramiro [Sat, 29 Aug 2009 22:38:48 +0000 (22:38 +0000)]
Add CHECKED_ALLOC macro.
It works the same as CHECKED_ALLOCZ except that it does not zero the allocated
memory.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19742 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoStore the frame size in the LibSpeexContext in case the header does not exist.
jbr [Sat, 29 Aug 2009 21:04:18 +0000 (21:04 +0000)]
Store the frame size in the LibSpeexContext in case the header does not exist.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19741 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoOne declaration of mm_flags is enough
mru [Sat, 29 Aug 2009 16:55:55 +0000 (16:55 +0000)]
One declaration of mm_flags is enough

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19740 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoMove declarations of some mmx functions to dsputil_mmx.h
mru [Sat, 29 Aug 2009 16:55:50 +0000 (16:55 +0000)]
Move declarations of some mmx functions to dsputil_mmx.h

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19739 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoMove DECLARE_ALIGNED_8 definition next to DECLARE_ALIGNED_16
mru [Sat, 29 Aug 2009 16:55:46 +0000 (16:55 +0000)]
Move DECLARE_ALIGNED_8 definition next to DECLARE_ALIGNED_16

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19738 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoMake DECLARE_ALIGNED_8 align to 8 bytes, never to 16
mru [Fri, 28 Aug 2009 23:39:02 +0000 (23:39 +0000)]
Make DECLARE_ALIGNED_8 align to 8 bytes, never to 16

The DECLARE_ALIGNED_8 macro is defined to align to 16 bytes instead
the 8 suggested by the name on some CPUs.  None of the uses of this
macro ever need 16-byte alignment, cases which once did having been
changed to always specify 16 bytes explicitly.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19737 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoUse the output data type to determine the maximum number of samples that can be
jbr [Fri, 28 Aug 2009 00:57:00 +0000 (00:57 +0000)]
Use the output data type to determine the maximum number of samples that can be
decoded.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19736 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoAdd myself as maintainer for libspeexdec.c
jbr [Fri, 28 Aug 2009 00:46:19 +0000 (00:46 +0000)]
Add myself as maintainer for libspeexdec.c

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19735 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoModify the Ogg/Speex demuxer and the libspeex decoder so that they always treat
jbr [Fri, 28 Aug 2009 00:44:54 +0000 (00:44 +0000)]
Modify the Ogg/Speex demuxer and the libspeex decoder so that they always treat
a packet of Speex frames as a single frame.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19734 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoRe-add search_for_ms to the coefficients encoders to silence warnings
alexc [Thu, 27 Aug 2009 17:46:13 +0000 (17:46 +0000)]
Re-add search_for_ms to the coefficients encoders to silence warnings

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19733 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoFormatting K&R fixes
vitor [Thu, 27 Aug 2009 16:38:57 +0000 (16:38 +0000)]
Formatting K&R fixes

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19732 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b