summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* h264_mp3toannexb_bsg: don't crash, but warn, if PPS/SPS not found.Sean McGovern2011-03-07
| | | | | | | | | | Should an AVC-1 in MP4 stream not contain SPS or PPS NAL units, this BSF is then unable to allocate an output buffer for the modified stream. Warn that the resulting stream may be unplayable. Fix roundup issue #2386. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Add Apple HTTP Live Streaming protocol handlerMartin Storsjö2011-03-06
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* URLProtocol: Add URL_PROTOCOL_FLAG_NESTED_SCHEMEMartin Storsjö2011-03-06
| | | | | | | | | If this flag is set, the protocol can handle URLs where the scheme is a nested scheme such as applehttp+file: - the protocol can handle any URL where the first segment of the nested scheme belongs to this protocol. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* URLProtocol: Add a flags fieldMartin Storsjö2011-03-06
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* yadif: add parens around macro parametersMans Rullgard2011-03-05
| | | | | | | This fixes compilation with preprocessors which do not add whitespace around replaced tokens, resulting in invalid expressions like 1--1. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ac3enc: add num_rematrixing_bands to AC3EncodeContext and use it instead of ↵Justin Ruggles2011-03-04
| | | | | | | | the hardcoded value. Currently it is always 4, but this change will allow it to be adjusted when bandwidth-related features are added such as channel coupling, enhanced channel coupling, and spectral extension.
* ac3: define AC3_MAX_CPL_BANDS and use it in ac3dec.hJustin Ruggles2011-03-04
|
* avio: add avio_tell macro as a replacement for url_ftellAnton Khirnov2011-03-04
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf: deprecate get_strz() in favor of avio_get_strAnton Khirnov2011-03-04
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: add avio_get_str()Reimar Döffinger2011-03-04
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: fix fourcc if any character is >=0x80.Ronald S. Bultje2011-03-04
| | | | Fixes issue 2638.
* vp3-mt: fix deadlock when first frame is not a keyframe.Ronald S. Bultje2011-03-02
|
* threads: allow thread count of zeroMans Rullgard2011-03-02
| | | | | | | | | This moves setting the thread count to a minimum of 1 to frame_thread_init(), allowing a value of zero to propagate through to the codec if frame threading is not used. This makes auto-threads work in libx264. Signed-off-by: Mans Rullgard <mans@mansr.com>
* vc1: fix decoding when end sequence is presentBaptiste Coudurier2011-03-02
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* ffmpeg: Use av_pkt_dump_log2Martin Storsjö2011-03-02
| | | | | | | This makes dumped packet timestamps proper for streams with timebases other than AV_TIME_BASE. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* libavformat: Add av_pkt_dump{, _log}2, taking an AVStream parameterMartin Storsjö2011-03-02
| | | | | | | This removes a fixme issue, by allowing the av_pkt_dump functions to use the correct time base. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* aviobuf: Write new data at s->buf_end in fill_bufferMartin Storsjö2011-03-02
| | | | | | | | | | | | | | | In most cases, s->buf_ptr will be equal to s->buf_end when fill_buffer is called, but this may not always be the case, if we're seeking forward by reading (permitted by the short seek threshold). If fill_buffer is writing to s->buf_ptr instead of s->buf_end (when they aren't equal and s->buf_ptr is ahead of s->buffer), the data between s->buf_ptr and s->buf_end is overwritten, leading to inconsistent buffer content. This could return incorrect data if later seeking back into the area before the current s->buf_ptr. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* movenc: use correct tag for dvcpro hdBaptiste Coudurier2011-03-02
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dnxhd: allow encoding with Avid Nitris compatibility.Baptiste Coudurier2011-03-01
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* movenc: fix tkhd height for imxBaptiste Coudurier2011-03-01
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* avio: deprecate url_fskipAnton Khirnov2011-03-01
| | | | | | avio_seek should be used instead Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf: replace all uses of url_fskip with avio_seekAnton Khirnov2011-03-01
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: avio_ prefix for url_fseekAnton Khirnov2011-03-01
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* huffyuv: Add multithreading supportAlexander Strange2011-03-01
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* pthreads: Fix bug introduced with thread_safe_callbacksAlexander Strange2011-03-01
| | | | | | | | | For intra codecs, ff_thread_finish_setup() is called before decoding starts automatically. However, get_buffer can only be used before it's called, so adding this requirement broke frame threading for them. Fixed by moving the call until after get_buffer is finished. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Use --sysroot flag for clangMans Rullgard2011-02-28
| | | | | | | | Although not documented, clang does support the --sysroot flag, and it does the right thing. Use this flag intead of -isysroot which only applies to header file searches, not the linker. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: VP8: fix build on systems with global symbol prefixMans Rullgard2011-02-27
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: fix vp8 neon with pic enabledMans Rullgard2011-02-27
| | | | | | | The assembler emits literal pools too far from the load instructions, so we must do it explicitly at a suitable location. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: document FATE_SAMPLES env var in --help textReimar Döffinger2011-02-26
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* fate: get samples location from env var if not explicitly setMans Rullgard2011-02-26
| | | | | | | | Use the FATE_SAMPLES environment variable if samples location is not set with the --samples configure option or on the make command line. Signed-off-by: Mans Rullgard <mans@mansr.com>
* movenc: remove uses of deprecated API.Ronald S. Bultje2011-02-25
| | | | Replace put_tag() with ffio_wfourcc() and ByteIOContext with AVIOContext.
* store pasp atom for all types of quicktime movieMaksym Veremeyenko2011-02-25
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* reindent after tapt patchMaksym Veremeyenko2011-02-25
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* use tapt atom for sample aspect ratioMaksym Veremeyenko2011-02-25
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* bink: prevent overflows within binkidct by using int-sized intermediate arrayPeter Ross2011-02-25
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* bink: decode audio track identifiers into AVStream.idPeter Ross2011-02-25
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Bink version 'b' audio decoderPeter Ross2011-02-25
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* binkaudio: simplify frame_len_bits and frame_len calculationPeter Ross2011-02-25
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* binkaudio: remove unnecessary loopPeter Ross2011-02-25
| | | | | | | decode_init sets bands[0] == 2, so this loop always sets the band table index (k) to zero. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* binkaudio: perform band table scaling in decode_initPeter Ross2011-02-25
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* bink: set audio stream codec_tag such that binkaudio decoder can identify ↵Peter Ross2011-02-25
| | | | | | bitstream version Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* bink: use LOCAL_ALIGNED for aligned stack dataMans Rullgard2011-02-25
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dxva2: define required feature selection macrosKyle2011-02-25
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* OS/2: lxlite should use stdoutDave Yeo2011-02-25
| | | | | | | | This causes lxlite to use stdout instead of vioXXX functions. This improves fate and build logs readability. Affects OS/2 only. Signed-off-by: Mans Rullgard <mans@mansr.com>
* avio: deprecate put_tagAnton Khirnov2011-02-25
| | | | | | it's not used internally anymore and shouldn't be public. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf: replace remaining uses of put_tag with avio_writeAnton Khirnov2011-02-25
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avienc: replace &tag[0] with tag.Anton Khirnov2011-02-25
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf: use a new ffio_wfourcc macro instead of put_tag() where possibleAnton Khirnov2011-02-25
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* dca: use EXT_AUDIO_ID field to determine core extensionsAnssi Hannula2011-02-24
| | | | | | | | | This avoids the core substream extensions scan when the EXT_AUDIO_ID field indicates no extensions or only unsupported extensions. The scan is done only if the value of EXT_AUDIO_ID is unknown or indicates a present XCh extension which we can decode. Signed-off-by: Mans Rullgard <mans@mansr.com>
* vmdaudio: output 8-bit audio as AV_SAMPLE_FMT_U8.Justin Ruggles2011-02-23
| | | | | | There is no need to expand to 16-bits. Just use memcpy() to copy the raw data. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>