summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
...
| * pam: Fix a typo that broke writing and reading PAM files.Carl Eugen Hoyos2012-01-22
| | | | | | | | | | | | Reported and reviewed by Derek Buitenhuis. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* | CrystalHD: Back up extradata to allow decoder reinit to work.Philip Langdale2012-01-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This was a regression that came in when I switched to using the h.264 annex b filter all the time. As the filter modifies extradata, its use violates the statelessness assumption that exists in the 'ffmpeg' command line tool, and maybe elsewhere. It assumes that a docoder can be reinitalised and pointed to an existing stream and get the same results. For now, the only way to meet this requirement is to backup the extradata. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | CrystalHD: Initialise variables to silence valgrind.Philip Langdale2012-01-22
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | pthread: Change a signal to a broadcast as multiple threadsMichael Niedermayer2012-01-22
| | | | | | | | | | | | have been seen waiting and deadlocking on it in bug125. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mpeg12: fixed parsing in some mpeg2 streamsHendrik Leppkes2012-01-22
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavc: fix FF_LOSS_COLORQUANT detection for gray8a->pal8Michael Niedermayer2012-01-22
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Extract some duplicated code.Reimar Döffinger2012-01-22
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Remove pointless and distracting ()Reimar Döffinger2012-01-22
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Simplify: just add header_size directly.Reimar Döffinger2012-01-22
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Move some duplicated code, simplify.Reimar Döffinger2012-01-22
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Make variable that always has the same value const.Reimar Döffinger2012-01-22
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | RC: Fix initial buffer occupancy.Michael Niedermayer2012-01-22
| | | | | | | | | | | | | | Fixes Ticket880 Regression since bf174a70cde333eba7e27063f9ce44497108f466 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | aacenc: Fix bug in writing libavcodec_ident.Michael Niedermayer2012-01-22
| | | | | | | | | | | | | | the written length was off by 2 causing aac decoders to fail with the data. lucky the encoder was marked as experimental and not used much Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Support decoding gray8a tiff images.Carl Eugen Hoyos2012-01-22
| |
* | pngdec: Do not use SIMD paeth prediction for bpp=2Michael Niedermayer2012-01-22
| | | | | | | | | | | | Fixes decoding of basi4a08.png Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | pngdec: Fix masks for interlaced decodingMichael Niedermayer2012-01-22
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | pngdec: Add some FF_DEBUG based av_logs.Michael Niedermayer2012-01-22
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavc: Mark the err_detect constants as audio+video as they also apply to audio.Michael Niedermayer2012-01-21
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | error_detection: put the old error detection constants back.Michael Niedermayer2012-01-21
| | | | | | | | | | | | | | The old constants are more useful to the end user and have orthogonal meanings to the new ones. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-01-21
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: rtpdec: Use our own SSRC in the SDES field when sending RRs Finalize changelog for 0.8 Release Prepare for 0.8 Release threads: change the default for threads back to 1 threads: update slice_count and slice_offset from user context aviocat: Remove useless includes doc/APIChanges: fill in missing dates and hashes Revert "avserver: fix build after the next bump." mpegaudiodec: switch error detection check to AV_EF_BUFFER lavf: rename fer option and document resulting (f_)err_detect options lavc: rename err_filter option to err_detect and document it mpegvideo: fix invalid memory access for small video dimensions movenc: Reorder entries in the MOVIentry struct, for tigheter packing rtsp: Remove extern declarations for variables that don't exist aviocat: Flush the output before closing Conflicts: Changelog RELEASE libavcodec/mpegaudiodec.c libavcodec/pthread.c libavformat/options.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * threads: change the default for threads back to 1Janne Grunau2012-01-21
| | | | | | | | | | | | Using threaded decoding by default breaks backward compatibility if AVHWAccel is used or if an appliction sets threadunsafe callbacks. Avconv and avplay still use -threads auto if not specified.
| * threads: update slice_count and slice_offset from user contextJanne Grunau2012-01-21
| | | | | | | | | | They are used to signal the number of slices and offsets of each slice out of band to the decoder.
| * mpegaudiodec: switch error detection check to AV_EF_BUFFERDustin Brody2012-01-21
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * lavc: rename err_filter option to err_detect and document itDustin Brody2012-01-21
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * mpegvideo: fix invalid memory access for small video dimensionsJohn Brooks2012-01-21
| | | | | | | | | | | | | | | | | | | | When either video dimension is only one macroblock, subtractions based on v_edge_pos and the macroblock size may be negative. In that situation, an unsigned comparison isn't sufficent to test for MV overruns, because a limit of (unsigned)-1 will let any other value pass. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | ac3dec: Move center&surround mix level tables to parser.Michael Niedermayer2012-01-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | That way all mix levels as exported by the parser will have the same meaning. Previously the 3bit center mix level for eac3 was used to index in a 4 entry table leading to out of array reads. this change removes the table and offsets the ac3 variable by 4 so it matches the meanings for eac3 except the reserved case. The reserved case is then explicitly handled. Idea-by: Justin Ruggles <justin.ruggles@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-01-21
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: Add a tool that uses avio to read and write, doing a plain copy of data ARM: fix build with FFT enabled and MDCT disabled lavf: force single-threaded decoding in avformat_find_stream_info avidec: migrate last of lavf from FF_ER_* to AV_EF_* avserver: fix build after the next bump. Conflicts: libavformat/Makefile libavformat/avidec.c libavformat/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ARM: fix build with FFT enabled and MDCT disabledFelipe Contreras2012-01-20
| | | | | | | | | | Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-01-20
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: mpeg12: check for available bits to avoid an infinite loop fate: add some shorthands to run groups of tests fate: Give some tests more sensible names. cosmetics: Rename ffsink to avsink. Conflicts: avconv.c cmdutils.c cmdutils.h ffmpeg.c ffplay.c tests/fate/audio.mak tests/fate/demux.mak tests/fate/dpcm.mak tests/fate/image.mak tests/fate/lossless-audio.mak tests/fate/lossless-video.mak tests/fate/microsoft.mak tests/fate/pcm.mak tests/fate/real.mak tests/fate/screen.mak tests/fate/video.mak tests/fate/voice.mak tests/fate/wma.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mpeg12: check for available bits to avoid an infinite loopJindřich Makovička2012-01-19
| | | | | | | | | | Signed-off-by: Jindrich Makovicka <makovick@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | Changed indexing in libopenjpeg to shorten linesMichael Bradshaw2012-01-19
| |
* | Support gray8a encoding with libopenjpeg.Carl Eugen Hoyos2012-01-19
| | | | | | | | | | Reviewed-by: Michael Bradshaw Reviewed-by: Paul B Mahol
* | Simplify 32bit png decoding.Carl Eugen Hoyos2012-01-19
| |
* | Support encoding 16bit pixel formats to sgi.Carl Eugen Hoyos2012-01-19
| |
* | Simplify 32bit pam decoding.Carl Eugen Hoyos2012-01-19
| | | | | | | | Reviewed-by: Paul B Mahol
* | Simplify PIX_FMT_RGB555LE selection in targa decoder.Carl Eugen Hoyos2012-01-19
| | | | | | | | Suggested by Jean First.
* | Simplify targa decoding on big endian.Carl Eugen Hoyos2012-01-19
| |
* | DNxHD: frame multithreadingJavier Cabezas2012-01-19
| | | | | | | | | | Signed-off-by: Javier Cabezas <jcabgz@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | wmalossless: Fix incompatoble pointer type warningsMichael Niedermayer2012-01-19
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-01-19
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: avprobe, cmdutils: K&R formatting cosmetics tests: K&R formatting cosmetics for test programs lavf: free packets for muxers implementing interleave_packet(). lavf: fix and extend av_interleaved_write_frame() doxy. mov: Remove dead stores for spherical coordinates for channel position. error_resilience: K&R formatting cosmetics RELEASE_NOTES: mention hiding private symbols in shared builds. RELEASE_NOTES: mention some notable API changes in 0.8 Conflicts: cmdutils.h doc/RELEASE_NOTES ffprobe.c libavcodec/error_resilience.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * error_resilience: K&R formatting cosmeticsDonald Ovcharov2012-01-18
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | Replace a av_fast_malloc with av_fast_padded_malloc.Reimar Döffinger2012-01-18
| | | | | | | | | | | | | | | | This one was missed in the previous fraps fix, the allocation is exactly the same in both cases. Fixes fraps-v5 under valgrind. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Use av_fast_padded_malloc in mimic and truemotion2 decoders.Reimar Döffinger2012-01-18
| | | | | | | | | | | | Fixes use of uninitialized data errors under valgrind. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Use av_fast_padded_malloc in fraps and mpc decoders.Reimar Döffinger2012-01-18
| | | | | | | | | | | | | | Fixes FATE failures due to uninitialized reads under valgrind for these two codecs. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | lavc: call ff_init_buffer_info() from default reget buffer.Michael Niedermayer2012-01-18
| | | | | | | | | | | | | | | | | | | | | | This is needed in case the get_buffer() callback doesnt set width/height. Ideally all decoders would make calls through some wraper to the callbacks and that wraper would call ff_init_buffer_info() But until thats done, the default reget buffer must call this itself as it needs the values for the changed size check later. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavc: when w/h changes in reget buffer, print the values.Michael Niedermayer2012-01-18
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-01-18
|\| | | | | | | | | | | | | | | * qatar/master: tta: cast output data pointer to the correct type avconv: fix -frames for video encoders with delay. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * tta: cast output data pointer to the correct typeJustin Ruggles2012-01-17
| | | | | | | | fixes "warning: assignment from incompatible pointer type"
* | Use ff_packet_free_side_data instead of duplicating it.Reimar Döffinger2012-01-17
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | lavc: remove unused headersPaul B Mahol2012-01-17
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>