Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | wmapro: fix strict-aliasing violations by using av_alias32 | Justin Ruggles | 2011-10-28 | 1 | -7/+8 | |
| | | | | | | | | Also fix some undefined unsigned/signed conversions. | |||||
| * | wmapro: use FmtConvertContext.float_interleave() to interleave output samples | Justin Ruggles | 2011-10-28 | 1 | -11/+9 | |
| | | ||||||
| * | wmadec: consolidate 2 output buffer size checks into 1 check | Justin Ruggles | 2011-10-28 | 1 | -11/+14 | |
| | | ||||||
| * | apedec: assert that s->samples is not negative before trying to decode | Justin Ruggles | 2011-10-28 | 1 | -0/+5 | |
| | | ||||||
| * | apedec: use FFALIGN macro for internal data buffer size | Justin Ruggles | 2011-10-28 | 1 | -1/+1 | |
| | | ||||||
| * | apedec: do not keep incrementing the input data pointer past the end of the | Justin Ruggles | 2011-10-28 | 1 | -3/+6 | |
| | | | | | | | | | | | | | | | | buffer during entropy decoding. The pointer address could overflow, which would likely segfault. Instead set the context error flag to indicate that the decoder tried to read past the end of the packet data. | |||||
| * | apedec: check for input buffer overflow while reading frame header | Justin Ruggles | 2011-10-28 | 1 | -6/+28 | |
| | | ||||||
| * | apedec: use unsigned int for offset | Justin Ruggles | 2011-10-28 | 1 | -4/+5 | |
| | | | | | | | | | | avoids implementation-defined unsigned-to-signed conversion and simplifies the bounds checking. | |||||
| * | apedec: remove pointless increment of 'buf' | Justin Ruggles | 2011-10-28 | 1 | -1/+0 | |
| | | | | | | | | The variable is not used anymore at that point. | |||||
| * | apedec: set s->currentframeblocks after validating nblocks | Justin Ruggles | 2011-10-28 | 1 | -2/+1 | |
| | | ||||||
| * | apedec: use unsigned int for 'nblocks' and make sure that it's within int range | Justin Ruggles | 2011-10-28 | 1 | -4/+4 | |
| | | ||||||
| * | apedec: do not set s->samples until after validation. | Justin Ruggles | 2011-10-28 | 1 | -2/+3 | |
| | | | | | | | | | | This prevents errors and/or invalid writes in the next decode call due to s->samples still being negative. | |||||
| * | apedec: check for data buffer realloc failure | Justin Ruggles | 2011-10-28 | 1 | -1/+4 | |
| | | ||||||
| * | apedec: return meaningful error values in ape_decode_frame() | Justin Ruggles | 2011-10-28 | 1 | -3/+3 | |
| | | ||||||
| * | apedec: correct an error message | Justin Ruggles | 2011-10-28 | 1 | -3/+1 | |
| | | ||||||
| * | apedec: cosmetics | Justin Ruggles | 2011-10-28 | 1 | -36/+52 | |
| | | | | | | | | break some excessively long lines and remove space after '*' | |||||
| * | apedec: return meaningful error codes from ape_decode_init() | Justin Ruggles | 2011-10-28 | 1 | -4/+4 | |
| | | ||||||
| * | apedec: check for filter buffer allocation failure | Justin Ruggles | 2011-10-28 | 1 | -13/+18 | |
| | | ||||||
| * | apedec: use memcpy for pseudo-stereo mode | Justin Ruggles | 2011-10-28 | 1 | -5/+1 | |
| | | ||||||
| * | apedec: remove unneeded check for zero-size packet. | Justin Ruggles | 2011-10-28 | 1 | -5/+0 | |
| | | | | | | | | This is already checked by avcodec_decode_audio3(). | |||||
| * | lavf: move private fields in AVStream to the end at next bump. | Anton Khirnov | 2011-10-28 | 1 | -0/+61 | |
| | | ||||||
| * | lavf: move private fields in AVFormatContext to the end at next bump. | Anton Khirnov | 2011-10-28 | 2 | -0/+48 | |
| | | ||||||
| * | lavf: make some seeking functions private | Anton Khirnov | 2011-10-28 | 10 | -42/+91 | |
| | | | | | | | | | | | | | | Specifically av_update_cur_dts(), av_seek_frame_binary() and av_gen_search(). They are not supposed to be called outside lavf. | |||||
| * | mp3on4: do not needlessly set data_size to 0 | Justin Ruggles | 2011-10-27 | 1 | -1/+0 | |
| | | ||||||
| * | mp3adu: return error instead of just consuming bad packets | Justin Ruggles | 2011-10-27 | 1 | -4/+4 | |
| | | ||||||
| * | mpegaudiodec: check output data size based on avctx->frame_size | Justin Ruggles | 2011-10-27 | 1 | -1/+4 | |
| | | ||||||
| * | avcodec: remove avcodec_parse_frame and deprecate associated elements. | Justin Ruggles | 2011-10-27 | 5 | -9/+42 | |
| | | | | | | | | | | | | The documentation for CODEC_CAP_PARSE_ONLY and AVCodecContext.parse_only indicates that they are utilized through avcodec_parse_frame(), which was never actually implemented. | |||||
| * | mpegaudiodec: cosmetics: basic pretty-printing | Justin Ruggles | 2011-10-27 | 1 | -435/+430 | |
| | | ||||||
| * | mpegaudiodec: remove frame_count field from MPADecodeContext. | Justin Ruggles | 2011-10-27 | 1 | -4/+0 | |
| | | | | | | | | | | | | Its functionality was removed several years ago, so it doesn't do anything. AVCodecContext.frame_number could serve the same purpose if someone wants to debug the frame count. | |||||
| * | mpegaudiodec: return AVERROR return codes instead of -1 | Justin Ruggles | 2011-10-27 | 1 | -10/+10 | |
| | | ||||||
| * | mpegaudiodec: Skip only bad frames instead of the whole packet. | Justin Ruggles | 2011-10-27 | 1 | -2/+9 | |
| | | | | | | | | | | | | On frame decoding failure, return an error if the frame is the same size as the whole packet, otherwise just log an error message and return the number of bytes consumed. | |||||
* | | lavf: add init_put_byte() to the list of visible symbols. | Anton Khirnov | 2011-10-28 | 1 | -0/+1 | |
| | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | |||||
* | | Fix dca decoding for many samples after last commit. | Carl Eugen Hoyos | 2011-10-28 | 1 | -2/+3 | |
| | | | | | | | | Still be less verbose about channel count change from 0 channels. | |||||
* | | Be less verbose about dca channel number changes. | Carl Eugen Hoyos | 2011-10-28 | 1 | -1/+1 | |
| | | | | | | | | | | Only inform the user that the number of channels changed if it was set before. | |||||
* | | Remove unused dca context variable. | Carl Eugen Hoyos | 2011-10-28 | 1 | -1/+0 | |
| | | ||||||
* | | Fix a regression in the dca parser introduced by dts express support. | Hendrik Leppkes | 2011-10-28 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | | | | | | The dca parser needs to check that the framesize is actually of a complete frame, and not of a partial DTS-HD frame, which is not constant size, and thus the check would fail. (cherry picked from commit ebc0ccb9af59b78732e82c09f8c90b1d46b478e0) Review-by: Benjamin Larsson Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | |||||
* | | dca_parser: Add support for parsing dts express | Hendrik Leppkes | 2011-10-28 | 1 | -6/+3 | |
| | | | | | | | | | | | | | | (cherry picked from commit ea36f60493f675db531dc2dbef04fb60fbc21a6a) Review-by: Benjamin Larsson Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | |||||
* | | dca: allow the channel count to change. | Hendrik Leppkes | 2011-10-28 | 1 | -13/+2 | |
| | | | | | | | | | | | | | | (cherry picked from commit 42e78d2296752293cd08c5727f76c3b37c68fb24) Review-by: Benjamin Larsson Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | |||||
* | | Merge remote-tracking branch 'qatar/master' | Michael Niedermayer | 2011-10-28 | 3 | -47/+144 | |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: lavc: remove "legacy" mpegvideo decoder. iv8: assemble packets to return complete frames pulse: documentation pulse: introduce pulseaudio input remove the zork pcm seek test Conflicts: configure libavdevice/Makefile libavdevice/alldevices.c libavdevice/avdevice.h libavdevice/pulse.c Merged-by: Michael Niedermayer <michaelni@gmx.at> | |||||
| * | lavc: remove "legacy" mpegvideo decoder. | Anton Khirnov | 2011-10-27 | 3 | -18/+0 | |
| | | ||||||
| * | iv8: assemble packets to return complete frames | Janne Grunau | 2011-10-27 | 1 | -24/+47 | |
| | | ||||||
| * | pulse: documentation | Luca Barbato | 2011-10-26 | 1 | -0/+83 | |
| | | | | | | | | | | | | Specify avoptions and how to use pactl to list devices. Signed-off-by: Luca Barbato <lu_zero@gentoo.org> | |||||
| * | pulse: introduce pulseaudio input | Luca Barbato | 2011-10-26 | 6 | -1/+198 | |
| | | | | | | | | | | | | | | It currently use the simple api and is using the latency information provided only to offset the stream start. Signed-off-by: Luca Barbato <lu_zero@gentoo.org> | |||||
| * | remove the zork pcm seek test | Justin Ruggles | 2011-10-26 | 1 | -53/+0 | |
| | | | | | | | | this was forgotten when the encoder was removed | |||||
* | | rawdec: add check on sample_rate | Stefano Sabatini | 2011-10-28 | 1 | -0/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | Prevent error condition in case sample_rate is unset or set to a negative value. In particular, fix divide-by-zero error occurring in ffmpeg due to sample_rate set to 0 in output_packet(), in code: ist->next_pts += ((int64_t)AV_TIME_BASE * ist->st->codec->frame_size) / ist->st->codec->sample_rate; Fix trac ticket #324. | |||||
* | | lavfi: add internal function ff_fill_rgba_map() | Stefano Sabatini | 2011-10-28 | 2 | -11/+18 | |
| | | ||||||
* | | Implement parsing of the "HandlerName" from th MP4 HDLR atom. | Hendrik Leppkes | 2011-10-28 | 1 | -0/+13 | |
| | | | | | | | | | | | | | | | | This atom typically is used for a track title. (cherry picked from commit a356137816b4ea20a892d1fb203b11dbfedbc543) Reviewed-by: Baptiste Coudurier Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | |||||
* | | mov: Support empty first edit + normal second edit. | Yusuke Nakamura | 2011-10-28 | 2 | -8/+13 | |
| | | | | | | | | | | | | | | (cherry picked from commit df342c91e6cfceb2537c2d1b2442dd685381a0ca) Reviewed-by: Baptiste Coudurier Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | |||||
* | | lavc: Map deprecated codec ids to ours so as to maintain compatibility with ↵ | Michael Niedermayer | 2011-10-28 | 1 | -0/+12 | |
| | | | | | | | | | | | | the fork. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | |||||
* | | avcodec: Change values of codec ids at the end of lists that dont exist ↵ | Michael Niedermayer | 2011-10-28 | 1 | -8/+11 | |
| | | | | | | | | | | | | | | | | | | outside ffmpeg yet so they wont conflict when they get added to the fork with randomly changed order and values. Also add duplicate codec_ids to allow maintaining compatibility. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> |