Peter Ross
5f14b56593
Core Audio Format demuxer
...
Originally committed as revision 19879 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Peter Ross
2d423666c0
Make mov LPCM and AAC parsing functions public
...
Originally committed as revision 19878 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
9117213313
Enhance Musepack SV8 probing code
...
Originally committed as revision 19874 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
e458dd0be0
Flv should be AVFMT_VARIABLE_FPS.
...
Originally committed as revision 19873 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
657eca1f8b
Upgrade a few important messages to AV_LOG_WARNING.
...
Originally committed as revision 19872 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
0355537605
Fix indention after previous commit.
...
Originally committed as revision 19871 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
ddce56efc5
Make packet interleaving in the muxer not scan through the whole
...
buffer when simply appending at the end works.
Much faster if one stream ends prematurely.
Fixes issue1379.
Originally committed as revision 19870 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
42831b46ef
Also reset *_end in flush_packet_queue().
...
Originally committed as revision 19869 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
ea25c063c3
10l: set genre default immediately before reading genre tag
...
Originally committed as revision 19867 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
d891cbb444
Set ID3v1 genre to 0xFF (unknown) by default instead of 0 (Blues).
...
Originally committed as revision 19866 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
9155be47d1
Do not set 0 FPS in VC-1 test stream format demuxer.
...
Originally committed as revision 19863 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
05db409c28
Check for explicit 32-bit FPS value so it works on 64-bit systems too
...
Originally committed as revision 19861 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
23218a9801
Make probing for VC1 test bitstream format stricter
...
Originally committed as revision 19860 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
37e34df5a5
Check offset in flv_probe()
...
Originally committed as revision 19858 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
0535f919d5
Do not return values above AVPROBE_SCORE_MAX from probe().
...
Originally committed as revision 19857 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
2a3caca2b1
Make h261 and mpegvideo probe a little more robust so they dont fail with
...
slightly different probetest.
Originally committed as revision 19856 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
c4674a479b
Make mpeg_probe() pass probetest.
...
Originally committed as revision 19854 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
3489e150d9
Slightly stricter MPEG-PES probing, fixes issue 1383.
...
Originally committed as revision 19852 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
5837e4ca33
Vastly improved mm_probe function, passes probetest.
...
Originally committed as revision 19851 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
97e078087b
Improve sierravmd probe. It is still quite weak, but further improvements
...
are non-obvious and probably need a large (about 1kB at least) probe buffer.
Originally committed as revision 19850 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
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
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
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
000b8b8699
Add condition to aea demuxer probe.
...
Originally committed as revision 19833 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
Benjamin Larsson
61d00297ab
Cosmetics, add spaces
...
Originally committed as revision 19816 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
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
Maksym Veremeyenko
2c14ded386
Fix a bug with reading non-interleaved AVI if one the streams is
...
shorter.
Patch by Maksym Veremeyenko, verem m1stereo tv
Originally committed as revision 19798 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Maksym Veremeyenko
b60de406a4
Factorise st->nb_index_entries check.
...
Patch by Maksym Veremeyenko, verem m1stereo tv
Originally committed as revision 19797 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
e4bc8af1e6
check entries against field_size, potential malloc overflow in read_stsz, fix #1357
...
Originally committed as revision 19793 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
1c4bf2ec37
add one missing check for stream existence in read_elst, fix #1364
...
Originally committed as revision 19792 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
b126dee964
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
Originally committed as revision 19791 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ivan Schreter
af8aae3fa3
disable new seeking code in mpeg-ts per #ifdef (use old read_seek by default)
...
Originally committed as revision 19788 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
88e70e1b0a
ff_rm_metadata is const.
...
Originally committed as revision 19786 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
ed034f6c59
ff_id3v1_genre_str table should be const.
...
Originally committed as revision 19781 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
4d2a4dfd88
100l, all avlanguage tables should be both static and const.
...
Originally committed as revision 19780 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ivan Schreter
7a656933c9
cosmetic changes (indentation, doxygen comments, braces, put structures for API to header, ...)
...
Originally committed as revision 19773 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
61e8efd35e
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
Originally committed as revision 19769 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago