aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * wmapro: fix strict-aliasing violations by using av_alias32Justin Ruggles2011-10-281-7/+8
| | | | | | | | Also fix some undefined unsigned/signed conversions.
| * wmapro: use FmtConvertContext.float_interleave() to interleave output samplesJustin Ruggles2011-10-281-11/+9
| |
| * wmadec: consolidate 2 output buffer size checks into 1 checkJustin Ruggles2011-10-281-11/+14
| |
| * apedec: assert that s->samples is not negative before trying to decodeJustin Ruggles2011-10-281-0/+5
| |
| * apedec: use FFALIGN macro for internal data buffer sizeJustin Ruggles2011-10-281-1/+1
| |
| * apedec: do not keep incrementing the input data pointer past the end of theJustin Ruggles2011-10-281-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 headerJustin Ruggles2011-10-281-6/+28
| |
| * apedec: use unsigned int for offsetJustin Ruggles2011-10-281-4/+5
| | | | | | | | | | avoids implementation-defined unsigned-to-signed conversion and simplifies the bounds checking.
| * apedec: remove pointless increment of 'buf'Justin Ruggles2011-10-281-1/+0
| | | | | | | | The variable is not used anymore at that point.
| * apedec: set s->currentframeblocks after validating nblocksJustin Ruggles2011-10-281-2/+1
| |
| * apedec: use unsigned int for 'nblocks' and make sure that it's within int rangeJustin Ruggles2011-10-281-4/+4
| |
| * apedec: do not set s->samples until after validation.Justin Ruggles2011-10-281-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 failureJustin Ruggles2011-10-281-1/+4
| |
| * apedec: return meaningful error values in ape_decode_frame()Justin Ruggles2011-10-281-3/+3
| |
| * apedec: correct an error messageJustin Ruggles2011-10-281-3/+1
| |
| * apedec: cosmeticsJustin Ruggles2011-10-281-36/+52
| | | | | | | | break some excessively long lines and remove space after '*'
| * apedec: return meaningful error codes from ape_decode_init()Justin Ruggles2011-10-281-4/+4
| |
| * apedec: check for filter buffer allocation failureJustin Ruggles2011-10-281-13/+18
| |
| * apedec: use memcpy for pseudo-stereo modeJustin Ruggles2011-10-281-5/+1
| |
| * apedec: remove unneeded check for zero-size packet.Justin Ruggles2011-10-281-5/+0
| | | | | | | | This is already checked by avcodec_decode_audio3().
| * lavf: move private fields in AVStream to the end at next bump.Anton Khirnov2011-10-281-0/+61
| |
| * lavf: move private fields in AVFormatContext to the end at next bump.Anton Khirnov2011-10-282-0/+48
| |
| * lavf: make some seeking functions privateAnton Khirnov2011-10-2810-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 0Justin Ruggles2011-10-271-1/+0
| |
| * mp3adu: return error instead of just consuming bad packetsJustin Ruggles2011-10-271-4/+4
| |
| * mpegaudiodec: check output data size based on avctx->frame_sizeJustin Ruggles2011-10-271-1/+4
| |
| * avcodec: remove avcodec_parse_frame and deprecate associated elements.Justin Ruggles2011-10-275-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-printingJustin Ruggles2011-10-271-435/+430
| |
| * mpegaudiodec: remove frame_count field from MPADecodeContext.Justin Ruggles2011-10-271-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 -1Justin Ruggles2011-10-271-10/+10
| |
| * mpegaudiodec: Skip only bad frames instead of the whole packet.Justin Ruggles2011-10-271-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 Khirnov2011-10-281-0/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Fix dca decoding for many samples after last commit.Carl Eugen Hoyos2011-10-281-2/+3
| | | | | | | | Still be less verbose about channel count change from 0 channels.
* | Be less verbose about dca channel number changes.Carl Eugen Hoyos2011-10-281-1/+1
| | | | | | | | | | Only inform the user that the number of channels changed if it was set before.
* | Remove unused dca context variable.Carl Eugen Hoyos2011-10-281-1/+0
| |
* | Fix a regression in the dca parser introduced by dts express support.Hendrik Leppkes2011-10-281-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 expressHendrik Leppkes2011-10-281-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 Leppkes2011-10-281-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 Niedermayer2011-10-283-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 Khirnov2011-10-273-18/+0
| |
| * iv8: assemble packets to return complete framesJanne Grunau2011-10-271-24/+47
| |
| * pulse: documentationLuca Barbato2011-10-261-0/+83
| | | | | | | | | | | | Specify avoptions and how to use pactl to list devices. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
| * pulse: introduce pulseaudio inputLuca Barbato2011-10-266-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 testJustin Ruggles2011-10-261-53/+0
| | | | | | | | this was forgotten when the encoder was removed
* | rawdec: add check on sample_rateStefano Sabatini2011-10-281-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 Sabatini2011-10-282-11/+18
| |
* | Implement parsing of the "HandlerName" from th MP4 HDLR atom.Hendrik Leppkes2011-10-281-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 Nakamura2011-10-282-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 Niedermayer2011-10-281-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 Niedermayer2011-10-281-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>