OSDN Git Service
Michael Niedermayer [Wed, 24 Oct 2012 22:39:33 +0000 (00:39 +0200)]
qt-faststart: check return of ftello()
Fixes CID739863
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 24 Oct 2012 22:35:55 +0000 (00:35 +0200)]
asfdec: fixed signedness in comparission
Fixes CID739864
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 24 Oct 2012 22:32:34 +0000 (00:32 +0200)]
cmdutils: fix unclosed file on error
Fixes CID739865
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 24 Oct 2012 22:23:29 +0000 (00:23 +0200)]
mov_probe: use correct variable
Fixes CID739867
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 24 Oct 2012 22:19:59 +0000 (00:19 +0200)]
cmdutils: remove writes in never read variable
Fixes CID739868
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Clément Bœsch [Sun, 21 Oct 2012 01:12:04 +0000 (03:12 +0200)]
lavf/srtenc: set codec to subrip by default.
We don't have a text encoder yet, so this commit makes automatic
encoding working with srt output.
Clément Bœsch [Sun, 21 Oct 2012 00:49:01 +0000 (02:49 +0200)]
lavf/srtenc: simplify timing printing.
Clément Bœsch [Wed, 24 Oct 2012 22:01:42 +0000 (00:01 +0200)]
srt: make the demuxer output SubRip packets.
The SRT format should never have outputted CODEC_ID_SRT packets in the
first place: SRT is a subtitle format containing SubRip text markup
events. The timing information is part of the format, not the codec, and
thus CODEC_ID_SRT should not exist.
Creating packets with the timing information within the payload only
leads to problem (such as remuxing with timing alteration not working),
especially when the SubRip markup is being used in container like
Matroska in addition to this standalone SRT format.
The main reason the timing line was included in those CODEC_ID_SRT
packets is likely because it contained extra information (the event
position) the codec actually needs. This issue is solved by using the
AV_PKT_DATA_SUBTITLE_POSITION side data type.
Clément Bœsch [Wed, 24 Oct 2012 21:58:15 +0000 (23:58 +0200)]
lavc: add AV_PKT_DATA_SUBTITLE_POSITION side data type.
This commit introduces a new packet side data type for the subtitle
position information. This is meant to be used by the SRT format where
that information is stored along with the timing, which is not part of
the subrip packets.
Clément Bœsch [Sat, 20 Oct 2012 22:16:11 +0000 (00:16 +0200)]
lavc/utils: make sub decode consistent with A/V.
This allows side data to be transmitted properly with subtitles.
Clément Bœsch [Sat, 20 Oct 2012 19:21:34 +0000 (21:21 +0200)]
lavf/srtdec: simplify start/end computation.
Also fix potential overflow (CID733778)
Stefano Sabatini [Wed, 24 Oct 2012 10:06:21 +0000 (12:06 +0200)]
ffprobe: add an array of section print buffers to the WriterContext
Allow to factorize buffers initialization/release, for all the writers
which use it. Simplify.
Stefano Sabatini [Wed, 24 Oct 2012 14:51:19 +0000 (16:51 +0200)]
Doxyfile: update examples path and patterns
Stefano Sabatini [Wed, 24 Oct 2012 14:39:32 +0000 (16:39 +0200)]
doc/texi2pod.pl: drop unnecessary rule, which was converting "\," to ","
I cannot find a reason for such a rule, which was resulting in badly
escaped filtergraph snippets.
Fix trac ticket #1610.
Michael Niedermayer [Wed, 24 Oct 2012 20:19:46 +0000 (22:19 +0200)]
fourcc2pixfmt: fix compilation
If someone finds a cleaner fix, dont hesitate to revert this!
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 24 Oct 2012 19:54:24 +0000 (21:54 +0200)]
libavfilter: include needed header for AVDictionary
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Clément Bœsch [Tue, 23 Oct 2012 09:13:42 +0000 (11:13 +0200)]
http: add -content_type user option.
Paul B Mahol [Wed, 24 Oct 2012 18:38:31 +0000 (18:38 +0000)]
pgmyuvenc: do not create files which are not supported
It is possible to support files with odd width and/or height
if real width and height are stored in header.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Wed, 24 Oct 2012 14:29:05 +0000 (14:29 +0000)]
lavf: const correctness for avformat_new_stream
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Tomas Härdin [Wed, 24 Oct 2012 15:06:49 +0000 (17:06 +0200)]
mxfenc: Fix possible integer overflows
None of these are likely unless the user is writing a file with two billion
streams or a duration of around two months.
This fixes CIDs 700568, 700569, 700570, 700571, 700572 and 700573.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Tomas Härdin [Wed, 24 Oct 2012 14:54:25 +0000 (16:54 +0200)]
mxfdec: Fix potential leak in mxf_read_local_tags()
This fixes CID 733800.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Tomas Härdin [Wed, 24 Oct 2012 14:51:41 +0000 (16:51 +0200)]
mxfdec: Fix a potential DoS vector in mxf_read_pixel_layout()
There's a a potential DoS problem in this function. Say an MXF file is
created with a PixelLayout with a long run of non-zeroes. Such a file could be
sent quickly (packed) over the net and would unpack quite fast. mxfdec would
then read it byte-by-byte, which would take considerable time.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Tomas Härdin [Wed, 24 Oct 2012 14:50:26 +0000 (16:50 +0200)]
mxfdec: Fix CID 732262
Coverity thinks ofs can end up 15, thus writing past the end of layout[]. This
is incorrect since it's always incremented by 2. Checking ofs <= 14 makes
Coverity happy and doesn't hurt.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Stefano Sabatini [Wed, 24 Oct 2012 14:50:16 +0000 (16:50 +0200)]
doc/filters: escape special Texinfo character @ in overlay example
Stefano Sabatini [Wed, 24 Oct 2012 14:38:53 +0000 (16:38 +0200)]
doc/filters: remove unnecessary and inconsistent double ',' escaping
Michael Niedermayer [Wed, 24 Oct 2012 14:47:10 +0000 (16:47 +0200)]
doxygen: disable header/footer/stylesheet
They dont work at all and trash the output totally
also they are unmaintained -> that is if you want to maintain them
contact us !
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 15 Oct 2012 14:02:14 +0000 (16:02 +0200)]
avio: detect implicit truncation by assert in avio_w*
This check is somewhat more lenient as would be ideal because we dont
know if the input is signed or unsigned
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 15 Oct 2012 14:01:55 +0000 (16:01 +0200)]
avio: avoid implicit truncation in avio_w*
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 15 Oct 2012 14:01:14 +0000 (16:01 +0200)]
matroskaenc: avoid implicit truncation in avio_w*
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 24 Oct 2012 12:26:13 +0000 (14:26 +0200)]
Merge remote-tracking branch 'qatar/master'
* qatar/master:
asfdec: cosmetics, reformat ff_asf_parse_packet()
g.723.1: add missing CODEC_CAP_DR1
avconv: remove now unneeded calls to avcodec_get_frame_defaults().
lavc: initialize output AVFrame before decoding.
Conflicts:
libavformat/asfdec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 24 Oct 2012 12:18:17 +0000 (14:18 +0200)]
Merge commit '
c68317ebbe4915035df0b08c23eea7a0b80ab881'
* commit '
c68317ebbe4915035df0b08c23eea7a0b80ab881':
lavc: fix documentation for AVCodecContext.delay
atrac3: return an error if extradata_size is not a specific known size
lavc: use the correct API version guard macro for avcodec_encode_audio()
Move Doxyfile into the doc/ subdirectory
doxygen: Build Doxygen documentation in the doc/ subdirectory
dfa: use av_memcpy_backptr() where previously impossible
av_memcpy_backptr: Drop no longer necessary malloc padding
Conflicts:
.gitignore
libavcodec/avcodec.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 24 Oct 2012 12:10:44 +0000 (14:10 +0200)]
Merge commit '
d82f188504410fdfa446c5682c128c31bb5851a4'
* commit '
d82f188504410fdfa446c5682c128c31bb5851a4':
Remove need for padding in av_memcpy_backptr()
Conflicts:
libavutil/lzo.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 24 Oct 2012 12:01:29 +0000 (14:01 +0200)]
Merge commit '
ceb754d041f5f6327fd9195a5f43575af9516daa'
* commit '
ceb754d041f5f6327fd9195a5f43575af9516daa':
lzo: Use AV_COPY*U macros where appropriate
prepare 9_beta2 release
dsputil: Replace AV_WNxx(AV_RNxx()) combinations by AV_COPYxxU
intreadwrite: Add AV_COPYxxU macros for copying to/from unaligned addresses
dxtory: Replace AV_WN16A(AV_RN16A()) combination by AV_COPY16
mp3: properly forward mp_decode_frame errors
Conflicts:
RELEASE
libavcodec/mpegaudiodec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 24 Oct 2012 11:31:46 +0000 (13:31 +0200)]
Merge commit '
0c03cc68386443f1e96ab6fb358220faf67cd5ff'
* commit '
0c03cc68386443f1e96ab6fb358220faf67cd5ff':
mp3: exit on parsing error in mp_decode_frame
rtmppkt: Avoid unescaped backslash in Doxygen comment
fate-lavfi: replace sed/grep/cut combos with awk
build: Plan 9 support
Conflicts:
configure
tests/lavfi-regression.sh
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 24 Oct 2012 11:15:42 +0000 (13:15 +0200)]
build: fix detection of math functions with 2 parameters.
The code from libav seems to have been entirely untested.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 24 Oct 2012 10:53:26 +0000 (12:53 +0200)]
Merge commit '
80521c1997a23e148edf89e11b939ab8646297ca'
* commit '
80521c1997a23e148edf89e11b939ab8646297ca':
build: allow targets to specify extra objects to link with executables
swscale: avoid pointless use of compound literals
libm: add fallbacks for various single-precision functions
network: use getservbyport() only if available
network: add fallbacks for INADDR_LOOPBACK and INET_ADDRSTRLEN
Include sys/time.h before sys/resource.h
Conflicts:
Makefile
configure
libavutil/libm.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Anton Khirnov [Sat, 20 Oct 2012 15:15:57 +0000 (17:15 +0200)]
asfdec: cosmetics, reformat ff_asf_parse_packet()
Anton Khirnov [Wed, 17 Oct 2012 10:16:00 +0000 (12:16 +0200)]
g.723.1: add missing CODEC_CAP_DR1
Anton Khirnov [Tue, 23 Oct 2012 06:32:56 +0000 (08:32 +0200)]
avconv: remove now unneeded calls to avcodec_get_frame_defaults().
Anton Khirnov [Tue, 23 Oct 2012 06:22:23 +0000 (08:22 +0200)]
lavc: initialize output AVFrame before decoding.
Avoids memleaks with audio when extended_data is nontrivial and the user
doesn't reset the frame.
Shouldn't have any effect for video for now, but might be useful in the
future.
Michael Niedermayer [Tue, 23 Oct 2012 23:24:26 +0000 (01:24 +0200)]
yuv2rgb: fix integer overflow in fill_gv_table()
Fixes CID703747
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 23 Oct 2012 23:22:56 +0000 (01:22 +0200)]
yuv2rgb: fix integer overflow in fill_table
Fixes CID703748
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 23 Oct 2012 23:09:14 +0000 (01:09 +0200)]
swscale_unscaled: remove unused variables
Fixes CID739472
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 23 Oct 2012 22:38:56 +0000 (00:38 +0200)]
mpegvideo enc: choose VBV buffer size for mpeg4 when none is specified instead of failing
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 23 Oct 2012 22:03:06 +0000 (00:03 +0200)]
mpegvideo enc: choose VBV buffer size for mpeg1/2 when none is specified instead of failing
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Stefano Sabatini [Sat, 20 Oct 2012 09:26:05 +0000 (11:26 +0200)]
examples/decoding_encoding: add and use the decode_write_frame function
Allow to factorize code in video_decode_example(), simplify.
Stefano Sabatini [Tue, 23 Oct 2012 21:34:38 +0000 (23:34 +0200)]
lavc/utils: fix a few grammar/style nits in log messages
In avcodec_open2(), apply consistent casing and avoid "or" conjunction at
the beginning of a sentence, in the messages issued in case of
experimental codec usage.
Stefano Sabatini [Tue, 16 Oct 2012 11:30:52 +0000 (13:30 +0200)]
lavc/utils: propagate or return meaningful error codes in avcodec_open2()
Carl Eugen Hoyos [Tue, 23 Oct 2012 20:41:15 +0000 (22:41 +0200)]
Do not detect mov with maximum score if the atom size is too small.
Fixes mpegts-in-mov, ticket #987 / issue 2223.
Stefano Sabatini [Mon, 22 Oct 2012 23:13:23 +0000 (01:13 +0200)]
lavd/lavfi: add graph_file option
Allow to specify a filename where to put the filtergraph description.
This is useful to override limitations or glitches of particular shell
environments, and allows a level of indirection for specifying
filtergraphs.
Stefano Sabatini [Tue, 23 Oct 2012 19:42:14 +0000 (21:42 +0200)]
lavfi/sendcmd: move buf init() variable to internal scope where it is used
Stefano Sabatini [Mon, 22 Oct 2012 23:42:24 +0000 (01:42 +0200)]
lavfi/sendcmd: release file in case of failed allocation
Avoid hanging file.
Isaac Dooley [Tue, 23 Oct 2012 19:39:56 +0000 (21:39 +0200)]
x11: Fix x11grab BadCursor
Fixes Ticket1738
Based-on: A fix found in a perl module (http://ffmpeg.org/pipermail/ffmpeg-user/2012-August/008804.html)
Reviewed-by: Clemens Fruhwirth <clemens@endorphin.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Justin Ruggles [Tue, 2 Oct 2012 15:38:34 +0000 (11:38 -0400)]
lavc: fix documentation for AVCodecContext.delay
Justin Ruggles [Mon, 22 Oct 2012 14:44:55 +0000 (10:44 -0400)]
atrac3: return an error if extradata_size is not a specific known size
Also fixes 3 compiler warnings about using uninitialized variables.
Justin Ruggles [Tue, 23 Oct 2012 17:25:53 +0000 (13:25 -0400)]
lavc: use the correct API version guard macro for avcodec_encode_audio()
Diego Biurrun [Mon, 22 Oct 2012 14:03:39 +0000 (16:03 +0200)]
Move Doxyfile into the doc/ subdirectory
Diego Biurrun [Mon, 22 Oct 2012 14:01:18 +0000 (16:01 +0200)]
doxygen: Build Doxygen documentation in the doc/ subdirectory
Mans Rullgard [Tue, 23 Oct 2012 17:05:45 +0000 (18:05 +0100)]
Remove need for padding in av_memcpy_backptr()
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Tue, 23 Oct 2012 17:17:46 +0000 (18:17 +0100)]
dfa: use av_memcpy_backptr() where previously impossible
Since the requirement for output padding has been lifted, we can
use av_memcpy_backptr() here as well.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diego Biurrun [Tue, 23 Oct 2012 17:22:52 +0000 (19:22 +0200)]
av_memcpy_backptr: Drop no longer necessary malloc padding
Signed-off-by: Mans Rullgard <mans@mansr.com>
Paul B Mahol [Mon, 22 Oct 2012 22:00:41 +0000 (22:00 +0000)]
pnmdec: use more meaningful error codes
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diego Biurrun [Mon, 22 Oct 2012 17:02:20 +0000 (19:02 +0200)]
lzo: Use AV_COPY*U macros where appropriate
Reinhard Tartler [Tue, 23 Oct 2012 16:30:36 +0000 (18:30 +0200)]
prepare 9_beta2 release
Michael Niedermayer [Tue, 23 Oct 2012 16:11:26 +0000 (18:11 +0200)]
lavf: fix duration estimation for multi program TS
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 23 Oct 2012 14:53:48 +0000 (16:53 +0200)]
lavf: increase retries to guess duration from pts by 1
This fixes finding the duration for one TS file
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diego Biurrun [Tue, 23 Oct 2012 12:37:16 +0000 (14:37 +0200)]
dsputil: Replace AV_WNxx(AV_RNxx()) combinations by AV_COPYxxU
Diego Biurrun [Tue, 23 Oct 2012 11:27:05 +0000 (13:27 +0200)]
intreadwrite: Add AV_COPYxxU macros for copying to/from unaligned addresses
Diego Biurrun [Tue, 23 Oct 2012 11:03:10 +0000 (13:03 +0200)]
dxtory: Replace AV_WN16A(AV_RN16A()) combination by AV_COPY16
Michael Niedermayer [Tue, 23 Oct 2012 14:11:38 +0000 (16:11 +0200)]
asfdec: ignore stored duration for truncated files
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Peter Ross [Tue, 23 Oct 2012 10:06:28 +0000 (21:06 +1100)]
wtvdec: display warning for encrypted wtv files (instead of 'unsupported chunk' messages)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 23 Oct 2012 13:12:09 +0000 (15:12 +0200)]
Merge remote-tracking branch 'qatar/master'
* qatar/master:
fate: check that dependencies actually exist
fate: fix ENCMUX macro
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 23 Oct 2012 13:08:55 +0000 (15:08 +0200)]
Merge commit '
ec444c84cfd30ef34a4e7b4ec7ee77d7e5250d25'
* commit '
ec444c84cfd30ef34a4e7b4ec7ee77d7e5250d25':
mpegaudiodec: Fix buffer handling on random access
mpegaudio: Refactor mp3on4 flush function
fate: Add dependencies for audio tests
fate: cosmetics: Group idct8x8 test together with all other libavcodec tests
fate: More fine-grained dependencies for libavcodec test programs
Conflicts:
tests/fate/audio.mak
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 23 Oct 2012 13:00:27 +0000 (15:00 +0200)]
Merge commit '
8b8899ac3233b4f7af83ded0dc032fad8902d714'
* commit '
8b8899ac3233b4f7af83ded0dc032fad8902d714':
fate: Declare avcodec/avformat deps in the respective Makefile snippets
fate: Add dependencies for WMA and WavPack tests
Improve wording and spelling of av_log_missing_feature messages.
lavu: remove disabled FF_API_AV_FIFO_PEEK cruft
Conflicts:
libavcodec/aacsbr.c
libavutil/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 23 Oct 2012 12:50:31 +0000 (14:50 +0200)]
Merge commit '
c692957c4edd119920cd7f2121628dd183589e6a'
* commit '
c692957c4edd119920cd7f2121628dd183589e6a':
lavu: remove disabled avoptions cruft
lavu: remove disabled FF_API_GET_BITS_PER_SAMPLE_FMT cruft
Conflicts:
libavutil/opt.c
libavutil/opt.h
libavutil/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Luca Barbato [Mon, 22 Oct 2012 16:50:32 +0000 (18:50 +0200)]
mp3: exit on parsing error in mp_decode_frame
Properly forward mp_decode_layer3 errors, mp_decode_layer1 and
mp_decode_layer2 do not return errors.
Based on a patch by Michael Niedermayer.
Luca Barbato [Mon, 22 Oct 2012 17:11:05 +0000 (19:11 +0200)]
mp3: properly forward mp_decode_frame errors
The function can return either a parsing error or a memory management
error.
Diego Biurrun [Mon, 22 Oct 2012 13:57:55 +0000 (15:57 +0200)]
rtmppkt: Avoid unescaped backslash in Doxygen comment
Michael Niedermayer [Tue, 23 Oct 2012 11:34:42 +0000 (13:34 +0200)]
Merge commit '
468ea9d5b14f92fe61f47f034e67066f65163f5f'
* commit '
468ea9d5b14f92fe61f47f034e67066f65163f5f':
Revert "avutil: make some tables visible again"
Revert "avutil: Add a copy of ff_sqrt_tab back into avutil to restore ABI compatibility"
Conflicts:
libavcodec/sqrt_tab.c
libavutil/libavutil.v
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 23 Oct 2012 11:13:18 +0000 (13:13 +0200)]
Merge commit '
add3a6902ea4d459f36655656a1f8daa409118a7'
* commit '
add3a6902ea4d459f36655656a1f8daa409118a7':
lavu: bump major to 52
Conflicts:
libavutil/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 23 Oct 2012 11:05:52 +0000 (13:05 +0200)]
Merge commit '
2b8dd371e4d276ca0d342e82b8b4cc281be0630a'
* commit '
2b8dd371e4d276ca0d342e82b8b4cc281be0630a':
lavu: postpone recent deprecations until the next major bump
APIchanges: update lavr bump date
avconv: only apply presets when we have an encoder.
atrac3: replace a calculation with FFALIGN()
atrac3: remove unused ATRAC3Context field, sample_rate
atrac3: use sizeof(variable) instead of sizeof(type)
atrac3: simplify MDCT window calculation
Conflicts:
doc/APIchanges
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Mans Rullgard [Wed, 17 Oct 2012 02:22:51 +0000 (03:22 +0100)]
fate-lavfi: replace sed/grep/cut combos with awk
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Mon, 15 Oct 2012 01:38:17 +0000 (02:38 +0100)]
build: Plan 9 support
This adds support for building on Plan 9 x86-32. The compat/plan9
directory contains these items:
- replacements for the 'head' and 'printf' shell commands
- wrapper for main() to disable FPU exceptions
Larger required changes to the system are described in the
documentation.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Mon, 15 Oct 2012 03:05:03 +0000 (04:05 +0100)]
build: allow targets to specify extra objects to link with executables
This allows targets to include special objects when linking
executables without including them in (shared) libraries.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Sat, 13 Oct 2012 23:26:15 +0000 (00:26 +0100)]
swscale: avoid pointless use of compound literals
Some compilers (e.g. old gcc) have trouble with these.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Sat, 13 Oct 2012 21:54:53 +0000 (22:54 +0100)]
libm: add fallbacks for various single-precision functions
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Sun, 14 Oct 2012 19:24:51 +0000 (20:24 +0100)]
network: use getservbyport() only if available
The absence of this function will only give a less informative
string back from our fallback implementation of getnameinfo().
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Sun, 14 Oct 2012 17:00:05 +0000 (18:00 +0100)]
network: add fallbacks for INADDR_LOOPBACK and INET_ADDRSTRLEN
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Sat, 13 Oct 2012 23:27:26 +0000 (00:27 +0100)]
Include sys/time.h before sys/resource.h
Some systems require sys/time.h being explicitly included before
sys/resource.h. The configure check already does this.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Michael Niedermayer [Tue, 23 Oct 2012 10:51:13 +0000 (12:51 +0200)]
Merge commit '
5d1007f74dd496d54b932242004382f44e3b22b4'
* commit '
5d1007f74dd496d54b932242004382f44e3b22b4':
atrac3: initialize static tables in AVCodec.init_static_data()
atrac3: separate window initialization from IMDCT initialization
atrac3: move the 'frame_factor' field from ATRAC3Context to where it is used
atrac3: remove unused ATRAC3Context field, bit_rate
Conflicts:
libavcodec/atrac3.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 23 Oct 2012 10:41:02 +0000 (12:41 +0200)]
Merge commit '
a2664c91fba15a1307f676ffad511f8f86fb3a27'
* commit '
a2664c91fba15a1307f676ffad511f8f86fb3a27':
atrac3: move the 'samples_per_frame' field from ATRAC3Context to where it is used
atrac3: remove unused ATRAC3Context field, samples_per_channel
atrac3: use AVCodecContext.block_align instead of keeping a private copy
atrac3: move the 'delay' field from ATRAC3Context to where it is used
atrac3: move the 'version' field from ATRAC3Context to where it is used
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 23 Oct 2012 10:36:16 +0000 (12:36 +0200)]
Merge commit '
5ac673b5531d846b79a3d77e3e932e0cb1234c45'
* commit '
5ac673b5531d846b79a3d77e3e932e0cb1234c45':
atrac3: use AVCodecContext.channels instead of keeping a private copy
atrac3: simplify some loop indexing
atrac3: cosmetics: pretty-printing and renaming
pcm: define AVCodec instances only for enabled codecs
libxvid: remove useless doxy comments.
lavc: remove stats_out from the options table.
Conflicts:
libavcodec/atrac3.c
libavcodec/pcm.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Mans Rullgard [Tue, 23 Oct 2012 02:28:08 +0000 (03:28 +0100)]
fate: check that dependencies actually exist
This causes make to exit with an error message if a nonexistent
dependency is specified rather than silently dropping the test.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Tue, 23 Oct 2012 02:23:43 +0000 (03:23 +0100)]
fate: fix ENCMUX macro
This matches how it is actually being called.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Michael Niedermayer [Sun, 21 Oct 2012 18:48:21 +0000 (20:48 +0200)]
mpegaudiodec: Fix buffer handling on random access
Diego Biurrun [Mon, 22 Oct 2012 14:55:23 +0000 (16:55 +0200)]
mpegaudio: Refactor mp3on4 flush function
Diego Biurrun [Fri, 19 Oct 2012 23:14:11 +0000 (01:14 +0200)]
fate: Add dependencies for audio tests
Diego Biurrun [Sat, 20 Oct 2012 14:12:30 +0000 (16:12 +0200)]
fate: cosmetics: Group idct8x8 test together with all other libavcodec tests
Diego Biurrun [Sat, 20 Oct 2012 19:58:43 +0000 (21:58 +0200)]
fate: Declare avcodec/avformat deps in the respective Makefile snippets
Diego Biurrun [Fri, 19 Oct 2012 17:59:20 +0000 (19:59 +0200)]
fate: More fine-grained dependencies for libavcodec test programs