Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-12-11os_support: define socket shutdown SHUT_xxx macros if they are not definedPeter Ross
this section has been moved into the CONFIG_NETWORK block, since it only affects network enabled builds. sys/socket.h (with WIN32 guard) is needed to check if the SHUT_xxx macro exists.
2017-11-11Merge commit 'e41daa62465036ad36ad0bd14e4936e848d7f07e'James Almer
* commit 'e41daa62465036ad36ad0bd14e4936e848d7f07e': Remove support for building for mingw32ce (Windows CE) Merged-by: James Almer <jamrial@gmail.com>
2017-11-07Merge commit '4d330da006fe48178a4c8047f06270925eaedf63'James Almer
* commit '4d330da006fe48178a4c8047f06270925eaedf63': os_support: Use HAVE_UWP instead of manually checking WINAPI_FAMILY d3d11va: Check WINAPI_FAMILY instead of HAVE_LOADLIBRARY lavf: Remove codec_tag from dashenc and smoothstreamingenc hevc: Add support for alternative transfer characterics SEI Merged-by: James Almer <jamrial@gmail.com>
2017-08-31Remove support for building for mingw32ce (Windows CE)Martin Storsjö
The toolchain for this target is unmaintained since many years. While it has been continuously build tested on fate, it hasn't actually been tested at runtime since many, many years (and back then, only a few codecs in libavcodec were tested). So far, keeping support for it has been mostly effortless, but the compiler does seem to have issues with dllimported data symbols, ending up as internal compiler errors in some cases. Instead of jumping through further hoops to work around that, just remove the target. Signed-off-by: Martin Storsjö <martin@martin.st>
2017-07-30lavf/os_support: Use existing WinRT config value.Matt Oliver
Signed-off-by: Matt Oliver <protogonoi@gmail.com>
2017-07-05os_support: Use HAVE_UWP instead of manually checking WINAPI_FAMILYMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2017-04-09Merge commit '3794062ab1a13442b06f6d76c54dce51ffa54697'Clément Bœsch
* commit '3794062ab1a13442b06f6d76c54dce51ffa54697': Remove Plan 9 support Merged-by: Clément Bœsch <u@pkh.me>
2016-12-03Remove Plan 9 supportDiego Biurrun
Supporting the system was a nice joke for the 9 release, but it has run its course. Nowadays Plan 9 receives no testing and has no practical usefulness.
2016-06-15os_support: use the appropriate stat functions matching the stat typeHendrik Leppkes
The stat struct is defined to stati64, which requires using the appropriate wstati/stati functions as well. Fixes a whole bunch of compiler warnings as well as build breakage with the decklink avdevice. Fixes trac #5640
2016-06-13lavf/os_support.h: Fix for unicode filenames on windows.Matt Oliver
Fixes #819 #5256 #5281 Signed-off-by: Matt Oliver <protogonoi@gmail.com>
2014-12-20Merge commit '8ebf02f8f530240edf7e45f35f7647ef9dd44a58'Michael Niedermayer
* commit '8ebf02f8f530240edf7e45f35f7647ef9dd44a58': libavformat: Only use MoveFileExA when targeting the desktop API subset Conflicts: configure Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-12-20libavformat: Only use MoveFileExA when targeting the desktop API subsetMartin Storsjö
The MoveFileExA is available in the headers regardless which API subset is targeted, but it is missing in the Windows Phone link libraries. When targeting Windows Store apps, the function is available both in the headers and in the link libraries, and thus there is no indication for the build system that this function should be avoided - such an indication is only given by the Windows App Certification Kit, which forbids using the MoveFileExA function. Therefore check the WINAPI_FAMILY defines instead, to figure out which API subset is targeted. Signed-off-by: Martin Storsjö <martin@martin.st>
2014-11-27Merge commit '79fd186a5035cf16fc0ab288d8f59da8b1ba2c0e'Michael Niedermayer
* commit '79fd186a5035cf16fc0ab288d8f59da8b1ba2c0e': lavf: Use MoveFileEx instead of rename/_wrename on windows Conflicts: configure Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-11-27Merge commit '9326d64ed1baadd7af60df6bbcc59cf1fefede48'Michael Niedermayer
* commit '9326d64ed1baadd7af60df6bbcc59cf1fefede48': Share the utf8 to wchar conversion routine between lavf and lavu Conflicts: libavformat/os_support.h libavutil/file_open.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-11-27lavf: Use MoveFileEx instead of rename/_wrename on windowsMartin Storsjö
This allows getting the normal unix semantics, where a rename allows replacing an existing file. Based on a suggestion by Reimar Döffinger. Signed-off-by: Martin Storsjö <martin@martin.st>
2014-11-27Share the utf8 to wchar conversion routine between lavf and lavuMartin Storsjö
This doesn't add any dependency on library internals, since this only is a static inline function that gets built into each of the calling functions - this is only to reduce the code duplication. Signed-off-by: Martin Storsjö <martin@martin.st>
2014-11-25avformat/os_support: try to fix build when included from a c++ file like ↵Michael Niedermayer
libavdevice/decklink*cpp Found-by: Zeranoe Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-11-25Merge commit '960aff379da46dcaff61504a57714d4d4e758e41'Michael Niedermayer
* commit '960aff379da46dcaff61504a57714d4d4e758e41': lavf: Use wchar functions for filenames on windows for mkdir/rmdir/rename/unlink Conflicts: libavformat/os_support.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-11-25lavf: Use wchar functions for filenames on windows for mkdir/rmdir/rename/unlinkMartin Storsjö
This makes sure that the internal utf8 path names are handled properly - the normal file handling functions assume path names are in the native codepage, which isn't utf8. This assumes that the tools outside of lavf don't use the mkdir definition. (The tools don't do the same reading of command line parameters as wchar either - they probably won't handle all possible unicode file parameters properly, but at least work more predictably if no utf8/wchar conversion is involved.) This is moved further down in os_support.h, since windows.h shouldn't be included before winsock2.h, while io.h needs to be included before the manual defines for lseek functions. Signed-off-by: Martin Storsjö <martin@martin.st>
2014-11-22lavf: Remove a redundant include of sys/stat.hMartin Storsjö
The same file already includes this header a few lines further above. Signed-off-by: Martin Storsjö <martin@martin.st>
2014-10-10avformat/os_support: include unistd.h before defining lseek to lseek64 on ↵Michael Niedermayer
android fixes build failure Found-by: James Almer Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-10-09lavf: fix 2GB file seek limit on AndroidYu Xiaolei
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-08-26Merge commit '4c8bd8ddb049950347a5018fecbca7ee25d48c44'Michael Niedermayer
* commit '4c8bd8ddb049950347a5018fecbca7ee25d48c44': os_support: Adjust an outdated #endif comment Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-08-26os_support: Adjust an outdated #endif commentDiego Biurrun
2014-08-22os_support: Undefine lseek/stat/fstat before defining themDiego Biurrun
This avoids a number of redefinition warnings on MinGW64.
2013-09-21avformat: remove duplicate includesMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-08-09Merge commit 'dfc6b5c81491abf7effb97b23af17ccf7adcd132'Michael Niedermayer
* commit 'dfc6b5c81491abf7effb97b23af17ccf7adcd132': file: Move win32 utf8->wchar open wrapper to libavutil Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-08-08file: Move win32 utf8->wchar open wrapper to libavutilMartin Storsjö
When libavformat was changed to use the new avpriv_open function in 51eb213d001, this silently bypassed the existing wrapper for win32. Move the win32 wrapper into libavutil/file.c to make sure it gets called everywhere (not just in the libavformat case). This makes sure that non-ascii file names gets opened properly (where file names internally are stored as utf8, but they get converted to wchar_t and opened with _wsopen). Signed-off-by: Martin Storsjö <martin@martin.st>
2013-03-27win32: Use 64-bit fstat/lseek variants for MSVC as wellHendrik Leppkes
Signed-off-by: Martin Storsjö <martin@martin.st>
2013-03-12avutil/os_support: use 64-bit fstat/lseek variants for MSVC as wellHendrik Leppkes
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-24Merge commit '0c03cc68386443f1e96ab6fb358220faf67cd5ff'Michael Niedermayer
* 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>
2012-10-23build: Plan 9 supportMans Rullgard
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>
2012-09-13Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: os_support: Choose between direct.h and io.h using a configure check os_support: Include io.h instead of direct.h on mingw32ce x86: ac3dsp: Only refer to the ac3_downmix_sse symbol if it has been declared swscale: Remove two bogus asserts ac3: move ac3_downmix() from dsputil to ac3dsp lavr/audio_mix_matrix: acknowledge the existence of LFE2. mlp_parser: avoid mapping multiple disctinct TrueHD channels to the same Libav channel. lavu/audioconvert: add a second low frequency channel. Conflicts: doc/APIchanges libavcodec/ac3dsp.c libavcodec/ac3dsp.h libavcodec/mlp_parser.c libavutil/audioconvert.c libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-13Merge commit '07584eaf4a95db3f11d3bc411f9786932829e82b'Michael Niedermayer
* commit '07584eaf4a95db3f11d3bc411f9786932829e82b': mpegts: check substreams before discarding Add a smooth streaming segmenter muxer file: Add an avoption for disabling truncating existing files on open img2dec: always close AVIOContexts rtpdec_jpeg: Error out on other unsupported type values as well rtpdec_jpeg: Disallow using the reserved q values rtpdec_jpeg: Fold the default qtables case into an existing if statement rtpdec_jpeg: Store and reuse old qtables for q values 128-254 rtpdec_jpeg: Simplify the calculation of the number of qtables rtpdec_jpeg: Add more comments about the fields in the SOF0 section rtpdec_jpeg: Clarify where the subsampling magic numbers come from rtpdec_jpeg: Don't use a bitstream writer for the EOI marker rtpdec_jpeg: Don't needlessly use a bitstream writer for the header rtpdec_jpeg: Simplify writing of the jpeg header rtpdec_jpeg: Merge two if statements rtpdec_jpeg: Write the DHT section properly Conflicts: libavformat/Makefile libavformat/allformats.c libavformat/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-13os_support: Choose between direct.h and io.h using a configure checkMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-09-13os_support: Include io.h instead of direct.h on mingw32ceMartin Storsjö
Windows CE doesn't have neither mkdir nor _mkdir officially (only CreateDirectoryW), but mingw32ce has compat wrappers with these names (declared in io.h since direct.h is unavailable). Signed-off-by: Martin Storsjö <martin@martin.st>
2012-09-13Add a smooth streaming segmenter muxerMartin Storsjö
This muxer splits the output from the ismv muxer into individual files, in realtime. The same can also be done by the standalone tool ismindex, but this muxer is needed for doing it in realtime (especially for live streams that need extra handling for updating the lookahead fields in the fragment headers). Using this muxer, one can deliver live smooth streaming from a normal static file web server. (Using ismindex, one can deliver premade smooth streaming files from a static file web server, or prepare files for serving with IIS.) Signed-off-by: Martin Storsjö <martin@martin.st>
2012-09-06eliminate some mingw warningsrogerdpack
Signed-off-by: rogerdpack <rogerpack2005@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-07-01Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: dsputilenc_mmx: split assignment of ff_sse16_sse2 to SSE2 section. dnxhdenc: add space between function argument type and comment. x86: fmtconvert: add special asm for float_to_int16_interleave_misc_* attributes: Add a definition of av_always_inline for MSVC cmdutils: Pass the actual chosen encoder to filter_codec_opts os_support: Add fallback definitions for stat flags os_support: Rename the poll fallback function to ff_poll network: Check for struct pollfd os_support: Don't compare a negative number against socket descriptors os_support: Include all the necessary headers for the win32 open function x86: vc1: fix and enable optimised loop filter Conflicts: cmdutils.c cmdutils.h ffmpeg.c ffplay.c libavformat/os_support.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-30os_support: Add fallback definitions for stat flagsRonald S. Bultje
Mingw headers provide similar defines already (unconditional #defines, without any #undef or #ifdef around it), while MSVC doesn't have them. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-30os_support: Rename the poll fallback function to ff_pollMartin Storsjö
The fallback function is a non-static function, we shouldn't be defining non-static functions outside of the proper ff/av prefix namespaces. This is especially important for a function like poll, which other parties (other libraries, or executables linking these libraries) also might provide similar but incompatible fallbacks for. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-30network: Check for struct pollfdMartin Storsjö
We need to include winsock2.h here, to make sure we have the real pollfd struct definition, if one exists, before defining the fallback poll function. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-05-23Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: os_support: Define SHUT_RD, SHUT_WR and SHUT_RDWR on OS/2 http: Add support for reading http POST reply headers http: Add http_shutdown() for ending writing of posts tcp: Allow signalling end of reading/writing avio: Add a function for signalling end of reading/writing lavfi: fix comment, audio is supported now. lavfi: fix incorrect comment. lavfi: remove avfilter_null_* from public API on next bump. lavfi: remove avfilter_default_* from public API on next bump. lavfi: deprecate default config_props() callback and refactor avfilter_config_links() avfiltergraph: smarter sample format selection. avconv: rename transcode_audio/video to decode_audio/video. asyncts: reset delta to 0 when it's not used. x86: lavc: use %if HAVE_AVX guards around AVX functions in yasm code. dwt: return errors from ff_slice_buffer_init() Conflicts: ffmpeg.c libavfilter/avfilter.c libavfilter/avfilter.h libavfilter/formats.c libavfilter/version.h libavfilter/vf_blackframe.c libavfilter/vf_drawtext.c libavfilter/vf_fade.c libavfilter/vf_format.c libavfilter/vf_showinfo.c libavfilter/video.c libavfilter/video.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-05-23os_support: Define SHUT_RD, SHUT_WR and SHUT_RDWR on OS/2Dave Yeo
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-05-23tcp: Allow signalling end of reading/writingSamuel Pitoiset
tcp_shutdown() isn't needed at the moment, but is added for consistency to explain how the function is supposed to be used. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-02-03Remove some warnings when compiling with mingw (mingw-w64, 32 bits)Vincent Torri
Reviewed-by: Ramiro Polla <ramiro.polla@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-11-03Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: (44 commits) replacement Indeo 3 decoder gsm demuxer: do not allocate packet twice. flvenc: use first packet delay as global delay. ac3enc: doxygen update. imc: return error codes instead of 0 for error conditions. imc: return meaningful error codes instead of -1 imc: do not set channel layout for stereo imc: validate channel count imc: check for ff_fft_init() failure imc: check output buffer size before decoding imc: use DSPContext.bswap16_buf() to byte-swap packet data rtsp: add allowed_media_types option libgsm: add flush function to reset the decoder state when seeking libgsm: simplify decoding by using a loop gsm: log error message when packet is too small libgsmdec: do not needlessly set *data_size to 0 gsmdec: do not needlessly set *data_size to 0 gsmdec: add flush function to reset the decoder state when seeking libgsmdec: check output buffer size before decoding gsmdec: log error message when output buffer is too small. ... Conflicts: Changelog ffplay.c libavcodec/indeo3.c libavcodec/mjpeg_parser.c libavcodec/vp3.c libavformat/cutils.c libavformat/id3v2.c libavutil/parseutils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-11-02Remove some stray unnecessary ffmpeg references.Diego Biurrun
2011-04-24Merge remote branch 'qatar/master'Michael Niedermayer
* qatar/master: Handle unicode file names on windows rtp: Rename the open/close functions to alloc/free Lowercase all ff* program names. Refer to ff* tools by their lowercase names. NOT Pulled Replace more FFmpeg instances by Libav or ffmpeg. Replace `` by $() syntax in shell scripts. patcheck: Allow overiding grep program(s) through environment variables. NOT Pulled Remove stray libavcore and _g binary references. vorbis: Rename decoder/encoder files to follow general file naming scheme. aacenc: Fix whitespace after last commit. cook: Fix small typo in av_log_ask_for_sample message. aacenc: Finish 3GPP psymodel analysis for non mid/side cases. Remove RDFT dependency from AAC decoder. Add some debug log messages to AAC extradata Fix mov debug (u)int64_t format strings. bswap: use native types for av_bwap16(). doc: FLV muxing is supported. applehttp: Handle AES-128 encrypted streams Add a protocol handler for AES CBC decryption with PKCS7 padding doc: Mention that DragonFly BSD requires __BSD_VISIBLE set Conflicts: ffplay.c ffprobe.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-04-24Handle unicode file names on windowsKirill Gavrilov
All file names should be in UTF-8 within libavformat. This is handled by mapping the open() function to an internal one in os_support.h for windows. fopen() could be overridden in the same way, but if that would be used from ffmpeg.c, it would add a dependency on an ff prefixed internal lavf function. Signed-off-by: Martin Storsjö <martin@martin.st>