summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* truespeech: check for large enough output buffer rather than truncating outputJustin Ruggles2011-10-13
|
* truespeech: remove unneeded zero-size packet check.Justin Ruggles2011-10-13
| | | | This is already checked in avcodec_decode_audio3()
* mlpdec: return meaningful error codes instead of -1Justin Ruggles2011-10-13
|
* mlpdec: remove unnecessary wrapper functionJustin Ruggles2011-10-13
|
* mlpdec: only calculate output size onceJustin Ruggles2011-10-13
|
* mlpdec: validate that the reported channel count matches the actual outputJustin Ruggles2011-10-13
| | | | channel count
* pcm: reduce pointer type castingMans Rullgard2011-10-13
| | | | | | | | | Making 'samples' a pointer to uint8_t simplifies the DECODE macro and reduces the amount of type casting overall. This also fixes some signed overflows on left shift. Signed-off-by: Mans Rullgard <mans@mansr.com>
* mathops: remove undefined behaviour from sign_extend()Mans Rullgard2011-10-13
| | | | | | | | This function intentionally overflows the signed range on the left shift. Using this type-punning avoids errors from the overflow checker without disabling this test globally. Signed-off-by: Mans Rullgard <mans@mansr.com>
* vc1: explicitly zero interlaced mode coding variables for progressive modeKostya Shishkov2011-10-13
| | | | | | | | Both v->fcm and v->field_mode are used in common code, now they won't be reset for progressive frame after interlaced one causing writing past the frame end for example. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* tiffenc: initialize forgotten avctx.Jean First2011-10-12
|
* avplay: free the active audio packet at exit.Justin Ruggles2011-10-12
| | | | fixes a memleak
* avplay: free rdft data used for spectrogram analysis.Justin Ruggles2011-10-12
| | | | fixes a memleak
* log.h: make AVClass a named structJindrich Makovicka2011-10-12
| | | | | | | | 'struct AVClass' is used in the code since 641c7afe3c17334b81e3e2eef88f1751eb68f89f, but AVClass is typedeffed as an anonymous struct. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* fix ac3 encoder documentationJustin Ruggles2011-10-12
| | | | some of the mode values were reversed
* vc1: more prettyprinting cosmeticsKostya Shishkov2011-10-12
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* vc1: prettyprint some tablesKostya Shishkov2011-10-12
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* vc1: K&R formatting cosmeticsKostya Shishkov2011-10-12
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* AVOptions: bump minor and add APIchanges entry.Anton Khirnov2011-10-12
|
* cmdutils/avtools: simplify show_help() by using av_opt_child_class_next()Anton Khirnov2011-10-12
|
* AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_*Anton Khirnov2011-10-12
|
* Remove all uses of deprecated AVOptions API.Anton Khirnov2011-10-12
|
* AVOptions: add av_opt_next, deprecate av_next_option.Anton Khirnov2011-10-12
| | | | Just for naming consistency, no functional changes.
* AVOptions: add functions for evaluating option strings.Anton Khirnov2011-10-12
|
* AVOptions: split get_number().Anton Khirnov2011-10-12
| | | | | Split actual writing to read_number() in the same way as write_number(). Allows set_string_number() to write to a caller-provided destination.
* AVOptions: add av_opt_get*, deprecate av_get*.Anton Khirnov2011-10-12
| | | | | New functions can get values from child objects, properly report error codes and have consistent naming and signatures.
* AVOptions: add av_opt_set*().Anton Khirnov2011-10-12
| | | | | | | Deprecate av_set_* New functions support setting values on children, return error codes instead of options and have consistent naming and signatures.
* AVOptions: add new API for enumerating children.Anton Khirnov2011-10-12
| | | | | | | | | This will allow the caller to enumerate child contexts in a generic way and since the API is recursive, it also allows for deeper nesting (e.g. AVFormatContext->AVIOContext->URLContext) This will also allow the new setting/reading API to transparently apply to children contexts.
* rv34: move inverse transform functions to DSP contextJanne Grunau2011-10-12
|
* flvenc: Write the right metadata entry countMartin Storsjö2011-10-12
| | | | | | | | No application rely on this count being correct as far as I know, but if we write a nonzero count value, it might just as well be the right one. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtsp: Request that dynamic rate is disabledMartin Storsjö2011-10-12
| | | | | | | | | | | | | | | DSS enables this automatically if streaming VOD over TCP. If enabled, the server feeds packets faster than realtime, screwing up RTCP NTP based timestamps. Also, DSS doesn't indicate that this was indicated, if it was enabled automatically (although if it was requested to be enabled, a header saying that it was enabled is added, but this isn't added if it is enabled automatically), making it even harder to detect and work around properly without explicitly asking for it to be disabled(/enabled, if we were able to support it). Signed-off-by: Martin Storsjö <martin@martin.st>
* rtsp: Parse the x-Accept-Dynamic-Rate headerMartin Storsjö2011-10-12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec: Add ff_ prefix to all nonstatic symbolsMartin Storsjö2011-10-12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* h264: change unsupported bit depth message to error levelMans Rullgard2011-10-12
| | | | | | | Unsupported bit depth is certainly an error the user will want to know about. Signed-off-by: Mans Rullgard <mans@mansr.com>
* rtpdec: Read the packet length for all RTCP packet typesJohn Brooks2011-10-12
| | | | | | | | | | | This allows skipping past unsupported RTCP packet types, as RFC 3550 section 6.1 mandates. Currently this only has any practical effect if a sender puts an unrecognized type before RTCP_BYE in a compounded packet, or (incorrectly) does not put RTCP_SR first. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec: Fix the minimum packet length for RTCP SR packetsJohn Brooks2011-10-12
| | | | | | We actually read 20 bytes of these packets. Signed-off-by: Martin Storsjö <martin@martin.st>
* qdm2: fix signed multiplication overflowMans Rullgard2011-10-12
| | | | | | | | This code relies on the result wrapping as for unsigned values, and the sign is not used. Thus an unsigned type is proper here. Signed-off-by: Mans Rullgard <mans@mansr.com>
* flvdec: Don't export metadata entries that aren't proper metadataMartin Storsjö2011-10-12
| | | | | | | | | This avoids writing these entries doubly if transcoding from flv to flv, since the muxer blindly writes any and all metadata keys set, in addition to the fixed fields that the muxer always writes. Signed-off-by: Martin Storsjö <martin@martin.st>
* flvdec: Split out setting of numeric fields from storing metadataMartin Storsjö2011-10-12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libx264: support yuv422/444 output.Anton Khirnov2011-10-12
|
* sws: support yuv444p9/10 output.Anton Khirnov2011-10-12
|
* fix AC3ENC_OPT_MODE_ON/OFFJohn Stebbins2011-10-11
| | | | | | The values were reversed. Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* h264: fix HRD parameters parsingMans Rullgard2011-10-11
| | | | | | | | | | The bit_rate_value_minus1 and cpb_size_value_minus1 elements allow a wider range than get_ue_golomb() supports. This adds a get_ue_golomb_long() function supporting up to 31 leading zeros, which is the maximum for these syntax elements, and uses it in decode_hrd_parameters(). Signed-off-by: Mans Rullgard <mans@mansr.com>
* prores: implement multithreading.Ronald S. Bultje2011-10-11
| | | | | 60% speedup (overall decoding time) at 2 threads, and another 60% speedup at 4 threads.
* prores: idct sse2/sse4 optimizations.Ronald S. Bultje2011-10-11
| | | | ~3.0-3.5x as fast as original C version, 1.6x as fast overall.
* swscale: use aligned move for storage into temporary buffer.Ronald S. Bultje2011-10-11
| | | | The intermediate buffer is always aligned.
* prores: extract idct into its own dspcontext and merge with put_pixels.Ronald S. Bultje2011-10-11
|
* h264: fix invalid shifts in init_cavlc_level_tab()Mans Rullgard2011-10-11
| | | | | | | | The level_code expression includes a shift which is invalid in those cases where the value is not used. Moving the calculation to the branch where the result is used avoids these. Signed-off-by: Mans Rullgard <mans@mansr.com>
* intfloat_readwrite: fix signed addition overflowsMans Rullgard2011-10-11
| | | | | | | | | | These additions might overflow the signed range for large input values. Converting to unsigned before the addition rather than after avoids such undefined behaviour. The result under normal two's complement wraparound remains unchanged. Signed-off-by: Mans Rullgard <mans@mansr.com>
* mov: do not misreport empty sttsLuca Barbato2011-10-11
| | | | | Return -1 instead of ENOMEM if entries is 0. Fixes a av_malloc(0) crash in macosx.
* mov: cosmetics, fix for and if spacingLuca Barbato2011-10-11
|