Cédric Schieli [Mon, 16 Mar 2009 08:29:40 +0000 (08:29 +0000)]
Split YUV2RGB operands declaration into a separate macro
Originally committed as revision 28972 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Baptiste Coudurier [Mon, 16 Mar 2009 06:46:57 +0000 (06:46 +0000)]
cosmetics, remove useless braces
Originally committed as revision 18004 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Mon, 16 Mar 2009 06:46:28 +0000 (06:46 +0000)]
simplify printing
Originally committed as revision 18003 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Mon, 16 Mar 2009 06:44:16 +0000 (06:44 +0000)]
reindent
Originally committed as revision 18002 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Mon, 16 Mar 2009 06:43:38 +0000 (06:43 +0000)]
fix trkn metadata parsing
Originally committed as revision 18001 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Mon, 16 Mar 2009 06:06:05 +0000 (06:06 +0000)]
move read_udta_string up to avoid forward declaration
Originally committed as revision 18000 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Mon, 16 Mar 2009 06:03:29 +0000 (06:03 +0000)]
more generic metadata handling
Originally committed as revision 17999 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Mon, 16 Mar 2009 05:13:55 +0000 (05:13 +0000)]
do not set isom if ctype is not set, happens in mov
Originally committed as revision 17998 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Mon, 16 Mar 2009 03:56:42 +0000 (03:56 +0000)]
Remove long unused ALTIVEC_USE_REFERENCE_C_CODE ifdef; all other references
to it were removed in r6606
Originally committed as revision 17997 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sun, 15 Mar 2009 23:54:53 +0000 (23:54 +0000)]
search for hdlr atom in meta, some files do not store version+flags
Originally committed as revision 17996 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ramiro Polla [Sun, 15 Mar 2009 23:15:57 +0000 (23:15 +0000)]
mingw32: call lib.exe instead of lib to facilitate running it through wine.
Originally committed as revision 17995 to svn://svn.ffmpeg.org/ffmpeg/trunk
Matthieu Castet [Sun, 15 Mar 2009 21:32:36 +0000 (21:32 +0000)]
Disallow out-of-tree builds with config.h in the source tree.
A config.h present in the source tree takes precedence over a config.h
in the build tree, which can possibly result in an incorrect build.
patch by matthieu castet, castet.matthieu free fr
Originally committed as revision 17994 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ronald S. Bultje [Sun, 15 Mar 2009 20:14:25 +0000 (20:14 +0000)]
Fix index generation in the way that it was supposed to be used. See the
discussion in the ML thread "[PATCH] rmdec.c: merge old/new packet reading
code".
Over time, this code broke somewhat, e.g. seq was never actually written
into (and was thus always 1, therefore the seq condition was always true),
whereas it was supposed to be set to the sequence number of the video slice
in case the video frame is divided over multiple RM packets (slices). The
problem of this is that packets other than those containing the beginning
of a video frame would be indexed as well.
Secondly, flags&2 is supposed to be true for video keyframes and for these
audio packets containing the start of a block. For some codecs (e.g. AAC),
that is every single packet, whereas for others (e.g. cook), that is the
packet containing the first of a series of scrambled packets that are to be
descrambled together. Indexing any of the following would lead to incomplete
and thus useless frames. Problem here is that flags would be reset to 2 to
indicate that the first packet is ready to be returned, and in addition if
no data was left to be returned (which is always true for the first packet),
then we wouldn't actually write the index entry anyway.
All in all, the idea was good and it probably worked at some point, but that
is long ago. This patch should at the very least make it likely for this code
to be executed again at the right times, i.e. the way it was originally
intended to be used.
Originally committed as revision 17993 to svn://svn.ffmpeg.org/ffmpeg/trunk
Benjamin Larsson [Sun, 15 Mar 2009 19:36:45 +0000 (19:36 +0000)]
Add cook channel count function, part of multichannel cook
Originally committed as revision 17992 to svn://svn.ffmpeg.org/ffmpeg/trunk
Benjamin Larsson [Sun, 15 Mar 2009 19:34:52 +0000 (19:34 +0000)]
Add max allowed subpackets in multichannel cook
Originally committed as revision 17991 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Sun, 15 Mar 2009 17:20:24 +0000 (17:20 +0000)]
Remove code that was disabled by the recent major version bump.
Originally committed as revision 17990 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sun, 15 Mar 2009 16:36:36 +0000 (16:36 +0000)]
Fix typo: 'conjuction' -> 'conjunction'.
Originally committed as revision 17989 to svn://svn.ffmpeg.org/ffmpeg/trunk
Benjamin Larsson [Sun, 15 Mar 2009 14:11:11 +0000 (14:11 +0000)]
save avctx in cook decoder context and use it for av_log
Originally committed as revision 17988 to svn://svn.ffmpeg.org/ffmpeg/trunk
Benjamin Larsson [Sun, 15 Mar 2009 14:04:25 +0000 (14:04 +0000)]
memset when category is >=7, part of cook multichannel
Originally committed as revision 17987 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Sun, 15 Mar 2009 13:38:36 +0000 (13:38 +0000)]
1 km^3 cola, timecode_frame_start is a 64 bit integer, this resulted in
complete nonsense if timecode_frame_start was used on big-endian systems.
Originally committed as revision 17986 to svn://svn.ffmpeg.org/ffmpeg/trunk
Carl Eugen Hoyos [Sun, 15 Mar 2009 13:22:41 +0000 (13:22 +0000)]
Force ebp_available for icc.
See discussion:
http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/86209
Originally committed as revision 17985 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Sun, 15 Mar 2009 12:46:07 +0000 (12:46 +0000)]
cosmetics: Remove file name from file header.
Originally committed as revision 17984 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sun, 15 Mar 2009 11:21:11 +0000 (11:21 +0000)]
add my gpg key fingerprint
Originally committed as revision 17983 to svn://svn.ffmpeg.org/ffmpeg/trunk
Attila Kinali [Sun, 15 Mar 2009 11:18:52 +0000 (11:18 +0000)]
add my gpg key fingerprint
Originally committed as revision 17982 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sun, 15 Mar 2009 10:53:12 +0000 (10:53 +0000)]
typo in the mail, the 4am commit is always the worst
Originally committed as revision 17981 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sun, 15 Mar 2009 10:49:52 +0000 (10:49 +0000)]
cosmetics
Originally committed as revision 17980 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sun, 15 Mar 2009 10:49:28 +0000 (10:49 +0000)]
add my copyright in mov de/muxer
Originally committed as revision 17979 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sun, 15 Mar 2009 10:37:25 +0000 (10:37 +0000)]
Expand "lsb" to "least significant bits".
Originally committed as revision 17978 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sun, 15 Mar 2009 10:33:51 +0000 (10:33 +0000)]
Rename the (yet not defined) macros:
PIX_FMT_RGB565_BE -> PIX_FMT_RGB565BE
PIX_FMT_RGB565_LE -> PIX_FMT_RGB565LE
for consistency with the other pixfmts macros.
Originally committed as revision 17977 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sun, 15 Mar 2009 09:44:57 +0000 (09:44 +0000)]
allocate palette in codec directly
Originally committed as revision 17976 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sun, 15 Mar 2009 09:06:36 +0000 (09:06 +0000)]
cosmetics, add some whitespaces and empty lines
Originally committed as revision 17975 to svn://svn.ffmpeg.org/ffmpeg/trunk
Kostya Shishkov [Sun, 15 Mar 2009 08:21:42 +0000 (08:21 +0000)]
Correct MV prediction for B-frame blocks in RV4 decoder
Originally committed as revision 17974 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sun, 15 Mar 2009 07:23:18 +0000 (07:23 +0000)]
add loglevel option to set libav* logging level, -v does not set it anymore
Originally committed as revision 17973 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sun, 15 Mar 2009 07:21:22 +0000 (07:21 +0000)]
do not modify sample_count, check against index entries
Originally committed as revision 17972 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sat, 14 Mar 2009 23:39:52 +0000 (23:39 +0000)]
use utc time for timestamp and do not set it if not specified
Originally committed as revision 17971 to svn://svn.ffmpeg.org/ffmpeg/trunk
Måns Rullgård [Sat, 14 Mar 2009 23:00:57 +0000 (23:00 +0000)]
Fix ff_random_get_seed() prototype
Originally committed as revision 17970 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sat, 14 Mar 2009 22:51:38 +0000 (22:51 +0000)]
swf timestamps are 16 bits
Originally committed as revision 17969 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sat, 14 Mar 2009 22:49:01 +0000 (22:49 +0000)]
remove unused fields in swf context
Originally committed as revision 17968 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sat, 14 Mar 2009 22:43:28 +0000 (22:43 +0000)]
do not parse timestamp if bitexact is set, should fix regression tests
Originally committed as revision 17967 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Sat, 14 Mar 2009 22:07:15 +0000 (22:07 +0000)]
Enable generic index creation and seeking for NUV demuxer.
Originally committed as revision 17966 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Sat, 14 Mar 2009 21:46:00 +0000 (21:46 +0000)]
Add AVFMT_GENERIC_INDEX support also for formats that do not use a parser.
Originally committed as revision 17965 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Sat, 14 Mar 2009 20:50:54 +0000 (20:50 +0000)]
Make pcm_read_seek treat negative time stamps as 0, this avoids incorrectly
seeking before data_offset and is more consistent with how the generic index
seeking code handles it.
Originally committed as revision 17964 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Sat, 14 Mar 2009 19:14:40 +0000 (19:14 +0000)]
Add av_uninit to vbA[1-8], vbB[1-8] variables to work around
some 'may be used uninitialized' warnings.
Originally committed as revision 17963 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Sat, 14 Mar 2009 19:12:20 +0000 (19:12 +0000)]
prettyprinting cosmetics
Originally committed as revision 17962 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Sat, 14 Mar 2009 19:11:56 +0000 (19:11 +0000)]
Add av_uninit to vsrcBuc variable to work around some
'may be used uninitialized' warnings.
Originally committed as revision 17961 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Sat, 14 Mar 2009 17:20:28 +0000 (17:20 +0000)]
Improve description of next_free_data_block_num struct member.
Originally committed as revision 17960 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Sat, 14 Mar 2009 16:30:51 +0000 (16:30 +0000)]
Do not lose user flags when passing calls from the new to the old seeking API.
Originally committed as revision 17959 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Sat, 14 Mar 2009 16:24:30 +0000 (16:24 +0000)]
Switch ffplay to new seeking API.
Originally committed as revision 17958 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Sat, 14 Mar 2009 15:53:56 +0000 (15:53 +0000)]
Switch regression test to the new seeking API.
Originally committed as revision 17957 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Sat, 14 Mar 2009 15:51:46 +0000 (15:51 +0000)]
add avformat_seek_file()
Originally committed as revision 17956 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sat, 14 Mar 2009 10:18:18 +0000 (10:18 +0000)]
Add an example showing how to create a video from many images.
Originally committed as revision 17955 to svn://svn.ffmpeg.org/ffmpeg/trunk
Cédric Schieli [Sat, 14 Mar 2009 08:11:03 +0000 (08:11 +0000)]
Make the source buffer operands parametrized in the YSCALEYUV2RGB_YA macro
Originally committed as revision 28943 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Daniel Verkamp [Fri, 13 Mar 2009 23:36:38 +0000 (23:36 +0000)]
Add 1bpp, 8bpp, 15bpp, and 16bpp support to BMP encoder.
Patch by Daniel Verkamp, daniel drv nu
Originally committed as revision 17954 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Fri, 13 Mar 2009 22:26:45 +0000 (22:26 +0000)]
Set pkt->pos correctly (to the start of header of the packet) in swfdec.
Originally committed as revision 17953 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Fri, 13 Mar 2009 19:37:05 +0000 (19:37 +0000)]
fix swf seeking by fixing new stream detection
Originally committed as revision 17952 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Fri, 13 Mar 2009 15:56:29 +0000 (15:56 +0000)]
Remove 'lib' and 'swscale-error' from list of phony targets.
Both targets no longer exist.
Originally committed as revision 17951 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Fri, 13 Mar 2009 15:55:16 +0000 (15:55 +0000)]
Mark all clean targets as phony.
Originally committed as revision 17950 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Fri, 13 Mar 2009 14:10:49 +0000 (14:10 +0000)]
Print timing_info on -debug 1.
Originally committed as revision 17949 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Fri, 13 Mar 2009 13:51:52 +0000 (13:51 +0000)]
Add "testclean" target to .PHONY
Originally committed as revision 17948 to svn://svn.ffmpeg.org/ffmpeg/trunk
Kostya Shishkov [Fri, 13 Mar 2009 13:48:44 +0000 (13:48 +0000)]
Fix direct and skip MB motion compensation in RV4:
two conditions were incomplete and zeroing motion
vectors was performed only on half of them.
Originally committed as revision 17947 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Fri, 13 Mar 2009 13:37:35 +0000 (13:37 +0000)]
Simplify RoQ demuxer pts calculation by using a appropriate time bases.
Originally committed as revision 17946 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Thu, 12 Mar 2009 11:47:50 +0000 (11:47 +0000)]
Set video width/height and create audio stream in read_packet instead of
pre-parsing the file in read_header.
This avoids some code duplication and seeking, and also avoids an IO error
for small video-only files (as created during e.g. the FATE encoder test).
Originally committed as revision 17945 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Thu, 12 Mar 2009 03:17:36 +0000 (03:17 +0000)]
remove sws_flags, seems to have no effect
Originally committed as revision 17944 to svn://svn.ffmpeg.org/ffmpeg/trunk
Alex Converse [Wed, 11 Mar 2009 19:13:15 +0000 (19:13 +0000)]
patcheck: Replace non-POSIX echo -e with printf.
Originally committed as revision 17943 to svn://svn.ffmpeg.org/ffmpeg/trunk
Cédric Schieli [Wed, 11 Mar 2009 14:44:22 +0000 (14:44 +0000)]
Make MMX registers parametrized in the YSCALEYUV2PACKEDX_YA macro
Originally committed as revision 28934 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Cédric Schieli [Wed, 11 Mar 2009 14:22:53 +0000 (14:22 +0000)]
In initMMX2HScaler, when chrDstW is not divisible by 4, the last filterPos element is initialized on the wrong index (not evenly aligned). This fixes it
Originally committed as revision 28933 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Gwenole Beauchesne [Wed, 11 Mar 2009 08:25:00 +0000 (08:25 +0000)]
Use av_mallocz() to initialize hwaccel_data_private.
Originally committed as revision 17942 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Wed, 11 Mar 2009 08:14:19 +0000 (08:14 +0000)]
stag option to force subtitle tag
Originally committed as revision 17941 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Wed, 11 Mar 2009 08:05:18 +0000 (08:05 +0000)]
reindent
Originally committed as revision 17940 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Wed, 11 Mar 2009 08:04:44 +0000 (08:04 +0000)]
keep original tag when stream copying subs with ipod format
Originally committed as revision 17939 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Wed, 11 Mar 2009 08:03:42 +0000 (08:03 +0000)]
ipod supports both subs tags
Originally committed as revision 17938 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Wed, 11 Mar 2009 08:02:59 +0000 (08:02 +0000)]
reindent
Originally committed as revision 17937 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Wed, 11 Mar 2009 08:01:39 +0000 (08:01 +0000)]
write correct atoms based on tag and not format, fixes subs stream copy
Originally committed as revision 17936 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Wed, 11 Mar 2009 07:59:38 +0000 (07:59 +0000)]
use correct codec tag list for ipod format
Originally committed as revision 17935 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Wed, 11 Mar 2009 07:16:19 +0000 (07:16 +0000)]
mxf and mxf d10 regression tests
Originally committed as revision 17934 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Wed, 11 Mar 2009 06:48:02 +0000 (06:48 +0000)]
again 10l, typo, put_byte instead of put_buffer
Originally committed as revision 17933 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Wed, 11 Mar 2009 06:15:00 +0000 (06:15 +0000)]
attempt to try to generate an random umid
Originally committed as revision 17932 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Wed, 11 Mar 2009 06:13:14 +0000 (06:13 +0000)]
10l, set ret to 0 when finished
Originally committed as revision 17931 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Wed, 11 Mar 2009 06:06:18 +0000 (06:06 +0000)]
dump_format after av_write_header to print updated parameters
Originally committed as revision 17930 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Wed, 11 Mar 2009 06:04:56 +0000 (06:04 +0000)]
fix subs track height, set track->height to codec height if not set
Originally committed as revision 17929 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ben Littler [Wed, 11 Mar 2009 01:36:25 +0000 (01:36 +0000)]
sn40 avi fourcc decodes with ffodivx
Originally committed as revision 17928 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Tue, 10 Mar 2009 21:41:31 +0000 (21:41 +0000)]
Fix typos.
Originally committed as revision 17927 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Tue, 10 Mar 2009 17:38:16 +0000 (17:38 +0000)]
Fix bug when elbg->utility_inc[elbg->numCB-1] == 1
Originally committed as revision 17926 to svn://svn.ffmpeg.org/ffmpeg/trunk
Gwenole Beauchesne [Tue, 10 Mar 2009 14:35:55 +0000 (14:35 +0000)]
Add REGISTER_HWACCEL() for hardware accelerators.
Originally committed as revision 17925 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ronald S. Bultje [Tue, 10 Mar 2009 12:55:29 +0000 (12:55 +0000)]
Correctly skip complete INDX chunks, i.e. read the 32-bit header correctly
and if the size is broken (20 bytes, header-only), calculate the expected
size and skip the index entries anyway. See "[PATCH] rmdec.c: correctly
skip indexes" thread.
Originally committed as revision 17924 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Mon, 9 Mar 2009 23:59:31 +0000 (23:59 +0000)]
Replace all `` by $(), the latter can be nested more easily.
Originally committed as revision 17923 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Mon, 9 Mar 2009 23:33:27 +0000 (23:33 +0000)]
Fix MMX2 check, 'movss' is not an MMX2 instruction, use 'pmaxub' instead.
Originally committed as revision 17922 to svn://svn.ffmpeg.org/ffmpeg/trunk
Måns Rullgård [Mon, 9 Mar 2009 23:27:38 +0000 (23:27 +0000)]
Fix unaligned access in ff_copy_bits()
Originally committed as revision 17921 to svn://svn.ffmpeg.org/ffmpeg/trunk
Måns Rullgård [Mon, 9 Mar 2009 22:39:49 +0000 (22:39 +0000)]
Set AS to $CC by default, override with gcc only when CC is armcc
Originally committed as revision 17920 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ronald S. Bultje [Mon, 9 Mar 2009 22:03:47 +0000 (22:03 +0000)]
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
Ronald S. Bultje [Mon, 9 Mar 2009 22:02:06 +0000 (22:02 +0000)]
Revert to r17908.
Originally committed as revision 17918 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reynaldo H. Verdejo Pinochet [Mon, 9 Mar 2009 22:00:35 +0000 (22:00 +0000)]
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
Reynaldo H. Verdejo Pinochet [Mon, 9 Mar 2009 21:55:24 +0000 (21:55 +0000)]
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
Ronald S. Bultje [Mon, 9 Mar 2009 21:53:00 +0000 (21:53 +0000)]
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
Reimar Döffinger [Mon, 9 Mar 2009 17:47:47 +0000 (17:47 +0000)]
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
Reimar Döffinger [Mon, 9 Mar 2009 17:44:57 +0000 (17:44 +0000)]
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
Kostya Shishkov [Mon, 9 Mar 2009 17:25:43 +0000 (17:25 +0000)]
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
Gwenole Beauchesne [Mon, 9 Mar 2009 15:52:45 +0000 (15:52 +0000)]
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
Reimar Döffinger [Mon, 9 Mar 2009 15:38:08 +0000 (15:38 +0000)]
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
Ronald S. Bultje [Mon, 9 Mar 2009 13:08:19 +0000 (13:08 +0000)]
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