summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* flvdec: Do not call parse_keyframes_index with a NULL streamReimar Döffinger2011-10-22
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Move timefilter code from lavf to lavd.Anton Khirnov2011-10-21
| | | | | | It's only used in the JACK device. Fixes linking shared lavd with JACK enabled.
* mov: add support for hdvd and pgapmetadata atomsRaivo Hool2011-10-21
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mov: rename function _stik, some indentation cosmeticsRaivo Hool2011-10-21
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mov: rename function _int8 to remove ambiguity, some indentation cosmeticsRaivo Hool2011-10-21
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mov: parse the gnre atomRaivo Hool2011-10-21
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* flvenc: store delay and last_ts per-stream.Justin Ruggles2011-10-21
|
* lavc: use avpriv_ prefix for ff_toupper4.Anton Khirnov2011-10-20
| | | | It's used in lavf.
* lavc: use avpriv_ prefix for ff_copy_bits and align_put_bits.Anton Khirnov2011-10-20
| | | | They are used in lavf.
* lavc: use avpriv_ prefix for ff_ac3_parse_header.Anton Khirnov2011-10-20
| | | | It's used in lavf.
* lavc: use avpriv_ prefix for ff_frame_rate_tab.Anton Khirnov2011-10-20
| | | | It's used in lavf.
* lavc: rename ff_find_start_code to avpriv_mpv_find_start_codeAnton Khirnov2011-10-20
| | | | It's used in lavf.
* lavc: use avpriv_ prefix for ff_split_xiph_headers.Anton Khirnov2011-10-20
| | | | It's used in lavf.
* lavc: use avpriv_ prefix for ff_dirac_parse_sequence_header.Anton Khirnov2011-10-20
| | | | It's used in lavf.
* lavc: use avpriv_ prefix for some dv symbols used in lavf.Anton Khirnov2011-10-20
| | | | Specifically, ff_dv_frame_profile and ff_dv_codec_profile.
* lavc: use avpriv_ prefix for some flac symbols used in lavf.Anton Khirnov2011-10-20
| | | | | Specifically, ff_flac_parse_streaminfo, ff_flac_is_extradata_valid and ff_flac_parse_block_header
* lavc: use avpriv_ prefix for some mpeg4audio symbols used in lavf.Anton Khirnov2011-10-20
| | | | | Specifically, ff_mpeg4audio_sample_rates, ff_mpeg4audio_get_config and ff_copy_pce_data
* lavc: use avpriv_ prefix for some mpegaudio symbols used in lavf.Anton Khirnov2011-10-20
| | | | | Specifically, ff_mpa_freq_tab, ff_mpa_bitrate_tab, ff_mpa_decode_header, ff_mpegaudio_decode_header.
* lavc: use avpriv_ prefix for ff_aac_parse_header().Anton Khirnov2011-10-20
| | | | It's used in lavf.
* lavf: hide private symbols.Anton Khirnov2011-10-20
| | | | Overhead as reported by rbelf-size goes from 40147 to 20877.
* lavf: use avpriv_ prefix for some dv functions.Anton Khirnov2011-10-20
| | | | They are used in libavdevice.
* lavf: use avpriv_ prefix for ff_new_chapter().Anton Khirnov2011-10-20
| | | | It's used in libavdevice.
* avformat: do not require frame_size for Speex.Justin Ruggles2011-10-20
| | | | | Having it there forces decoding of a frame in order to get frame_size, but it is not really needed for proper demuxing or decoding.
* ogg/speex: set correct timestamp and duration for the first packet.Justin Ruggles2011-10-20
| | | | | The first timestamp should be negative due to delay. Also, do not set AVCodecContext.frame_size unnecessarily.
* flvenc: check packet duration in speex using timestampsJustin Ruggles2011-10-20
| | | | Using AVCodecContext.frame_size is not reliable.
* flvenc: adjust for negative DTS for all codecs, not just H.264Justin Ruggles2011-10-20
|
* lavf: replace av_new_stream->avformat_new_stream part II.Anton Khirnov2011-10-19
| | | | | | | | Manual replacements are done in this commit. In many cases, the id is some constant made up number (e.g. 0 for video and 1 for audio), which is then not used in the demuxer for anything. Those ids are removed.
* lavf,lavd: replace av_new_stream->avformat_new_stream part I.Anton Khirnov2011-10-19
| | | | | Trivial replacements with sed are done in this commit: sed 's/av_new_stream(\([^)]*\), 0)/avformat_new_stream(\1, NULL)/'
* lavf: add avformat_new_stream as a replacement for av_new_stream.Anton Khirnov2011-10-19
| | | | It takes a codec parameter, thus enabling codec-specific defaults.
* Ut Video decoderKostya Shishkov2011-10-19
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* rtsp: Expose the flag options via private AVOptions for sdp and rtp, tooMartin Storsjö2011-10-17
| | | | | | | | This allows setting the filter_src option for these demuxers, too, which wasn't possible at all before (where the option only was set via URL parameters for RTSP). Signed-off-by: Martin Storsjö <martin@martin.st>
* rtsp: Make the rtsp flags avoptions set via a defineMartin Storsjö2011-10-17
| | | | | | This helps sharing these options with the sdp and rtp demuxers. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpenc: Set a default video codecMartin Storsjö2011-10-17
| | | | | | | avconv doesn't map video streams to a muxer without specifying a manual stream mapping if the default video codec is CODEC_ID_NONE. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtp: Fix ff_rtp_get_payload_typeMartin Storsjö2011-10-17
| | | | | | | | | | | | It was broken in 3b3ea34655db02d9cd9ea1a4122e920a7fdec602 "Remove all uses of deprecated AVOptions API", where any presence of a payload_type AVOption caused its value to be returned, even if it wasn't set (and thus had the default -1 value). This caused the RTP muxer to be broken. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtsp: Remove the separate filter_source variableMartin Storsjö2011-10-17
| | | | | | Read it as a flag from the flags field instead. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtsp: Accept options via private avoptions instead of URL optionsMartin Storsjö2011-10-17
| | | | | | | | | | | | Eventually, the old way of passing options by adding stuff to the URL can be dropped. This avoids having to tamper with the user-specified URL to pass options on the transport mode. This also works better with redirects, since the options don't need to be parsed out from the URL. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtsp: Simplify AVOption definitionsMartin Storsjö2011-10-17
| | | | | | | Use defines for shortening common parts, omit the .dbl named initializer (since it's the first element in the union). Signed-off-by: Martin Storsjö <martin@martin.st>
* rtsp: Merge the AVOption listsMartin Storsjö2011-10-17
| | | | | | | | This eases adding options that are common for both. The AV_OPT_FLAG_EN/DECODING_PARAM still indicates whether they belong to the muxer or demuxer. Signed-off-by: Martin Storsjö <martin@martin.st>
* avio: Check for invalid buffer length.Alex Converse2011-10-16
|
* mpegenc/mpegtsenc: add muxrate private options.Anton Khirnov2011-10-17
| | | | Deprecate AVFormatContext.mux_rate.
* lavf: deprecate AVFormatContext.file_sizeAnton Khirnov2011-10-17
| | | | It's too unreliable to be useful. avio_size() should be called instead.
* mov: add support for TV metadata atoms tves, tvsn and stikRaivo Hool2011-10-17
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* matroskadec: fix out of bounds writeRonald S. Bultje2011-10-15
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* mov: 10l: Terminate string with 0 not '0'Alex Converse2011-10-14
|
* mov: Prevent illegal writes when chapter titles are very short.Alex Converse2011-10-14
|
* riff: always generate a proper WAVEFORMATEX structure in ff_put_wav_headerJohn Brooks2011-10-14
| | | | | | | | | | | | | | The cbSize field should be included in all cases, even with PCM where its value is ignored. Fixes encoding PCM audio in Matroska for some players which insist on a full WAVEFORMATEX structure for A_MS/ACM audio. Since fate uses wav files for the audio test a larger number of tests has changed checksums or shifted positions due to the 2 byte longer wave header. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* id3v2: reduce the scope of some non-globally-used symbols/structuresDiego Biurrun2011-10-13
|
* id3v2: cosmetics: move some declarations before the places they are usedDiego Biurrun2011-10-13
|
* shn: do not allow seeking in the raw shn demuxer.Justin Ruggles2011-10-13
| | | | | | The demuxer does not read the seektable, a parser is not possible without a full decode, and no shorten decoder can handle random seeking because it needs side info from the seektable.
* avformat: add AVInputFormat flag AVFMT_NO_BYTE_SEEK.Justin Ruggles2011-10-13
| | | | This will prevent seeking by bytes for formats that cannot handle this.