Ronald S. Bultje
b8cc5a9fdf
Prevent (negative) overflow of rm->remaining_len. This evaluation really only
...
has two possible outcomes: either len and rm->remaining_len are the same, in
which case we care about the outcome and it is zero, or rm->remaining_len is
currently not in use and we don't care about the outcome. In that case, len
is positive and rm->remaining_len is zero, which leads to a negative result.
This is confusing and could eventually lead to a sign-flip if we skip a lot
of packets (unlikely, but still). Therefore, just always set it to zero.
Originally committed as revision 17919 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ronald S. Bultje
7ccefd08f6
Revert to r17908.
...
Originally committed as revision 17918 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reynaldo H. Verdejo Pinochet
d2af569710
Cosmetics from Kenan Gillet's 'extract and share weighted_vector_sumf'
...
patchset. Just a reindent.
Originally committed as revision 17917 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reynaldo H. Verdejo Pinochet
95e8325771
Functional part Kenan Gillet's 'extract and share weighted_vector_sumf'
...
patchset. Idea is to share this common code between the AMR and QCELP
decoders.
Originally committed as revision 17916 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ronald S. Bultje
88c4339bda
Move MOVContext and related structures from mov.c to isom.h. See "[PATCH]
...
move MOVContext from mov.c to isom.h" thread on ML.
Originally committed as revision 17915 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
3898eed890
Reorder arguments for av_fifo_generic_read to be more logical and
...
consistent with av_fifo_generic_write.
Originally committed as revision 17914 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
60f75ad245
Fix seek regression test broken by r17905, seeking fails completely
...
for swf before and after, but it now incorrectly creates additional
streams.
Originally committed as revision 17913 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
bcff32d1b4
Mask all unused bits for packed pixel format instead of green and alpha mask only.
...
That fixes the case when converting 15-bit RGB/BGR to YUV and high bit is set
for input value(s).
Originally committed as revision 28916 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Gwenole Beauchesne
2500d8bea6
Update VA API pixfmts documentation: struct vaapi_render_state
...
shall now be copied to Picture.data[3].
Originally committed as revision 17912 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
29a68cf04e
Convert spurious DOS line breaks to UNIX line breaks in seek regression
...
test reference file.
Originally committed as revision 17911 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ronald S. Bultje
0ecf9cc900
Prevent (negative) overflow of rm->remaining_len. This evaluation really only
...
has two possible outcomes: either len and rm->remaining_len are the same, in
which case we care about the outcome and it is zero, or rm->remaining_len is
currently not in use and we don't care about the outcome. In that case, len
is positive and rm->remaining_len is zero, which leads to a negative result.
This is confusing and could eventually lead to a sign-flip if we skip a lot
of packets (unlikely, but still). Therefore, just always set it to zero.
Originally committed as revision 17910 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ronald S. Bultje
21b3752932
Replace separate packet parsing for "old_format" .ra files by a call to
...
ff_rm_parse_packet(). See "[PATCH] Make RM demuxer behave better with -an
option" thread, which sort-of turned into an aggregate of unrelated rmdec.c
cleanups.
Originally committed as revision 17909 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ronald S. Bultje
dc3685e129
Move frame discarding out of the ff_rm_parse_packet() loop, and respect
...
rm->audio_pkt_cnt in case multiple packets should be read before the next
syncpoint in the file, so that ffplay -an on a file containing AAC audio
works. See "[PATCH] Make RM demuxer behave better with -an option" thread
on mailinglist.
Originally committed as revision 17908 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
d71d64dcc1
Mark all packets from nuv demuxer as keyframes in order to make seeking work.
...
For proper seeking, they should be set correctly though.
Originally committed as revision 17907 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ronald S. Bultje
37b7dac184
Reorder alphabetically after r17902.
...
Originally committed as revision 17906 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
3a4f91f5ed
100l, to start reading from the first frame we must seek to data_offset,
...
not 0 in av_seek_frame_generic.
Originally committed as revision 17905 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
fb2e95c97a
Set AVPacket pos also for audio packets in nuv demuxer.
...
Originally committed as revision 17904 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
082dea8e40
Remove all remaining code that was disabled through the major version bump.
...
Originally committed as revision 17903 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
0881748386
Add maintainers for RM muxer, demuxer and RDT protocol
...
Originally committed as revision 17902 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
32b936d0c3
Add av_fifo_reset function to completely reset fifo state, which makes
...
it easier to reuse the fifo.
Originally committed as revision 17901 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
aa033b1ed7
Enable CONFIG_FASTDIV by default
...
Originally committed as revision 17900 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Gwenole Beauchesne
68e5d5235e
Add private HW accel data infrastructure.
...
Originally committed as revision 17899 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
af79f1ae78
reindent
...
Originally committed as revision 17898 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
c900635fd9
indent
...
Originally committed as revision 17897 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
6b4fab72df
change path pattern to be similar to existing files, and remove useless buffer
...
Originally committed as revision 17896 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
4070629dfa
merge struct declaration and definition
...
Originally committed as revision 17895 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
0c8f772791
write map packet every 100 packets according to specs
...
Originally committed as revision 17894 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
aaa43de31a
write flt packet, might need some tweaking but it works
...
Originally committed as revision 17893 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
a96b1a903a
correctly interleave audio and video according to specs
...
Originally committed as revision 17892 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
9885e9a63a
write timecode track in gxf
...
Originally committed as revision 17891 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
46a7e3ec14
write timecode track in gxf
...
Originally committed as revision 17890 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
33605366ee
compute media info in write_header
...
Originally committed as revision 17889 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
cd34fd9c8c
factorize write packet
...
Originally committed as revision 17888 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
990287c468
remove unneeded and empty user data
...
Originally committed as revision 17886 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
82bb33290e
Allow different executable suffix for host and target
...
Originally committed as revision 17885 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
6b43d2d075
uniformize variable names and remove duplicating fields in private structs
...
Originally committed as revision 17884 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
8b9c94e0bd
remove useless fields
...
Originally committed as revision 17883 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
ade29f9983
move NTT VQF demuxer to keep formats list alphabetized.
...
Originally committed as revision 17882 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
9aa2ab4276
Use FLG pseudo-random number generator in RoQ and ELBG
...
Originally committed as revision 17881 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
74e2a0784e
Make Musepack decoders use LFG pseudorandom generator
...
Originally committed as revision 17880 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
d2f532c8a0
Be more verbose in describing VQF demuxer
...
Originally committed as revision 17879 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
06d19718c4
Add a part explaining that API should be considered unstable after major
...
version changes and list dates of last major version increase.
Originally committed as revision 17878 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
22d4f236bd
Preliminary summary of AVFifoBuffer changes
...
Originally committed as revision 17877 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
fe4032b66a
Remove more functions disabled by major version bump.
...
Originally committed as revision 17876 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
3fb1084306
Remove/replace code disabled by major version bump.
...
Originally committed as revision 17875 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
52a6632a2b
Deprecate the Mersenne Twister.
...
Please use an ALFG, MLFG, LCG or KISS99 generator, MLFG&KISS99 provide higher quality
numbers and all should be faster.
Originally committed as revision 17874 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
c957c85426
Replace all uses of the replaced av_fifo_read by av_fifo_generic_read
...
Originally committed as revision 17873 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
792e467904
Remove the Mersenne Twister from the public API/ABI.
...
We provide better PRNGs.
Originally committed as revision 17872 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
49ceb58bf6
Bump major version of libavutil due to FIFO fixes.
...
The current API/ABI should not be considered stable yet, further ABI/API
breakage is possible without major bumps.
Originally committed as revision 17871 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
cddcf8c60f
Remove av_fifo_read, API is already broken and major version will be bumped soon.
...
Originally committed as revision 17870 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago