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

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-04-04oggdec: Support byte based seekingMichael Niedermayer
Fixed Ticket2317 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-03-15lavc & lavf: replace deprecated av_log* functionsPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-02-27oggdec: chained oggs have timestamp discontinuitiesMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-01-21oggdec: remove unused variablesMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-01-21oggdec: #if 0 disabled codeMichael Niedermayer
Fixes CID968589 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-01-20oggdec: Support chained streams, support replacing streams in multistream files.Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Conflicts: Changelog
2013-01-15oggdec: Leave treatment of serial changes to the decoder.Michael Niedermayer
Attempting to re-parse the headers at demuxer level is a pandora box the way its done currently. This allows full reconfiguration of vorbis streams Fixes Ticket2117 Fixes Ticket2121 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-01-15oggdec: resync from the last page.Michael Niedermayer
Previously we re synced from where we where which cam lead to loosing pages. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-01-07Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: oggdec: make sure the private parse data is cleaned up Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-01-07Merge commit '89b51b570daa80e6e3790fcd449fe61fc5574e07'Michael Niedermayer
* commit '89b51b570daa80e6e3790fcd449fe61fc5574e07': oggdec: free the ogg streams on read_header failure Conflicts: libavformat/oggdec.c Original commit this was based on: (this merge just moves the function up) commit 07a866282f08985c65c47ebabcf7b20f1c46daa0 Author: Michael Niedermayer <michaelni@gmx.at> Date: Tue Nov 20 15:12:37 2012 +0100 oggdec: fix memleak on header parsing failure Fixes Ticket1931 Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-01-06oggdec: make sure the private parse data is cleaned upLuca Barbato
2013-01-06oggdec: free the ogg streams on read_header failureLuca Barbato
Plug an annoying memory leak on broken files.
2012-12-25oggdec: fix warning: assignment discards qualifiers from pointer target typeMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-12-24Merge commit 'f3298f12997eb4b7ad203766f768f92e3dd72a2a'Michael Niedermayer
* commit 'f3298f12997eb4b7ad203766f768f92e3dd72a2a': Return proper error code after av_log_ask_for_sample() configure: cosmetics: Separate hwaccel dependencies from decoders/encoders oggdec: check memory allocation Conflicts: configure libavcodec/pictordec.c libavformat/anm.c libavformat/oggdec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-12-24Merge commit 'f5f1cf52240759208b42477e2157a7b4409ade10'Michael Niedermayer
* commit 'f5f1cf52240759208b42477e2157a7b4409ade10': oggdec: K&R cosmetic formatting hlsenc: correctly report target duration Conflicts: libavformat/oggdec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-12-23oggdec: check memory allocationLuca Barbato
2012-12-23oggdec: K&R cosmetic formattingLuca Barbato
2012-12-05oggdec: prevent codec from changing through ogg_replace_stream()Michael Niedermayer
This prevents inconsistencies leading to out of array accesses. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-20oggdec: fix memleak on header parsing failureMichael Niedermayer
Fixes Ticket1931 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-22Fix various uses of av_log_missing_feature()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-25Merge commit 'd1f05dd18375f2f8e68372edee11436927e43ba8'Michael Niedermayer
* commit 'd1f05dd18375f2f8e68372edee11436927e43ba8': ogg: calculate the start position once all the headers are parsed Conflicts: libavformat/oggdec.c libavformat/oggparseskeleton.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-25oggdec: print a warning if the number of headers mismatch expectations.Michael Niedermayer
This is based on: commit 7751e4693dd10ec98c20fbd9887233b575034272 Author: Luca Barbato <lu_zero@gentoo.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-25oggdec: print error when headers couldnt be parses successfullyMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-25Merge commit '7751e4693dd10ec98c20fbd9887233b575034272'Michael Niedermayer
* commit '7751e4693dd10ec98c20fbd9887233b575034272': ogg: check that the expected number of headers had been parsed libx264: change default to closed gop to match x264cli Use avcodec_free_frame() to free AVFrames. lavf: use a malloced AVFrame in try_decode_frame(). lavc: add avcodec_free_frame(). lavc: ensure extended_data is set properly on decoding lavc: initialize AVFrame.extended_data in avcodec_get_frame_defaults() lavc: use av_mallocz to allocate AVFrames. lavc: rename the argument of avcodec_alloc_frame/get_frame_defaults Conflicts: doc/APIchanges doc/examples/decoding_encoding.c libavcodec/utils.c libavcodec/version.h libavfilter/src_movie.c libavformat/oggdec.c libavformat/oggdec.h libavformat/oggparsetheora.c libavformat/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-25ogg: calculate the start position once all the headers are parsedLuca Barbato
The fisbone packets can be muxed in any order as long the last one comes before the first data packet.
2012-09-25ogg: check that the expected number of headers had been parsedLuca Barbato
Not having the header for a codec is a tell-tale of a broken file.
2012-09-22lavf/oggdec: check for begin-of-stream flag in case of chained streams.Clément Bœsch
Fix Ticket #1617, revealing a regression I introduced in 8f3eebd. We need to make sure no stream is added in between Ogg context save and restore operations (because it would likely lead to a mismatch between ogg->nstreams and AVFormatContext->nb_streams after the restore op). This is the reason the ogg->state check is added in ogg_new_stream(). Before this patch, checking for ogg->headers was preventing this: ogg->headers is always set before any ogg save/restore (though, it was also preventing from creating the stream when necessary).
2012-09-16lavf/oggdec: reword stream creation error message.Clément Bœsch
2012-09-16lavf/oggdec: reindent and comment blocks.Clément Bœsch
2012-09-16lavf/oggdec: make stream replacement less convoluted.Clément Bœsch
Also re-use the allocated buffer instead of re-allocating a new one.
2012-09-16lavf/oggdec: more explicit zeroing of the new ogg stream.Clément Bœsch
2012-09-16lavf/oggdec: rework allocations in ogg_new_streams().Clément Bœsch
2012-09-16lavf/oggdec: simplify destroying streams with chained audio streams.Clément Bœsch
nstreams is assumed to be 1 at that point, so the loop is pointless.
2012-09-16lavf/oggdec: rename str to sid.Clément Bœsch
"str" is misleading here (it's often used for string). "sid" makes more sense to identify a stream id.
2012-09-16lavf/oggdec: remove a comment not matching anything.Clément Bœsch
2012-09-16lavf/oggdec: inline ogg_get_headers().Clément Bœsch
There is no point in a distant definition of a small function like this used only once. Additional spacing to distinguish better the block.
2012-08-08Merge commit '36ef5369ee9b336febc2c270f8718cec4476cb85'Michael Niedermayer
* commit '36ef5369ee9b336febc2c270f8718cec4476cb85': Replace all CODEC_ID_* with AV_CODEC_ID_* lavc: add AV prefix to codec ids. Conflicts: doc/APIchanges doc/examples/decoding_encoding.c doc/examples/muxing.c ffmpeg.c ffprobe.c ffserver.c libavcodec/8svx.c libavcodec/avcodec.h libavcodec/dnxhd_parser.c libavcodec/dvdsubdec.c libavcodec/error_resilience.c libavcodec/h263dec.c libavcodec/libvorbisenc.c libavcodec/mjpeg_parser.c libavcodec/mjpegenc.c libavcodec/mpeg12.c libavcodec/mpeg4videodec.c libavcodec/mpegvideo.c libavcodec/mpegvideo_enc.c libavcodec/pcm.c libavcodec/r210dec.c libavcodec/utils.c libavcodec/v210dec.c libavcodec/version.h libavdevice/alsa-audio-dec.c libavdevice/bktr.c libavdevice/v4l2.c libavformat/asfdec.c libavformat/asfenc.c libavformat/avformat.h libavformat/avidec.c libavformat/caf.c libavformat/electronicarts.c libavformat/flacdec.c libavformat/flvdec.c libavformat/flvenc.c libavformat/framecrcenc.c libavformat/img2.c libavformat/img2dec.c libavformat/img2enc.c libavformat/ipmovie.c libavformat/isom.c libavformat/matroska.c libavformat/matroskadec.c libavformat/matroskaenc.c libavformat/mov.c libavformat/movenc.c libavformat/mp3dec.c libavformat/mpeg.c libavformat/mpegts.c libavformat/mxf.c libavformat/mxfdec.c libavformat/mxfenc.c libavformat/nsvdec.c libavformat/nut.c libavformat/oggenc.c libavformat/pmpdec.c libavformat/rawdec.c libavformat/rawenc.c libavformat/riff.c libavformat/sdp.c libavformat/utils.c libavformat/vocenc.c libavformat/wtv.c libavformat/xmv.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-05oggdec: Initialize stream index to -1 in ogg_packet.Reimar Döffinger
The previous method of having to initialize it outside lead to incorrect code: even if it was initialized, it usually was only initialized once, thus a packet that could not be matched to any stream would just be processed with the return values from the previous call. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2012-08-05oggdec: simplify start time calculation code.Reimar Döffinger
Also slightly more correct behaviour in case streams_left for some reason is 0 from the start. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2012-08-05oggdec: check stream index before using it in ogg_get_length()Michael Niedermayer
Fixes crash based on a uninitialized array index read. If the read does not crash then out of array writes based on the same index might have been triggered afterwards. Found-by: inferno@chromium.org Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-07-20oggdec: add support for Opus codec.Nicolas George
This patch also introduces CODEC_ID_OPUS.
2012-06-03oggdec: fix regression that caused reading the whole file during openMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-05-14ogg: rewrite first timestamp reading code.Michael Niedermayer
this is simpler and closer to how timestamps are found for seeking. Fixes Ticket1186 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-05-14ogg: in ogg_get_length() start from data_offset not 0.Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-05-04oggdec: fix off by one error on pos_limitMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-05-04oggdec: print error on failure to create streamsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-05-04oggdec: print error on changing streams when its unsupported.Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-05-04oggdec: print error on unsupported versionsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-05-04oggdec: reset lastpts so that justins vorbis duration correction is not skipedMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-05-04oggdec: pass avformat context to ogg_reset()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>