summaryrefslogtreecommitdiff
path: root/libavformat/oggparsecelt.c
Commit message (Collapse)AuthorAgeFilesLines
* ogg: update event_flags with STREAM_/METADATA_UPDATED whenever metadata changes.Andrew Stone2014-08-131-1/+1
| | | | | | | | | | | | | | Originally, AVFormatContext and a metadata dict were provided to ff_vorbis_comment(), but this presented issues if an AVStream was being updated or the metadata on AVFormatContext wasn't actually being updated. To remedy this, ff_vorbis_stream_comment() explicitly updates a stream's metadata and sets any necessary flags. ff_vorbis_comment() does not modify any flags, and any calls to it that update AVFormatContext's metadata (just a single call) must also update AVFormatContext.event_flags after detecting any metadata changes to the provided dictionary, as signaled by a positive return value. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* oggparsecelt: do not set AVCodecContext.frame_sizeAnton Khirnov2014-07-091-3/+1
| | | | It is supposed to be set by decoders only.
* matroskadec: parse the channel layout mask for FLACAnton Khirnov2014-05-281-1/+1
| | | | It is commonly stored in a vorbiscomment block in codec private data.
* ogg: check that the expected number of headers had been parsedLuca Barbato2012-09-241-0/+1
| | | | Not having the header for a codec is a tell-tale of a broken file.
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-071-1/+1
|
* lavf: make av_set_pts_info private.Anton Khirnov2011-11-301-1/+2
| | | | It's supposed to be called only from (de)muxers.
* ogg/celt: do not set sample_fmt in the demuxerJustin Ruggles2011-10-031-1/+0
|
* oggdec: add support for Xiph's CELT codecNicolas George2011-09-261-0/+96
This patch also introduces CODEC_ID_CELT. Signed-off-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Diego Biurrun <diego@biurrun.de>