Replace FFmpeg with Libav in licence headers
Signed-off-by: Mans Rullgard <email@example.com>
get rid of the last svn mentions
configure: use -r option for pr when listing enabled config options.
This fixes ugliness when configure outputs its (empty) results on HPUX(maybe some other UNIXes too):
Enabled indevs:pr: -- empty file
aacenc: 10l, missed a reference when refactoring the psymodel.
ac3enc: add float_to_fixed24() with x86-optimized versions to AC3DSPContextand use in scale_coefficients() for the floating-point AC-3 encoder.
asf: update seek test reference
This updates the seek test reference to match de11ee9. Before thischange, most of the seeks requested positions before the supposedstart of the file (the preroll time), resulting in the first packetbeing returned. With the preroll subtracted, some of these seeks...
nutenc: fix a memleak
This fixes a minor memory leak introduced in 073f8b1.
asfdec: subtract the preroll value and thus output 0 based timestamps
lavf: Make make_absolute_url a lavf internal function
This is shared by both applehttp demuxer and protocol.
Signed-off-by: Luca Barbato <firstname.lastname@example.org>
Add missed APIchanges and changelog entries
Add an APIchanges entry for the av_pkt_dump2 and av_pkt_dump_log2functions, and a changelog entry for the apple http live streamingprotocol handler.
Since neither of them got a minor bump at commit time, but were...
applehttp: Fix a typo in a comment
lavf: make av_interleave_packet() return meaningful error codes
Signed-off-by: Michael Niedermayer <email@example.com>(cherry picked from commit c5dcb3d493a6bb73efeb8bfae24f5cc31908201f)
Signed-off-by: Reinhard Tartler <firstname.lastname@example.org>
lavf: enable av_dlog message in av_interleaved_write_frame()
Help debugging timestamp issues.
Signed-off-by: Michael Niedermayer <email@example.com>(cherry picked from commit d541c8b468c12892fe7b7e655e1ed45e11e2166d)
lavf: enable av_dlog() in compute_pkt_fields2()
Turns a comment into an av_dlog() instruction, also add a commentedissues.
Signed-off-by: Michael Niedermayer <firstname.lastname@example.org>(cherry picked from commit 77f21ce4641b53f3277ba30ca3d009b6250fd9ea)
aacenc: cosmetics, indentation, and comment clarification
Correct bad indentation in aaccoderClarify and correct comments in 3GPP psymodel, other cosmetics.
aacenc: Refactor the parts of the AAC psymodel.
3GPP:Remove ffac from and move min_snr out of AacPsyBand.Rearrange AacPsyCoeffs to make it easier to implement energy spreading.Rename the band array to bandsCopy energies and thresholds at the end of analysis....
aaccoder: Change FFMAX for allzero flag to OR bit operation
Signed-off-by: Ronald S. Bultje <email@example.com>
avio: rename put_flush_packet -> avio_flush
avio: deprecate url_close_buf
It's not used anywhere and its return value looks broken.
avio: deprecate url_open_buf
It's only used in one place and does the same thing asavio_alloc_context.
avio: always compile avio_printf, rather than on CONFIG_MUXERS
avio: avio_ prefix for url_fprintf
avio: change avio_tell/skip from macros to inline functions
avio: make url_setbufsize internal.
lavf: move ff_get_v from avio.h to avio_internal.h
And rename it to ffio_read_varlen.
nutenc: mux chapters.
doc: update applehttp documentation
Integrate more comments from Stefano.
lavf: replace avio_seek(SEEK_CUR) with avio_skip where it makes sense
Remove occurrences of my old email address
dsputil: add bswap16_buf()
There are several places where a buffer is byte-swapped in 16-bit units.This allows them to share code which can be optimised for variousarchitectures.
darwin: use -read_only_relocs flag only on 32-bit x86
Avoids the linker warning:ld: warning: -read_only_relocs cannot be used with x86_64
replace FFmpeg with Libav in doc/
unless it stands for ffmpeg the program or is historic
use LIBAV_LICENSE and LIBAV_VERSION instead of FFMPEG_*
replace FFMPEG with LIBAV in FFMPEG_CONFIGURATION
also update the multiple inclusion guards in config.h|mak
partially rename FFmpeg to Libav
update mailing list references and irc channels in configure
mp3enc: remove mp3_write_packet(), use ff_raw_write_packet() instead
The two functions are identical, no point in duplicating code here.
Do not attempt to decode APE file with no frames
This fixes invalid reads/writes with this sample:http://packetstorm.linuxsecurity.com/1103-exploits/vlc105-dos.txt
jvdec: don't use deprecated url_feof()
mathops: fix MULL when the compiler does not inline the function.
If the function is not inlined, an immmediate cannot be used for theshift parameter, so the %cl register must be used instead in that case.
This fixes compilation for x86-32 using gcc with --disable-optimizations.
id3v2: merge TYER/TDAT/TIME to date tag
mathops: change "g" constraint to "rm" in x86-32 version of MUL64.
The 1-arg imul instruction cannot take an immediate argument, only a registeror memory argument.
mathops: convert MULL/MULH/MUL64 to inline functions rather than macros.
This fixes unexpected name collisions that were occurring with variablesdeclared within the macros.It also fixes the fate-acodec-ac3_fixed regression test on x86-32.
Use AVERROR_EXIT with url_interrupt_cb.
Functions interrupted by url_interrupt_cb should not be restarted.Therefore using AVERROR was wrong, as it did not allow to distinguishwhen the underlying system call was interrupted and actually needed to be...
This is different from AVERROR because calls that fail with EINTRshould usually be restarted.
Signed-off-by: Nicolas George <firstname.lastname@example.org>Signed-off-by: Ronald S. Bultje <email@example.com>
avio: deprecate url_ferror
AVIOContext.error should be used directly instead.
lavf/utils: dont't explicitly check AVIOContext.error
The error should be caught in write_packet()/write_trailer()
h264_mp4toannexb_bsf: Fix spurious warning when stream has SPS and PPS units.
Signed-off-by: Philip Langdale <firstname.lastname@example.org>Signed-off-by: Ronald S. Bultje <email@example.com>
Delete MAINTAINERS file
This file is a bad idea and also badly outdated.
ac3enc: add SIMD-optimized shifting functions for use with the fixed-point AC3 encoder.
ac3enc: do not right-shift fixed-point coefficients in the final MDCT stage.
This increases the accuracy of coefficients, leading to improved quality.Rescaling of the coefficients to full 25-bit accuracy is done rather thanoffsetting the exponent values. This requires coefficient scaling to be done...
mm decoder: move buffer allocation from decode_init() to decode_frame()
This permits playback in ffplay when libavfilter is enabled.
jv demuxer: prevent video packet size overflow
In the event of overflow, the JV_PADDING state will avio_skip overany overflow bytes (using JVFrame.total_size).
jv demuxer: define JV_PREAMBLE_SIZE instead of hard coding the number
jv demuxer: calculate palette_size for each frame in read_header
Bitmap Brothers JV errata
Bitmap Brothers JV demuxer
Bitmap Brothers JV video decoder
Update the url to the site website and change ffmpeg-devel to libav-devel
doc: document applehttp protocol
The documentation might be extended once/if a live/store override optionwill have to be provided for non-compliant segmenter.
VP8: fix other function declaration
Was missed in 3efbe137.
VC1: Export profile/level
ffmpeg: remove unused variable in ffmpeg_exit()
Fix the warning:ffmpeg.c: In function ‘ffmpeg_exit’:ffmpeg.c:509: warning: unused variable ‘j’
VP8: optimize VP8Context struct ordering
Shaves at least 3KB off code size on x86, should improve cache utilization.This would probably be useful to do for other decoders/encoders as well.
VP8: fix function declaration
VP8: token probs doesn't need padding
prob0 is the only prob array ever accessed, so prob1 can serve as paddingfor prob0.
VP8: use a goto to break out of two loops
A break statement was supposed to break out of two loops, but only broke out of one.Didn't affect output, just could have been marginally slower.
Add CONFIG_AC3DSP symbol to simplify makefiles
configure: use pkg-config helpers
This makes existing pkg-config uses as well as the libsdl checksuse the new pkg-config helper functions, which should be morerobust against broken systems.
configure: improve pkg-config support
This adds helper functions for checking packages with pkg-configand managing the associated flags.
Note that pkg-config use is still discouraged due to widespreadpoor practices resulting in broken flags in many situations. A...
configure: allow checking multiple functions in check_func_headers()
This makes it possible to pass a space-separated list of functionsto check_func_headers and check_lib2. If any function is missing,none are enabled as available, so this should only be used for...
Add one more avc intra fourcc and extend the description
Export profiles from the mpeg2 video decoder
id3v2: fix typo in error message
aacenc: Fix a segfault in search_for_quantizers
This reverts the removal of scoefs from AACEncContext.It resulted in scoefs being a NULL pointer whensearch_for_quantizers() is called.
avio: deprecate url_feof
AVIOContext.eof_reached should be used directly instead.
mpegts: add all stream languages into metadata
This is used at least on some older DVB broadcasts for dual-mono audiotracks.
In retry_transfer_wrapper, do not check url_interrupt_cb, causes problemswhen writing and pressing q during encoding. Instead, check url_interrupt_cbat the end.
Note that when a protocol is interrupted by url_interrupt_cb, some data maybe silently discarded: the protocol context is not suitable for anything...
Flag DVB subtitles for the hard hearing appropriately using their component_type id.
This is based on the component_type definition in the DVB SI spec .
mpegtsenc: handle multiple language tags per stream
lavf: update documentation of AVOutputFormat.flags
avio: move ff_rewind_with_probe_data from avio.h to avio_internal.h
also change its prefix to ffio
avio: deprecate url_fget_max_packet_size
AVIOContext.max_packet_size should be used directly instead.
aacenc: remove the data arrays
lavf: document the use of multiple entries in language metadata tag
aac_latm_dec: use aac context and aac m4ac
When decoding latm config, use the corresponding aac context and itsm4ac instead of using NULL and a local variable. This fixes decoding ofaudio in MPEG TS from SBTVD (the Brazillian Digital TV Sytem), whenthere is no extradata. This is the case when using the decoder with...
ac3enc: add some assertions
ac3enc: use av_assert2() instead of assert() to make debugging easier.
cosmetics: rename ff_fmt_convert_init_ppc() to ff_fmt_convert_init_altivec().
It only has Altivec functions and is not compiled if Altivec is disabled.
Fix compilation on powerpc with --disable-altivec.
Add audio codec 0x1600 (ADTS AAC)
avio: avio_ prefix for url_fsize
avio: deprecate url_fgetc and remove all it uses
avio: deprecate url_fgets
It's not used anywhere and doesn't look ver useful to be public.
avio: add avio_skip macro
This is a substitute for the url_fskip function that was deprecated bycommit 0300db8ad778a194b4a8ec98f6da3de5b41c46ee. avio_fskip is provided toimprove demuxer code readability. It distinguishes the act of skipping overunknown or irrelevant bytes from the standard avio_seek operation....
h264_mp3toannexb_bsg: don't crash, but warn, if PPS/SPS not found.
Should an AVC-1 in MP4 stream not contain SPS or PPS NAL units,this BSF is then unable to allocate an output buffer for themodified stream. Warn that the resulting stream may be unplayable....
Add Apple HTTP Live Streaming protocol handler
URLProtocol: Add URL_PROTOCOL_FLAG_NESTED_SCHEME
If this flag is set, the protocol can handle URLs where thescheme is a nested scheme such as applehttp+file: - the protocolcan handle any URL where the first segment of the nested schemebelongs to this protocol....
URLProtocol: Add a flags field
yadif: add parens around macro parameters
This fixes compilation with preprocessors which do not add whitespacearound replaced tokens, resulting in invalid expressions like 1--1.