Michael Niedermayer
1ac9563075
Slighty tweak mp3 probe threshold to prevent probetest from complaining.
...
Originally committed as revision 19849 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
6377de611a
Try harder to avoid false positives for DV probe.
...
Require at least one signature match per provided 1MB of probe data,
and if there is only a single match, return at most MAX/4.
Fixes issue1382 but could/should probably still be improved.
Originally committed as revision 19848 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
98487a5b69
Make dnxhd probe more strict, fail if we detect values in header that would
...
make our decoder fail anyway.
dnxhd probe now passes probetest.
Originally committed as revision 19847 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
9ecc414195
ARM: 10l: fix large FFTs
...
Originally committed as revision 19846 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
89c4e176f6
Rewrite h261_probe().
...
New code can detect h261 startcodes even when the first is damaged or not at the
begin. It also passes probetest v2 & v3.
Originally committed as revision 19845 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
05bdd33a12
Make DTS probe more robust against false positives (as e.g. probetest shows).
...
In particular check that the detected markers clearly indicate a specific DTS
format (a wild mixture of e.g. little- and big-endian markers is unlikely to be
a valid DTS file) and ensure the markers appear with sufficient frequency.
Originally committed as revision 19844 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
9f449d57c7
Check the index validity more thoroughly for the c93 probe function.
...
In particular, check that length of the first index entries is not 0 since
that is interpreted "end of file" and makes no sense in the very first entries.
Originally committed as revision 19843 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
ddbb7c9be2
Add more sanity checks for header elements, rejecting files with clearly
...
invalid values that wouldn't play right anyway and reduce probe score to MAX/2.
Passes probetest v2.
Originally committed as revision 19842 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
e4c01d408a
Rewrite h263_probe().
...
The new code should detect h263 even if the first startcode is damaged or
somewhere else than the first byte. It also passes probetest v2 as just
posted on ffmpeg-dev.
Originally committed as revision 19841 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
21ab5c5827
Extend check for integer overflow for malloc argument to take into account
...
also the addition of "sound_buffers" not only the multiplication.
Originally committed as revision 19840 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
65d6d40350
Fix wrong logical operator which causes too relaxed checking in VC-1 test
...
format probe.
Spotted by Reimar Döffinger.
Originally committed as revision 19839 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
8466ab59b2
Check buffer size for idcin check, otherwise false positives are too likely for
...
small probe buffer sizes due to 0-padding (see probetest results).
Originally committed as revision 19838 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jason Garrett-Glaser
03354862cb
Update preset files to jive somewhat better with more recent x264 API.
...
Originally committed as revision 19837 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
8bb7dda2f7
ensure pes buffer is set to avoid segv
...
Originally committed as revision 19836 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
8956f68014
reset pes state to skip after flushing, avoid segv with dvgrab-2009.03.28_19-07-22.m2t
...
Originally committed as revision 19835 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Benjamin Larsson
6acd4d89d8
Do not release the AVFrame when using reget_buffer in flashsv.
...
Originally committed as revision 19834 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Benjamin Larsson
000b8b8699
Add condition to aea demuxer probe.
...
Originally committed as revision 19833 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Benjamin Larsson
04a6d1b0db
Cosmetics. Renames, indentation and spacing.
...
Originally committed as revision 19832 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
72cdcc0b9b
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
Originally committed as revision 19831 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
cbb5da57cd
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.
Originally committed as revision 19830 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ivan Schreter
dbe0ad85c1
Use I/O buffer size as initial value for backoff for seeking sync point search.
...
Originally committed as revision 19829 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
749fac310c
Reset slice direction at end of each frame.
...
Originally committed as revision 29675 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
9451b59fc6
Remove ; after while(0) in macros.
...
Originally committed as revision 29674 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
e20b196da1
Remove ; after while(0) in macros.
...
Originally committed as revision 19828 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
0345f36bbd
eval: Check for return value of memory allocations.
...
Originally committed as revision 19827 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
7ef618796a
Check for return value of some context allocations.
...
Originally committed as revision 19826 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
600b9c5c8c
Do not do free AVStream in case of error, this is not supposed to be
...
done by the demuxer.
Fix issue 1378.
Originally committed as revision 19825 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Benjamin Larsson
2dbcb03ad5
Remove table that was forgotten in the split.
...
Originally committed as revision 19824 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Benjamin Larsson
acc69c1cab
Fix doxygen comment
...
Originally committed as revision 19823 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sascha Sommer
bc7f96b184
reinit get_bits for every decode_packet call
...
Originally committed as revision 19822 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Lars Täuber
6fa6c481b9
Make get_ur_golomb capable of reading 16 bit values.
...
Patch by Lars Täuber: firstname taeuber gmx net
Originally committed as revision 19821 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Lars Täuber
6249c33e5a
Fix a typo in the documentation.
...
Patch by Lars Täuber: firstname taeuber gmx net
Originally committed as revision 19820 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
edc0f5dcba
ARM: NEON optimised MDCT
...
Originally committed as revision 19819 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
46c32e2654
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.
Originally committed as revision 19818 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
750f5034cf
ARM: faster NEON IMDCT
...
Originally committed as revision 19817 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Benjamin Larsson
61d00297ab
Cosmetics, add spaces
...
Originally committed as revision 19816 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Benjamin Larsson
c64c0a9b76
Move get_arg to avoid future declaration of function when
...
new code is added.
Originally committed as revision 19815 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Benjamin Larsson
7141c8594d
Use reget_buffer instead of get_buffer. Fixes issue1367.
...
Patch by jarkko.palviainen.sesca.com.
Originally committed as revision 19814 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Benjamin Larsson
223e8df136
Add ATRAC1 codec ID.
...
Originally committed as revision 19813 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Benjamin Larsson
d0b57c6f85
Initial commit of the MD studio demuxer, not hooked up yet
...
Originally committed as revision 19812 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Benjamin Larsson
dbb0f96f0f
Initial commit of the atrac1 decoder, not hooked up yet
...
Originally committed as revision 19811 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Benjamin Larsson
76ec34a5c3
Remove redundant code forgotten in the split
...
Originally committed as revision 19810 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
b52b0913c2
Check for thread_count==0.
...
fixed issue1333
Originally committed as revision 19809 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
19a9a49e84
Simplify: reget_buffer behaves exactly like get_buffer if the buffer was
...
previously released, so no extra condition is necessary.
Originally committed as revision 19808 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
2205da0d11
Fix typo: '.' was used instead of '/' as directory separator.
...
Originally committed as revision 19807 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
648d792042
ARM: NEON optimised FFT and MDCT
...
Vorbis and AC3 ~3x faster.
Parts by Naotoshi Nojiri, naonoj gmail
Originally committed as revision 19806 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
6d9d289e76
DCA: move an aligned array from stack to context
...
Originally committed as revision 19805 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
95e561ec3e
configure: add -g to ASFLAGS when debug is enabled
...
Originally committed as revision 19804 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
f7ba16a7f4
Fix typo in configure error message.
...
Originally committed as revision 19803 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
shinya.tesutosan@hotmail.com
e5f58f81f7
Document padding for AVProbeData.
...
Patch by roundup user shinya, tesutosan hotmail
Originally committed as revision 19802 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago