Martin Storsjö
2efc97c2fe
Cosmetics: reindent after applying patches
...
Originally committed as revision 21967 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-22 16:11:38 +00:00
Martin Storsjö
35cfd6464e
Don't follow RTSP redirects when used as a muxer
...
Originally committed as revision 21966 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-22 15:57:40 +00:00
Martin Storsjö
3e24c7701c
Add a function rtsp_setup_output_streams for announcing the SDP
...
and setting up the internal RTSPStream data structures when using
the RTSP code in muxer mode.
Originally committed as revision 21965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-22 15:56:18 +00:00
Martin Storsjö
fd450a5177
Create AVFormatContext objects as private transport for output RTSP sessions
...
Originally committed as revision 21964 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-22 15:46:56 +00:00
Kostya Shishkov
1d6065ad08
Make Bink decoder able to skip alpha plane
...
Originally committed as revision 21963 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-22 14:59:51 +00:00
Kostya Shishkov
9068f36dcc
Macroblock and block Huffman code sets are to be used by both Indeo 4 and
...
Indeo 5, so make them global and move their initialization to the common place
as well. And fix static VLC initialization, as ff_ivi_create_huff_from_desc()
used old way to do so.
Originally committed as revision 21962 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-22 13:51:32 +00:00
Kostya Shishkov
bb29fee3a6
Make Bink decoder to stop decoding planes after all bits are used.
...
This prevents crashes during decoding grayscale Bink files like
samples from Impossible Creatures game demo.
Originally committed as revision 21961 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-22 12:35:12 +00:00
Stefano Sabatini
33bc794738
Make opt_default() print an error message and exit if the option
...
supplied is not recognized.
Originally committed as revision 21960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-22 12:28:51 +00:00
Kostya Shishkov
fb030bd046
Correct bundle lengths calculation for small Bink files.
...
This fixes issue 1764.
Originally committed as revision 21959 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-22 12:20:49 +00:00
Kostya Shishkov
9b3c455c50
ARM: NEON scalarproduct_int16 and scalarproduct_and_madd_int16
...
Patch by Kostya, minor fixes by me.
Originally committed as revision 21958 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-22 12:20:31 +00:00
Michael Niedermayer
0e5f33f242
Make sure a set r_frame_rate is not overriden by a guess.
...
Also make sure we dont waste time in this case with collecting timestamps.
Originally committed as revision 21957 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-22 10:19:46 +00:00
Carl Eugen Hoyos
f51674ff5d
Fix compilation for --enable-version3 --enable-libopencore_amrwb (only).
...
Originally committed as revision 21956 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-22 09:47:12 +00:00
Michael Niedermayer
403c545d08
Attempt to fix the completely random values returned by ff_avc_find_startcode().
...
Originally committed as revision 21955 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-22 00:34:27 +00:00
Måns Rullgård
dd4a03f7b3
Revert "Suppress icc warnings about unknown attributes"
...
This reverts r21884. Apparently people want those warnings.
Originally committed as revision 21954 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-22 00:34:12 +00:00
Måns Rullgård
ac73f1a816
ARM: change argument/return type of bswap_16() to unsigned 32-bit
...
This avoids unnecessary masking otherwise added by the compilers.
Originally committed as revision 21953 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-22 00:34:08 +00:00
Måns Rullgård
a87b2f6df4
ARM: add missing preserve8 directives
...
Originally committed as revision 21952 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-22 00:34:05 +00:00
Måns Rullgård
39261cd8d9
get/show_bits() can read up to MIN_CACHE_BITS bits
...
The limit for get/show_bits_long() to use get/show_bits() directly
should be MIN_CACHE_BITS, not 17.
Originally committed as revision 21951 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-21 23:28:24 +00:00
Måns Rullgård
976d7bf71c
Suppress armcc warnings about unknown attributes
...
Originally committed as revision 21950 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-21 23:28:20 +00:00
Michael Niedermayer
acbb378d1d
Fix timestamp association for mpeg2 field pictures.
...
Fixes /MPlayer/incoming/codec_copy_fails_vob_to_mpeg-ts/codec_copy_fails_vob_to_mpeg-ts.vob
Originally committed as revision 21949 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-21 23:22:51 +00:00
Måns Rullgård
7cd7d19e86
Deobfuscate LE SHOW_[SU]BITS; these are simple sign/zero-extend
...
Originally committed as revision 21948 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-21 21:48:40 +00:00
Måns Rullgård
48960b8f24
Add zero_extend() function
...
Originally committed as revision 21947 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-21 21:48:37 +00:00
Måns Rullgård
94a5218c10
More accurate value for log2(10)
...
Originally committed as revision 21946 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-21 20:47:10 +00:00
avcoder
0cb17649d8
Remove unused variable mb_xy.
...
Patch by avcoder, ffmpeg gmail
Originally committed as revision 21945 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-21 19:32:47 +00:00
Stefano Sabatini
1be784a2cf
Add support to an option -f which forces the format to use for opening
...
the probed multimedia resource.
Originally committed as revision 21944 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-21 18:33:24 +00:00
Vitor Sessak
4fe3edaadf
AMR-NB floating-point based decoder.
...
Code produced during SoC by Robert Swain and Colin McQuillan.
Originally committed as revision 21943 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-21 18:01:56 +00:00
Reimar Döffinger
f1b267ddf7
Avoid using log2, it is not available everywhere.
...
Should fix compilation on FreeBSD.
Originally committed as revision 21942 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-21 16:24:05 +00:00
Diego Biurrun
dd3475682e
Remove unused variable, fixes warnings of the type:
...
libavcodec/h264.h:816: warning: unused variable `mb_xy'
Originally committed as revision 21941 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-21 15:29:17 +00:00
Måns Rullgård
769c497565
indent
...
Originally committed as revision 21940 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-21 15:11:59 +00:00
Måns Rullgård
4c4e746566
Avoid negative shifts in build_table()
...
A shift by a negative amount has undefined behaviour. Even though
the result of this shift is never used, the shift itself could
cause an exception of some kind.
Originally committed as revision 21939 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-21 15:11:57 +00:00
Vitor Sessak
044a950d82
Fix memory leak for truncated packets in idCin demuxer
...
Originally committed as revision 21938 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-21 14:41:39 +00:00
Kostya Shishkov
342c7dfdbb
Bink video decoder
...
Originally committed as revision 21937 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-21 13:28:46 +00:00
Stefano Sabatini
336ce917e6
Add FFprobe tool.
...
This is a simplified / cleaned-up version of the SourceForge program:
http://sourceforge.net/projects/ffprobe/
Syntax / features may be different, in particular the options
-show_packets and -show_frames are not yet supported in this version.
Originally committed as revision 21936 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-21 11:43:01 +00:00
Stefano Sabatini
f05ef45c8f
Use the official FFmpeg spelling: "ffmpeg" -> "FFmpeg".
...
Originally committed as revision 21935 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-21 11:35:17 +00:00
Stefano Sabatini
8b9da8b50a
Put all the options shared amongst the ff* tools under a dedicated
...
section "Generic options".
Originally committed as revision 21934 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-21 10:56:38 +00:00
Ramiro Polla
802da0b490
Indent.
...
Originally committed as revision 21933 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-21 03:23:30 +00:00
Måns Rullgård
d68b27a95d
VC1: fix missing include h263.h
...
Originally committed as revision 21932 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-21 02:46:44 +00:00
David Conrad
6cb35b45e6
Simplify determing whether fragments are coded
...
No measurable speed difference
Originally committed as revision 21931 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-21 00:11:01 +00:00
David Conrad
a89264761f
Handle Theora's continued runs in superblock coding.
...
This doesn't really matter yet since 4:2:0 1080p has only 3060 superblocks,
but larger resolutions or 4:4:4 1080p could hit this case.
Originally committed as revision 21930 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-21 00:10:58 +00:00
David Conrad
855c720c86
Decode fully coded superblocks in the same manner as partial superblocks and qpi
...
No speed difference, but it will simplify the special 4129 case.
Originally committed as revision 21929 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-21 00:10:54 +00:00
David Conrad
ecb51b25bb
Make the special 4129 case for long-run bit strings a #define and explain it
...
Originally committed as revision 21928 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-21 00:10:51 +00:00
David Conrad
33dbc1b7ca
Use memset to set the runs partially coded superblocks
...
Much faster for long runs (e.g. nearly uncoded frames), slightly faster
for the general case.
Originally committed as revision 21927 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-21 00:10:47 +00:00
Michael Niedermayer
bbdf0d2214
Make sure we dont write more bytes into filename than the array is long.
...
just a precaution in case the size of the source array is increased or
made dynamically allocateable.
Originally committed as revision 21926 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-20 22:57:23 +00:00
Michael Niedermayer
6a2459059e
Do not attempt to open references through absolute pathes.
...
This would allow an attacker to test remotely if a local file exists.
Originally committed as revision 21925 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-20 22:48:09 +00:00
Måns Rullgård
e4a35244fa
Replace log2f(10) with a constant
...
Originally committed as revision 21924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-20 20:13:48 +00:00
Vitor Sessak
c4f267ab75
Free encoder extradata in avcodec_close(). Should fix several small memory
...
leaks when encoding (at least for asv, wma and aac).
Fix also issue 1577.
Originally committed as revision 21923 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-20 18:28:11 +00:00
Måns Rullgård
7ed63ca2e7
Add casts to correct return type in macros for missing libm funcs
...
Originally committed as revision 21922 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-20 16:02:48 +00:00
Ramiro Polla
da2a5feaea
x86_fft.o depends on MMX and FFT.
...
Originally committed as revision 21921 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-20 15:39:27 +00:00
Måns Rullgård
2897dc780a
Delete avconfig.h on distclean
...
Originally committed as revision 21920 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-20 13:19:34 +00:00
Måns Rullgård
b6fa8e35f2
Delete all test related files in testclean rule
...
Originally committed as revision 21919 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-20 13:19:29 +00:00
Stefan Gehrer
cbdcf479ce
remove tables of codebook vector values which are contained in
...
another table
Originally committed as revision 21918 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-20 12:32:30 +00:00