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
2012-07-04error: define AVERROR_EXTERNAL.Nicolas George
This code is intended for errors in external libraries when no corresponding error code can be found. AVERROR_UNKNOWN is too vague for that and looks like AVERROR_BUG.
2012-07-04error: define AVERROR_BUFFER_TOO_SMALL.Nicolas George
Some API require a buffer and return a specific error if it is too small. This error code helps to map codes.
2012-06-12lavu/error: add av_make_error_string() and av_err2str() convenience utilitiesStefano Sabatini
These functions are modeled after the corresponding utilities in libavutil/timestamp.h.
2012-06-12lavu/error: fix sign error in av_sterror() error codeStefano Sabatini
The value returned by strerror_r may be positive depending on the system, so it is necessary to use AVERROR() in order to get a negative number. This way the successive negative check will not fail, and the function will print a meaningful error message on the buffer.
2012-06-12lavu/error: use a table to store error codes and strings, add testStefano Sabatini
The table is mostly useful to enumerate the available AVERROR* in the test output.
2012-05-09error: Try to make av_strerror() closer to binary identical across platforms.Michael Niedermayer
This should fix the parseutils fate test. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-02-26Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: (34 commits) mlp_parser: fix the channel mask value used for the top surround channel vorbisenc: check all allocations for failure roqaudioenc: return AVERROR codes instead of -1 roqaudioenc: set correct bit rate roqaudioenc: use AVCodecContext.frame_size correctly. roqaudioenc: remove unneeded sample_fmt check ra144enc: use int16_t* for input samples rather than void* ra144enc: set AVCodecContext.coded_frame ra144enc: remove unneeded sample_fmt check nellymoserenc: set AVCodecContext.coded_frame nellymoserenc: improve error checking in encode_init() nellymoserenc: return AVERROR codes instead of -1 libvorbis: improve error checking in oggvorbis_encode_init() mpegaudioenc: return AVERROR codes instead of -1 libfaac: improve error checking and handling in Faac_encode_init() avutil: add AVERROR_UNKNOWN check for coded_frame allocation failure in several audio encoders audio encoders: do not set coded_frame->key_frame. g722enc: check for trellis data allocation error libspeexenc: export encoder delay through AVCodecContext.delay ... Conflicts: doc/APIchanges libavcodec/avcodec.h libavcodec/fraps.c libavcodec/kgv1dec.c libavcodec/libfaac.c libavcodec/libgsm.c libavcodec/libvorbis.c libavcodec/mlp_parser.c libavcodec/roqaudioenc.c libavcodec/vorbisenc.c libavutil/avutil.h libavutil/error.c libavutil/error.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-02-25avutil: add AVERROR_UNKNOWNJustin Ruggles
Useful to return instead of -1 when the cause of the error is unknown, typically from an external library.
2011-12-20Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: h264: clear trailing bits in partially parsed NAL units vc1: Handle WVC1 interlaced stream xl: Fix overreads mpegts: rename payload_index to payload_size segment: introduce segmented chain muxer lavu: add AVERROR_BUG error value avplay: clear pkt_temp when pkt is freed. qcelpdec: K&R formatting cosmetics qcelpdec: cosmetics: drop some pointless parentheses x86: conditionally compile dnxhd encoder optimizations Revert "h264: skip start code search if the size of the nal unit is known" swscale: fix formatting and indentation of unscaled conversion routines. h264: skip start code search if the size of the nal unit is known cljr: fix buf_size sanity check cljr: Check if width and height are positive integers Conflicts: libavcodec/cljr.c libavcodec/vc1dec.c libavformat/Makefile libavformat/mpegtsenc.c libavformat/segment.c libswscale/swscale_unscaled.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-12-19lavu: add AVERROR_BUG error valueLuca Barbato
It should be used to mark codepath that can be reached only through programming error.
2011-12-03lavu/error: define AVERROR_BUG.Nicolas George
Signed-off-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-30error.c: fix compile flagsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-04-22Merge remote branch 'qatar/master'Michael Niedermayer
* qatar/master: APIChanges: document git revision for CODEC_CAP_SLICE_THREADS addition. Introduce slice threads flag. FATE: allow forcing thread-type when doing threaded fate runs. Use av_log_ask_for_sample() where appropriate. error: sort, pack, and align error code and string definitions The stabilization period after version bumps should be one month, not one week. applehttp: Expose the stream bitrate via metadata doc: Add some initial docs on the applehttp demuxer Provide a fallback version of the libm function trunc libavdevice: Define _XOPEN_SOURCE for usleep lavc: provide deprecated avcodec_thread_init until next major version lavc: provide the opt.h header until the next bump error: change AVERROR_EOF value error: remove AVERROR_NUMEXPECTED error: add error code AVERROR_OPTION_NOT_FOUND, and use it in opt.c Conflicts: libavcodec/h264.c libavutil/error.c libavutil/error.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-04-21error: sort, pack, and align error code and string definitionsStefano Sabatini
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2011-04-21error: remove AVERROR_NUMEXPECTEDStefano Sabatini
AVERROR_NUMEXPECTED is used only in the image muxer and demuxer, and has a too much specific meaning, which is better explained through a log message. Thus it can be replaced by AVERROR(EINVAL). This breaks API. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-04-21error: add error code AVERROR_OPTION_NOT_FOUND, and use it in opt.cStefano Sabatini
The new error code is better than AVERROR(ENOENT), which has a completely different semantics ("No such file or directory"). Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-04-1810l, commit that should have been stashed into the merge.Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-04-18Merge remote branch 'qatar/master'Michael Niedermayer
* qatar/master: ac3dec: fix processing of delta bit allocation information. vc1: fix fate-vc1 after previous commit. wmv3dec: fix playback of complex WMV3 files using simple_idct. make av_dup_packet() more cautious on allocation failures make containers pass palette change in AVPacket introduce side information for AVPacket Politic commits that have not been pulled: Update regtest checksums after revision 6001dad. Replace more FFmpeg references by Libav. Replace references to ffmpeg-devel with libav-devel; fix roundup URL. Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-04-17Replace more FFmpeg references by Libav.Diego Biurrun
2011-03-19Replace FFmpeg with Libav in licence headersMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-15Add AVERROR_EXIT.Nicolas George
This is different from AVERROR(EINTR) because calls that fail with EINTR should usually be restarted. Signed-off-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2010-12-19Add AVERROR_*_NOT_FOUND codes.Nicolas George
Originally committed as revision 26056 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-06Make av_strerror() return -1 even in the case when av_strerror_r() isStefano Sabatini
not defined. This allows applications to check if av_strerror() cannot provide a meaningful representation for the provided error code, without having to actually check the filled string. Originally committed as revision 23031 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-04Make av_strerror() print an error message mentioning the error codeStefano Sabatini
number if strerror_r() did not succeed for whatever reason. This avoids the need for the application to fill the string in case strerror_r() fails, for example because the error code is not known. Originally committed as revision 23015 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-28Drop AVERROR_NOTSUPP at the next major bump, use AVERROR(ENOSYS)Stefano Sabatini
instead which is semantically equivalent. See the thread: Subject: [FFmpeg-devel] [RFC] The meaning of AVERROR_NOTSUPP Date: Sat, 27 Mar 2010 00:51:13 +0100 Originally committed as revision 22981 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-26Implement av_strerror().Stefano Sabatini
Originally committed as revision 22684 to svn://svn.ffmpeg.org/ffmpeg/trunk