Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-03-06asfdec: dont truncate type 2-5 valuesMichael Niedermayer
Fixes use of uninitialized variables and possible out of array accesses Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-03-05lavf/concat: compute duration if possible.Nicolas George
2013-03-05Revert "lavf/concatdec: define "ffcat" and "ffconcat" extensions"Nicolas George
This reverts commit 6cc12353a88dfb21c4c5a38e6c83280483b0ec88. Conflicts: libavformat/version.h Allowing to automatically select the concat demuxer raises security concerns, as it allows a possibly hostile file to access any file on the system. Guessing the format based on the file name extension does not allow to enable the safe mode designed to avoid it.
2013-03-05mp3dec: Fix VBR bit rate parsingAlexander Kojevnikov
When parsing the Xing/Info tag, don't set the bit rate if it's an Info tag. When parsing the stream, don't override the bit rate if it's already set, otherwise calculate the mean bit rate from parsed frames. This way, the bit rate will be set correctly both for CBR and VBR streams. Signed-off-by: Alexander Kojevnikov <alexander@kojevnikov.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-03-05iff: fix integer overflowMichael Niedermayer
Fixes out of array accesses Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-03-04update_stream_timings: check bitrate for being in range.Michael Niedermayer
Fixes numerical overflow Fixes Ticket2089 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-03-04avformat: Make duration estimation from pts more robustMichael Niedermayer
Ignore durations which differ significantly from the previous Fixes Ticket2018 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-03-04nutdec: more specific return codes for decode_syncpoint()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-03-04nutdec: print error on invalid/unsupported fourcc styleMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-03-04Merge remote-tracking branch 'cehoyos/master'Michael Niedermayer
* cehoyos/master: buildsys: only include log2_tab per library for shared builds Add h264chroma dependency for cavs decoder to configure. Add h264qpel dependency for snow codec to configure. Add h264chroma dependency for vp5 and vp6 decoder to configure. Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-03-04buildsys: only include log2_tab per library for shared buildsMichael Niedermayer
Fix linking failures with -all_load due to multiple log2_tabs Signed-off-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
2013-03-04Remove incorrect use of ctype.h functions.Reimar Döffinger
As far as I can tell the code should not change behaviour depending on locale in any of these places. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2013-03-03avformat: gather aspect ratio from rv30/40 in find_stream_infoMichael Niedermayer
Fixes Ticket1550 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-03-03Merge remote-tracking branch 'cehoyos/master'Michael Niedermayer
* cehoyos/master: movenc: Do not flag secondary audio and subtitle tracks as enabled. Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-03-03movenc: Do not flag secondary audio and subtitle tracks as enabled.Michael Niedermayer
Fixes ticket #468 and ticket #1174. Signed-off-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
2013-03-03Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: rtpdec: Initialize some variables to silence compiler warnings Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-03-02rtpdec: Initialize some variables to silence compiler warningsMartin Storsjö
The warnings are false positives, older gcc versions (such as 4.5) think the variables can be used uninitialized while they in practice can't, while newer (4.6) gets it right. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-03-02Avoid huge memory allocations from asf demuxer.Carl Eugen Hoyos
Fixes ticket #1888.
2013-03-02Merge commit 'e671d3ad6cd7fe1d02e9b35b889a25d8c059fce9'Michael Niedermayer
* commit 'e671d3ad6cd7fe1d02e9b35b889a25d8c059fce9': h264: do not copy ref count/ref2frm when updating per-frame context flvdec: Check the return value of a malloc Conflicts: libavformat/flvdec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-03-02Merge commit 'c91c63b5380bf79655c09320774a022f84d76fd5'Michael Niedermayer
* commit 'c91c63b5380bf79655c09320774a022f84d76fd5': flvdec: Don't read the VP6 header byte when setting codec type based on metadata Conflicts: libavformat/flvdec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-03-02flvdec: Check the return value of a mallocMartin Storsjö
The callers of this function can't report errors sanely. If this one malloc fails, don't write the extradata byte, make sure we try to malloc it the next time we're called instead, and make sure we still consume the input data byte. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
2013-03-02flvdec: Don't read the VP6 header byte when setting codec type based on metadataMartin Storsjö
This header byte is only present when actually reading a VP6 frame, not when reading the codec type field in the metadata. This potential bug has been present since 5b54a90c. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
2013-02-28lavf/avio: check for : in filenames for protocols.Nicolas George
If the first "special" character in a filename is a comma, it can introduce protocol options, but only if there is a colon at the end. Otherwise, it is just a filename with a comma. Fix trac ticket #2303.
2013-02-28lavf: rescale duration for chained muxers.Nicolas George
Fix trac ticket #2300 because the duration of the segments was computed using the timestamp of the last packet plus its duration using the 1/90000 default time base instead of using the chained muxer time base.
2013-02-28Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: lavf: Add a fate test for the noproxy pattern matching lavf: Handle the environment variable no_proxy more properly Conflicts: libavformat/Makefile libavformat/internal.h libavformat/tls.c libavformat/utils.c libavformat/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-02-28Revert "lavf/utils: add support for special characters encoding in URL"Michael Niedermayer
This reverts commit 4a8fc1d83b1b55e1ac533644168018ebeec0c732. The commit caused null pointer derefernces when using udp:// after i fixed that it caused ffmpeg to get stuck and remapped arguments like ?ttl=255 -> ?ttl%3d255 I dont want to leave this broken thus temporary revert so we all have some time to look at this without half the network protocols being broken in the meantime
2013-02-28lavf/utils: add support for special characters encoding in URLSenthilnathan M
In particular, fix trac ticket #2031. Signed-off-by: Senthilnathan M <senthilnathan.maadasamy@gmail.com> Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
2013-02-28lavf/concatdec: define "ffcat" and "ffconcat" extensionsStefano Sabatini
2013-02-27lavf: Add a fate test for the noproxy pattern matchingMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2013-02-27lavf: Handle the environment variable no_proxy more properlyMartin Storsjö
The handling of the environment variable no_proxy, present since one of the initial commits (de6d9b6404), is inconsistent with how many other applications and libraries interpret this variable. Its bare presence does not indicate that the use of proxies should be skipped, but it is some sort of pattern for hosts that does not need using a proxy (e.g. for a local network). As investigated by Rudolf Polzer, different libraries handle this in different ways, some supporting IP address masks, some supporting arbitrary globbing using *, some just checking that the pattern matches the end of the hostname without regard for whether it actually is the right domain or a domain that ends in the same string. This simple logic should be pretty similar to the logic used by lynx and curl. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-02-27oggdec: chained oggs have timestamp discontinuitiesMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-02-25pmpdec: make i unsigned, avoid undefined behavior of i++Michael Niedermayer
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-02-25pmpdec: fix integer overflowMichael Niedermayer
Its unlikely this affects any valid files. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-02-24hls: do not access pb->opaque for custom IO.Reimar Döffinger
As the name indicates we can't just assume what the "opaque" field contains. This fixes a crash in third-party applications see e.g.: http://bugzilla.mplayerhq.hu/show_bug.cgi?id=2126 This fixes also FFmpeg trac #2293, which is a different third-party application. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2013-02-24Merge commit '56daf10e0313c5e36f43e773f457d2a99ff0df10'Michael Niedermayer
* commit '56daf10e0313c5e36f43e773f457d2a99ff0df10': mov: use the format context for logging. flicvideo: avoid an infinite loop in byte run compression Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-02-24lavf/concatdec: add the "duration" directive.Nicolas George
2013-02-24tools: add seek_print.Nicolas George
Useful for testing seek implementations.
2013-02-24lavf/avio: check that the protocol supports the open mode.Nicolas George
Fix trac ticket #2139.
2013-02-24pmpdec: check packet sizesMichael Niedermayer
Reviewed-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-02-24pmpdec: fix signednessMichael Niedermayer
Reviewed-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-02-24pmpdec: read index before creating audio streamsMichael Niedermayer
This allows more complete checks Reviewed-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-02-24pmpdec: check for EOF while reading index.Reimar Döffinger
Otherwise even a tiny file can trigger a huge memory allocation. Related to ticket #2298. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2013-02-24avformat: Allocate duration_error separatelyMichael Niedermayer
This significantly reduces the memory needed per AVStream when the array is not needed. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-02-24matroskaenc: fix cue tracknum off by 1 errorMichael Niedermayer
Fixes out of array accesses Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-02-23rtmpproto: increase APP_MAX_LENGTHMichael Niedermayer
Fixes second part of Ticket2292 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-02-23rtmpproto: Check APP_MAX_LENGTHMichael Niedermayer
Fixes Ticket2292 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-02-23mov: use the format context for logging.Anton Khirnov
CC:libav-stable@libav.org
2013-02-22cafenc: do not leak caf->pkt_sizesPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-02-22mxg: do not leak mxg->bufferPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-02-22matroska: fix missing ,Andrea3000
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>