| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
At EOF it makes no sense to modify avpkt.{data,size} in output_packet
since no data is consumed. Frame threading with more than 1 threads
hits the segfault.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
I.e. if the packet was only partially consumed, pass the rest of it into
the decoder again.
Also simplify the code so it's the same for video/audio/subs.
|
|
|
|
| |
Also check for sufficient packet size.
|
|
|
|
| |
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
|
|
|
|
|
|
|
|
|
| |
AVFMT_NOTIMESTAMPS for crc, as it ignores the timestamps.
AVFMT_VARIABLE_FPS for framecrc, as it prints dts.
Many FATE changes, because avconv is no longer duplicating frames in
those tests.
Also added -vsync 0 for some tests to prevent avconv from dropping
frames until it can be fixed more properly.
|
|
|
|
|
| |
Prevent avconv from duplicating or dropping frames for formats where it
makes even less sense than usual, e.g. image2.
|
| |
|
|
|
|
|
|
|
|
|
| |
AVFMT_NOTIMESTAMPS for md5, as it ignores the timestamps.
AVFMT_VARIABLE_FPS for framemd5, as it prints dts.
-vsync 0 for the vp8 test is needed because with vsync 2 the timestamp
guessing code gets confused by an altref frame that is never displayed
and drops a frame later.
|
|
|
|
|
|
|
| |
The 'function' macro already includes the appropriate
directives.
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
|
|
| |
Fixes File1.aac and Bug 80.
|
|
|
|
| |
Use PIX_FMT_NONE instead of -1 when dealing with PixelFormat variables.
|
|
|
|
| |
avoids passing around the extra argument among all the macros it uses
|
|
|
|
|
| |
This allows emulated_edge_mc_sse() and gmc_sse() to be used under
AV_CPU_FLAG_SSE.
|
|
|
|
|
|
|
|
| |
The initial values are not checked against the number of block sizes.
Initializing them to frame_len_bits will result in a block size index of 0
in these cases instead of something that might be out-of-range.
Fixes Bug 81.
|
| |
|
|
|
|
|
|
| |
This fixes build errors in some environments.
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
| |
|
| |
|
|
|
|
|
|
| |
Introduce a basic layout, the subpages are currently left empty.
Split libavutil in multiple groups as example of the structure
|
|
|
|
|
| |
Remove the dubious warning about the header being private and
add some formatting
|
|
|
|
| |
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This prevents build errors when compiler and assembler default
targets differ. Ideally each file would declare the highest
level it requires. This is however not easily possible as it
complicates assembling pre-armv6t2 code in Thumb-2 mode.
HAVE_NEON is used as indicator for ARMv7-A since no other
symbol exists for this and NEON is only available in this
variant.
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adding the thread count in frame level multithreading to has_b_frames
as an additional delay causes more problems than it solves.
For example inconsistent behaviour during timestamp calculation in
libavformat.
Thread count and frame level multithreading are both set by the user.
If the additional delay caused by frame level multithreading needs
to be considered in the calling code it has all information to take
it into account.
Should it become necessary to calculate a maximum delay inside
libavcodec it should be exported as its own field and not reusing
an existing field.
Based on a patch by Michael Niedermayer.
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This is easier to understand and is less likely to break horribly when a
stream is to be both decoded and copied.
|
| |
|
|
|
|
|
| |
Fix spacing, vertically align, break some long lines, add some empty
lines for readability.
|
|
|
|
| |
Output AVFormatContext is called 'oc' in most other places.
|
| |
|
|
|
|
| |
Fixes Bug 72.
|
|
|
|
|
|
| |
Fix building with --disable-network.
Signed-off-by: Martin Storsjö <martin@martin.st>
|
|
|
|
| |
Signed-off-by: Martin Storsjö <martin@martin.st>
|
|
|
|
|
|
|
|
| |
Although gcc guarantees 16 byte stack alignment, threads under WinXP
don't appear to be guaranteed to start stack aligned. So fix the
alignment.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
|
|
|
|
|
|
|
|
| |
A new field, AVCodecContext.internal is used to hold a new struct
AVCodecInternal, which has private fields that are not codec-specific and are
used by general libavcodec functions.
Moved internal_buffer, internal_buffer_count, and is_copy.
|
| |
|
|
|
|
|
|
|
| |
libavcodec/options.c:583: warning: assignment discards qualifiers from pointer
target type
libavcodec/options.c:589: warning: initialization discards qualifiers from
pointer target type
|
| |
|
|
|
|
|
|
| |
Found with address sanitizer.
Signed-off-by: Alex Converse <alex.converse@gmail.com>
|
| |
|
|
|
|
|
|
|
|
| |
Note: FCPublish/FCUnpublish are adobe server specific and not described
in the rtmp specification. Some servers might not cope with them at
all.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
|