aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | rtsp: Use a random offset for trying to open UDP ports for RTPDmitry Volyntsev2012-01-221-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids (for all practical cases) the issue of reusing the same UDP port as for an earlier connection. If the remote doesn't know the previous session was closed, he might keep on sending packets to that port. If we always start off trying to open the same UDP port, we might get those packets intermixed with the new ones. This is occasionally an issue when testing RTSP stuff with DSS, perhaps also with other servers. Signed-off-by: Martin Storsjö <martin@martin.st>
| * | rtsp: Allow specifying the UDP port range via AVOptionsMartin Storsjö2012-01-222-2/+16
| | | | | | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * | rtsp: Remove a leftover, currently pointless checkDmitry Volyntsev2012-01-221-10/+8
| | | | | | | | | | | | | | | | | | | | | | | | This check isn't relevant in the way the code currently works. Also change a case of if (x == 0) into if (!x). Signed-off-by: Martin Storsjö <martin@martin.st>
* | | CrystalHD: Back up extradata to allow decoder reinit to work.Philip Langdale2012-01-221-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-221-2/+2
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | Revert "movenc: simplify handling of pcm vs. adpcm vs. other compressed codecs"Michael Niedermayer2012-01-226-28/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 8e8c51318c1fe4ae61de578f0823b88aa3fe8222. Fixes Ticket873 Conflicts: tests/ref/acodec/pcm_s16be tests/ref/acodec/pcm_s24be tests/ref/acodec/pcm_s32be tests/ref/acodec/pcm_s8 tests/ref/lavf/mov Approved-by: Baptiste Coudurier <baptiste.coudurier@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | build: Describe --nm and -ld options consistentlyAlexander Strasser2012-01-221-2/+2
| | | | | | | | | | | | | | | Signed-off-by: Alexander Strasser <eclipse7@gmx.net> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | pthread: Change a signal to a broadcast as multiple threadsMichael Niedermayer2012-01-221-1/+1
| | | | | | | | | | | | | | | | | | have been seen waiting and deadlocking on it in bug125. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | base64: 10l endian fix.Michael Niedermayer2012-01-221-1/+1
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | avfilter: add some asserts() to check refcounts.Michael Niedermayer2012-01-221-0/+2
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | build: Support selecting yasm-compatible assemblerAlexander Strasser2012-01-221-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | Makes it possible to select the name/path of the tool for compiling the non-inline assembly code. Signed-off-by: Alexander Strasser <eclipse7@gmx.net> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | sws: Fix unscaled >8bit planar chroma handling.Michael Niedermayer2012-01-221-4/+21
| | | | | | | | | | | | | | | | | | Fixes Ticket840 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | mpeg12: fixed parsing in some mpeg2 streamsHendrik Leppkes2012-01-221-0/+1
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | lavc: fix FF_LOSS_COLORQUANT detection for gray8a->pal8Michael Niedermayer2012-01-221-1/+2
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | Extract some duplicated code.Reimar Döffinger2012-01-221-22/+14
| | | | | | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | | Remove pointless and distracting ()Reimar Döffinger2012-01-221-13/+13
| | | | | | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | | Simplify: just add header_size directly.Reimar Döffinger2012-01-221-3/+1
| | | | | | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | | Move some duplicated code, simplify.Reimar Döffinger2012-01-221-28/+15
| | | | | | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | | Make variable that always has the same value const.Reimar Döffinger2012-01-221-3/+2
| | | | | | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | | Optimized base64 decode by writing 3 bytes at once.Reimar Döffinger2012-01-221-13/+23
| | | | | | | | | | | | | | | | | | | | | | | | About 25% faster. decode: 248852 -> 200385 decicycles (syntax check unchanged) Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | | Cosmetics: add do {} while 0 to macro.Reimar Döffinger2012-01-221-12/+13
| | | | | | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | | sws: In case of an invalid scaler algorithm, show the invalid value.Michael Niedermayer2012-01-221-1/+1
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | avidec: fix "avidec.c:362: warning: st may be used uninitialized in this ↵Michael Niedermayer2012-01-221-0/+1
| | | | | | | | | | | | | | | | | | function" Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | RC: Fix initial buffer occupancy.Michael Niedermayer2012-01-221-0/+2
| | | | | | | | | | | | | | | | | | | | | Fixes Ticket880 Regression since bf174a70cde333eba7e27063f9ce44497108f466 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | mpegpsmux: Fix integer overflow with huge VBV sizes.Michael Niedermayer2012-01-221-1/+1
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | aacenc: Fix bug in writing libavcodec_ident.Michael Niedermayer2012-01-221-1/+1
| | | | | | | | | | | | | | | | | | | | | 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-221-0/+3
| | |
* | | img2: add j2c file extensionJean First2012-01-221-1/+2
| | | | | | | | | | | | | | | | | | | | | Some applications use the j2c extension for jpeg2000 codestream files. Signed-off-by: Jean First <jeanfirst@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | pixdesc: cosmeticsJean First2012-01-221-42/+42
| | | | | | | | | | | | | | | Signed-off-by: Jean First <jeanfirst@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | pngdec: Do not use SIMD paeth prediction for bpp=2Michael Niedermayer2012-01-221-1/+1
| | | | | | | | | | | | | | | | | | Fixes decoding of basi4a08.png Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | pngdec: Fix masks for interlaced decodingMichael Niedermayer2012-01-222-2/+2
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | pngdec: Add some FF_DEBUG based av_logs.Michael Niedermayer2012-01-221-2/+4
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | sws: fix copy case detection with gray8a.Michael Niedermayer2012-01-221-3/+4
| | | | | | | | | | | | | | | | | | Fixes gray_alpha.png 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-211-7/+7
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | error_detection: put the old error detection constants back.Michael Niedermayer2012-01-212-0/+6
| | | | | | | | | | | | | | | | | | | | | 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>
* | | git show 2473a45c85dce6872617b33fce396dbbd6347e8e avconv.c | patch ffmpeg.cMichael Niedermayer2012-01-211-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit: commit 2473a45c85dce6872617b33fce396dbbd6347e8e Author: Janne Grunau <janne-libav@jannau.net> Date: Wed Jan 18 10:53:41 2012 +0100 threads: change the default for threads back to 1 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. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-01-2115-63/+83
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
| * | rtpdec: Use our own SSRC in the SDES field when sending RRsMartin Storsjö2012-01-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The s->ssrc field is the sender's SSRC, we use ssrc + 1 to get a collision free "unique" SSRC for ourselves in the RR part. The SDES block in the RTCP packet should describe ourselves, not the sender. This was fixed for the RR part in 952139a3226b, but wasn't fixed for the SDES part until now. This could cause some Axis cameras to send RTCP BYE packets to us due to the SSRC collision. Signed-off-by: Martin Storsjö <martin@martin.st>
| * | Finalize changelog for 0.8 ReleaseReinhard Tartler2012-01-211-1/+1
| | |
| * | Prepare for 0.8 ReleaseReinhard Tartler2012-01-211-1/+1
| | |
| * | threads: change the default for threads back to 1Janne Grunau2012-01-213-1/+7
| | | | | | | | | | | | | | | | | | 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-211-3/+21
| | | | | | | | | | | | | | | They are used to signal the number of slices and offsets of each slice out of band to the decoder.
| * | aviocat: Remove useless includesMartin Storsjö2012-01-211-5/+1
| | | | | | | | | | | | | | | | | | | | | Also include stdlib.h explicitly - currently it is used implicitly via avformat.h. Signed-off-by: Martin Storsjö <martin@martin.st>
| * | doc/APIChanges: fill in missing dates and hashesAnton Khirnov2012-01-211-5/+5
| | |
| * | Revert "avserver: fix build after the next bump."Anton Khirnov2012-01-211-12/+10
| | | | | | | | | | | | | | | | | | | | | This temporarily (until 0.8 is released) reverts commit 8e1340abc316e038bb89e5a3b46e92ff58c98a88. That commit breaks shared builds because of symbol hiding. Reverting it will enable shared builds for 0.8
| * | mpegaudiodec: switch error detection check to AV_EF_BUFFERDustin Brody2012-01-211-1/+1
| | | | | | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * | lavf: rename fer option and document resulting (f_)err_detect optionsDustin Brody2012-01-211-3/+8
| | | | | | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * | lavc: rename err_filter option to err_detect and document itDustin Brody2012-01-211-5/+5
| | | | | | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * | mpegvideo: fix invalid memory access for small video dimensionsJohn Brooks2012-01-212-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | movenc: Reorder entries in the MOVIentry struct, for tigheter packingMartin Storsjö2012-01-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Originally, sizeof(struct MOVIentry) was 48, after the reordering, it is 40 in my build configuration. When writing really long mov/mp4 files, this can make a difference - this saves a bit over 2 MB of memory per hour of video (down to 10.3 MB per hour from 12.3 MB per hour initially) for a video with 75 packets per second - 25 fps + 50 audio packets (which is the case for AMR audio). Signed-off-by: Martin Storsjö <martin@martin.st>