summaryrefslogtreecommitdiffstats
path: root/libavformat
Commit message (Collapse)AuthorAgeFilesLines
* flvenc: store delay and last_ts per-stream.Justin Ruggles2011-10-211-12/+22
|
* lavc: use avpriv_ prefix for ff_toupper4.Anton Khirnov2011-10-201-2/+2
| | | | It's used in lavf.
* lavc: use avpriv_ prefix for ff_copy_bits and align_put_bits.Anton Khirnov2011-10-201-3/+3
| | | | They are used in lavf.
* lavc: use avpriv_ prefix for ff_ac3_parse_header.Anton Khirnov2011-10-201-1/+1
| | | | It's used in lavf.
* lavc: use avpriv_ prefix for ff_frame_rate_tab.Anton Khirnov2011-10-201-2/+2
| | | | It's used in lavf.
* lavc: rename ff_find_start_code to avpriv_mpv_find_start_codeAnton Khirnov2011-10-202-2/+2
| | | | It's used in lavf.
* lavc: use avpriv_ prefix for ff_split_xiph_headers.Anton Khirnov2011-10-203-3/+3
| | | | It's used in lavf.
* lavc: use avpriv_ prefix for ff_dirac_parse_sequence_header.Anton Khirnov2011-10-201-1/+1
| | | | It's used in lavf.
* lavc: use avpriv_ prefix for some dv symbols used in lavf.Anton Khirnov2011-10-202-4/+4
| | | | Specifically, ff_dv_frame_profile and ff_dv_codec_profile.
* lavc: use avpriv_ prefix for some flac symbols used in lavf.Anton Khirnov2011-10-205-6/+6
| | | | | 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-207-10/+10
| | | | | 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-204-9/+9
| | | | | 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-202-2/+2
| | | | It's used in lavf.
* lavf: hide private symbols.Anton Khirnov2011-10-201-5/+21
| | | | Overhead as reported by rbelf-size goes from 40147 to 20877.
* lavf: use avpriv_ prefix for some dv functions.Anton Khirnov2011-10-204-15/+15
| | | | They are used in libavdevice.
* lavf: use avpriv_ prefix for ff_new_chapter().Anton Khirnov2011-10-208-10/+10
| | | | It's used in libavdevice.
* avformat: do not require frame_size for Speex.Justin Ruggles2011-10-201-1/+0
| | | | | 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-201-11/+9
| | | | | 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-201-11/+13
| | | | Using AVCodecContext.frame_size is not reliable.
* flvenc: adjust for negative DTS for all codecs, not just H.264Justin Ruggles2011-10-201-2/+2
|
* lavf: replace av_new_stream->avformat_new_stream part II.Anton Khirnov2011-10-1934-56/+79
| | | | | | | | 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-1989-117/+117
| | | | | 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-193-4/+37
| | | | It takes a codec parameter, thus enabling codec-specific defaults.
* Ut Video decoderKostya Shishkov2011-10-191-0/+4
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* rtsp: Expose the flag options via private AVOptions for sdp and rtp, tooMartin Storsjö2011-10-171-2/+29
| | | | | | | | 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-171-2/+6
| | | | | | 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-171-1/+1
| | | | | | | 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-171-1/+2
| | | | | | | | | | | | 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-172-8/+2
| | | | | | 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-173-3/+45
| | | | | | | | | | | | 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-171-1/+3
| | | | | | | 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-174-15/+12
| | | | | | | | 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-161-2/+5
|
* mpegenc/mpegtsenc: add muxrate private options.Anton Khirnov2011-10-175-3/+48
| | | | Deprecate AVFormatContext.mux_rate.
* lavf: deprecate AVFormatContext.file_sizeAnton Khirnov2011-10-176-16/+13
| | | | 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-171-0/+33
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* matroskadec: fix out of bounds writeRonald S. Bultje2011-10-151-1/+1
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* mov: 10l: Terminate string with 0 not '0'Alex Converse2011-10-141-1/+1
|
* mov: Prevent illegal writes when chapter titles are very short.Alex Converse2011-10-141-8/+15
|
* riff: always generate a proper WAVEFORMATEX structure in ff_put_wav_headerJohn Brooks2011-10-142-8/+2
| | | | | | | | | | | | | | 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-132-18/+14
|
* id3v2: cosmetics: move some declarations before the places they are usedDiego Biurrun2011-10-131-65/+65
|
* shn: do not allow seeking in the raw shn demuxer.Justin Ruggles2011-10-131-1/+1
| | | | | | 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-133-2/+5
| | | | This will prevent seeking by bytes for formats that cannot handle this.
* avformat: update AVInputFormat allowed flagsJustin Ruggles2011-10-131-1/+3
|
* avformat: don't unconditionally call ff_read_frame_flush() when trying to seek.Justin Ruggles2011-10-131-10/+14
| | | | | This prevents flushing the packet buffer when the input format does not support seeking.
* AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_*Anton Khirnov2011-10-1219-59/+59
|
* Remove all uses of deprecated AVOptions API.Anton Khirnov2011-10-123-12/+11
|
* AVOptions: add new API for enumerating children.Anton Khirnov2011-10-121-22/+29
| | | | | | | | | This will allow the caller to enumerate child contexts in a generic way and since the API is recursive, it also allows for deeper nesting (e.g. AVFormatContext->AVIOContext->URLContext) This will also allow the new setting/reading API to transparently apply to children contexts.
* flvenc: Write the right metadata entry countMartin Storsjö2011-10-121-3/+10
| | | | | | | | No application rely on this count being correct as far as I know, but if we write a nonzero count value, it might just as well be the right one. Signed-off-by: Martin Storsjö <martin@martin.st>
OpenPOWER on IntegriCloud