aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | mjpegb: Detect changing nb of planes in interlaced video.Michael Niedermayer2012-03-101-0/+6
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | indeo3: Fix out of reference reading with NULL blocks.Michael Niedermayer2012-03-101-0/+12
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | snowenc: add no_bitstream option.Reimar Döffinger2012-03-102-0/+3
| | | | | | | | | | | | | | | | | | This allows making e.g. MPlayer's -vf uspp filter about 20% faster. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | | snowenc: mark some encode_subband arguments const.Reimar Döffinger2012-03-101-2/+2
| | | | | | | | | | | | | | | | | | | | | This makes it more obvious that this function only does bitstream encoding. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | | mpjpeg: video streaming will no longer break and stop on FirefoxZalewa PL2012-03-101-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mpjpeg video streamings would break and stop on Firefox after 1 - 30 seconds. In order to fix this, two changes were made: 1. Replaced all occurrences of '\n' character in mjpeg metadata with occurences of "\r\n". 2. Added "Content-length: <packet-size>" metadata entry for each sent frame. The change has been tested on Google Chrome 17.0.963.78 and Firefox 10.0.2 on lubuntu 11.10 and the streaming seems to work fine now.
* | | mxf: Add DNxHD ULTomas Härdin2012-03-101-0/+1
| | | | | | | | | | | | | | | | | | | | | Note that the old DNxHD UL is actually JPEG 2000 according to RP224. Leaving it as-is for now. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | vf_frei0r: set outlinks sample aspect ratio to 1Baptiste Coudurier2012-03-101-0/+1
| | |
* | | DV: Use profile[1] detection hack only for stype 0.Reimar Döffinger2012-03-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The two samples both have stype 0. Without this extra check, the code breaks 4:2:2 dvsd (stype 4), since that has the same resolution. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | | DV demuxer: Stricter check for avio_read result.Reimar Döffinger2012-03-101-1/+1
| | | | | | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | | cook: tighten the quant_index_table range further.Michael Niedermayer2012-03-101-1/+1
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-03-1011-50/+54
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: Fix a bunch of common typos. build: Skip compiling xvmc.h under the correct condition. configure: darwin: Change dylib install names to include major version. mpegts: Always honor a registration descriptor if present and there is no other codec information. aacdec: Fix SCE parity check. aacdec: Fix out of array writes (stack). rtsp: Only set the ttl parameter if the server actually gave a value udp: Set ttl for read-write streams, too, not only for write-only ones udp: Only bind to the multicast address if in read-only mode udp: Clarify the comment about binding the multicast address udp: Reorder comments Conflicts: libavcodec/aacdec.c tools/patcheck Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | Fix a bunch of common typos.Diego Biurrun2012-03-095-37/+37
| | |
| * | build: Skip compiling xvmc.h under the correct condition.Diego Biurrun2012-03-091-1/+1
| | |
| * | configure: darwin: Change dylib install names to include major version.Gil Pedersen2012-03-091-1/+1
| | | | | | | | | | | | | | | | | | | | | This will cause linkers to link against the major lib names, instead of the base names, allowing multiple major versions of the libraries to co-exist. Signed-off-by: Diego Biurrun <diego@biurrun.de>
| * | mpegts: Always honor a registration descriptor if present and there is no ↵Alex Converse2012-03-091-2/+1
| | | | | | | | | | | | other codec information.
| * | aacdec: Fix SCE parity check.Michael Niedermayer2012-03-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | An unpaired SCE preceding a CPE only makes sense for front SCEs preceding the first CPE. Split from FFmpeg commit a8d67efa53dae1d14614e3a7bd4e77e4eab066ab Signed-off-by: Alex Converse <alex.converse@gmail.com>
| * | aacdec: Fix out of array writes (stack).Michael Niedermayer2012-03-091-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set the element to channel vector (e2c_vec) size to be the maximum number of aac channel elements. This makes it slightly larger than it needs to be because CCEs are never mapped to output channel locations. Also add a check that all input tags (legal or not) will fit. Split from FFmpeg commit a8d67efa53dae1d14614e3a7bd4e77e4eab066ab Signed-off-by: Alex Converse <alex.converse@gmail.com>
| * | rtsp: Only set the ttl parameter if the server actually gave a valueMartin Storsjö2012-03-091-2/+4
| | | | | | | | | | | | | | | | | | | | | Passing ttl=0 to the rtp/udp url contexts makes packets never leave the host machine. Signed-off-by: Martin Storsjö <martin@martin.st>
| * | udp: Set ttl for read-write streams, too, not only for write-only onesMartin Storsjö2012-03-091-2/+3
| | | | | | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * | udp: Only bind to the multicast address if in read-only modeMartin Storsjö2012-03-091-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes sending back RTCP RR packets if receiving RTP over multicast. If the multicast stream is sent on demand (set up and signalled via RTSP), the sender might depend on getting RTCP RR packets knowing that there are listeners, otherwise the stream can be closed after a certain timeout. This fixes receiving RTSP streams over multicast on unix, from certain Axis cameras. Signed-off-by: Martin Storsjö <martin@martin.st>
| * | udp: Clarify the comment about binding the multicast addressMartin Storsjö2012-03-091-1/+3
| | | | | | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * | udp: Reorder commentsMartin Storsjö2012-03-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | When this code was added in 36b532815cb83, the new code was added between the existing comment and the existing line of code, making the old comment seem to refer to the new code. This makes it read correctly. Signed-off-by: Martin Storsjö <martin@martin.st>
* | | snow: reject unsupported chroma shifts.Michael Niedermayer2012-03-101-0/+5
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | lavfi: remove swapuv libmpcodecs wrapperStefano Sabatini2012-03-105-111/+1
| | | | | | | | | | | | The filter has been ported to a native libavfilter filter.
* | | lavfi: port MP swapuv filterStefano Sabatini2012-03-106-1/+100
| | |
* | | imgconvert: add macro pixdesc_has_alpha for checking if a pixel format has ↵Stefano Sabatini2012-03-101-15/+5
| | | | | | | | | | | | | | | | | | an alpha component Reduce redundancy and simplify.
* | | mpegvideo_probe: Fix misdetection of mpeg4video files.Michael Niedermayer2012-03-091-2/+4
| | | | | | | | | | | | | | | | | | (issue1210) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | lavf: Add system to seperate relative timestamps from absolute ones.Michael Niedermayer2012-03-094-19/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | With this we can always know if a timestamp is based on added durations from an unknown origin or if it is based on a correct timestamp (and possibly added durations) This should fix some bugs where this distinction was mixed up. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | Cosmetics: Remove superfluous newline.Carl Eugen Hoyos2012-03-091-1/+1
| | |
* | | Fix 32bit sunrast decoding.Carl Eugen Hoyos2012-03-091-1/+1
| | | | | | | | | | | | | | | This patch visually breaks the sample from ticket #895, but decodes it identically as Gimp, ImageMagick and xview.
* | | iff: add support for IFF DEEPPiotr Bandurski2012-03-092-2/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes trac #1045. Thanks to Peter Ross for his help with this patch. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | svq1dec: use AV_LOG_ERROR for error messagePiotr Bandurski2012-03-091-1/+1
| | | | | | | | | | | | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-03-099-52/+52
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: ttadec: unbreak playback of matroska files vorbisdec: avoid invalid memory access Fix uninitialized reads on malformed ogg files. huffyuv: add padding to classic (v1) huffman tables. png: convert to bytestream2 API. dca: include libavutil/mathematics.h for possibly missing M_SQRT1_2 avs: fix infinite loop on end-of-stream. tiffdec: Prevent illegal memory access caused by recycled pointers. rtpenc: Fix the AVRational used for av_rescale_q_rnd wma: fix off-by-one in array bounds check. Conflicts: libavcodec/huffyuv.c libavcodec/pngdec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | ttadec: unbreak playback of matroska filesPaul B Mahol2012-03-081-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | Matroska demuxer needs to recreate tta header, so just display crc error without aborting. Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * | vorbisdec: avoid invalid memory accessAaron Colwell2012-03-081-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes some invalid memory access caused later in the function by res_chan[] not being set for all channels. This happens when a channel doesn't appear a submap. This change simply returns a decoder error when this situation is detected. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * | Fix uninitialized reads on malformed ogg files.Dale Curtis2012-03-081-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ogg decoder wasn't padding the input buffer with the appropriate FF_INPUT_BUFFER_PADDING_SIZE bytes. Which led to uninitialized reads in various pieces of parsing code when they thought they had more data than they actually did. Signed-off-by: Dale Curtis <dalecurtis@chromium.org> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * | huffyuv: add padding to classic (v1) huffman tables.Ronald S. Bultje2012-03-081-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We slightly overread the input buffer, so we require padding at the end of the buffer, as is documented in the get_bits API. Without padding, we'll read uninitialized data or beyond the end of the .rodata, which may crash. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * | png: convert to bytestream2 API.Ronald S. Bultje2012-03-081-39/+30
| | | | | | | | | | | | | | | | | | | | | Protects against overreads in the input buffer. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * | dca: include libavutil/mathematics.h for possibly missing M_SQRT1_2Kostya Shishkov2012-03-081-0/+1
| | |
| * | avs: fix infinite loop on end-of-stream.Ronald S. Bultje2012-03-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | The codec would keep returning the last decoded frame if the stream contains B-frames, since it wouldn't clear that frame from the list of frames to be returned to the user. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * | tiffdec: Prevent illegal memory access caused by recycled pointers.Alex Converse2012-03-071-0/+2
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * | rtpenc: Fix the AVRational used for av_rescale_q_rndMartin Storsjö2012-03-081-1/+1
| | | | | | | | | | | | | | | | | | | | | The current one has a zero denominator - this is what was intended in 14aecc50fae6. Signed-off-by: Martin Storsjö <martin@martin.st>
| * | wma: fix off-by-one in array bounds check.Ronald S. Bultje2012-03-071-1/+1
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* | | qpeg: remove unused var from decode_frame()Michael Niedermayer2012-03-081-1/+1
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | prores_anatoliy: remove unused variable from prores_encode_frame()Michael Niedermayer2012-03-081-1/+0
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | configure: enable libutvideo is gpl warningLou Logan2012-03-081-2/+3
| | | | | | | | | | | | | | | | | | This will warn the user when --enable-gpl is missing. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | oggparseogm: Fix order or arguments.Michael Niedermayer2012-03-081-1/+1
| | | | | | | | | | | | | | | | | | Bug introduced by libav in 1bb3990b560e7ff7f46c06c14f959fe432e0b625 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | mov: Discard invalid CTTS.Michael Niedermayer2012-03-081-0/+8
| | | | | | | | | | | | | | | | | | Fixes Ticket385 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | lavc/utils: fix three const warnings.Nicolas George2012-03-081-3/+3
| | | | | | | | | | | | No change in assembly code produced on x86_64.
* | | ffplay: fix two const warnings.Nicolas George2012-03-081-2/+2
| | | | | | | | | | | | No change in assembly code produced on x86_64.