summaryrefslogtreecommitdiff
path: root/libavformat/oggparsevorbis.c
Commit message (Collapse)AuthorAge
* Remove all uses of now deprecated metadata functions.Anton Khirnov2011-06-08
|
* lavf: move internal functions from avformat.h to internal.hAnton Khirnov2011-02-06
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Always use av_set_pts_info to set the stream time base.Reimar Döffinger2011-02-06
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Ogg: discard non-essential metadata from Vorbis header when creating extradataReimar Döffinger2011-01-31
| | | | | | | | | The first part of the metadata, the "vendor" string, is required by libvorbis, it will refuse to play when it is not available. Also we do not currently parse that part into metadata so it would also be lost if we removed it as well. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Vorbis-in-Ogg: Do not set timebase to invalid valuesReimar Döffinger2011-01-29
| | | | | | | | | | Avoids an assert when the sample rate is invalid and the timebase is thus set to e.g. 1/0. Sample file is http://samples.mplayerhq.hu/ogg/fuzzed-srate-crash.ogg This is a quick fix for a crash, not a final solution. Signed-off-by: Mans Rullgard <mans@mansr.com>
* add ff_ prefix to metadata_conv()Anton Khirnov2010-10-16
| | | | | | patch by Anton Khirnov anton _at_ khirnov _dot_ net Originally committed as revision 25505 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix building, include the header instead of the source fileMartin Storsjö2010-10-16
| | | | | | Builds only seemed to have been broken in some configurations, though. Originally committed as revision 25499 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Export metadata in the generic format. Deprecate old conversion API.Anton Khirnov2010-10-15
| | | | | | patch by Anton Khirnov anton _at_ khirnov _dot_ net Originally committed as revision 25493 to svn://svn.ffmpeg.org/ffmpeg/trunk
* oggparsevorbis: Add some sanity checks to header packet ordering/presence.Alex Converse2010-08-07
| | | | Originally committed as revision 24740 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-30
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add VorbisComment writing to FLAC files.James Darnley2010-03-20
| | | | | | Patch by James Darnley <james darnley at gmail>. Originally committed as revision 22605 to svn://svn.ffmpeg.org/ffmpeg/trunk
* oggdec: Parse ogm chaptersDavid Conrad2010-03-12
| | | | Originally committed as revision 22477 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Const correctness for vorbis_commentDavid Conrad2010-03-12
| | | | Originally committed as revision 22474 to svn://svn.ffmpeg.org/ffmpeg/trunk
* oggdec: Metadata is per-stream; don't merge multiple streams' togetherDavid Conrad2010-03-12
| | | | Originally committed as revision 22473 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add ff_ prefix to vorbis_commentDavid Conrad2010-03-12
| | | | Originally committed as revision 22472 to svn://svn.ffmpeg.org/ffmpeg/trunk
* oggdec: Fix memory leak in setting up vorbis headersDavid Conrad2010-03-11
| | | | Originally committed as revision 22460 to svn://svn.ffmpeg.org/ffmpeg/trunk
* oggdec: Don't use ogg_stream's seq for vorbis or speex headersDavid Conrad2010-03-11
| | | | Originally committed as revision 22459 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a list of generic tags and change demuxers to follow it.Anton Khirnov2010-02-01
| | | | | | Patch by Anton Khirnov, wyskas at gmail dot com Originally committed as revision 21587 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use AV_METADATA_DONT_STRDUP* / use av_malloced metadata instead of strdupedMichael Niedermayer2009-12-13
| | | | | | | arrays of fixed length. Code from ffmbc with changes to adapt to our metadata API. Originally committed as revision 20836 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unnecessary entries in ff_vorbiscomment_metadata_conv. VorbisCommentJustin Ruggles2009-10-17
| | | | | | keys are case-insensitive. Originally committed as revision 20267 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix possible buffer over-read in vorbis_comment, fix it double to be sure.Reimar Döffinger2009-09-24
| | | | | | | | | First, make s signed, so that comparisons against end - p will not be made as unsigned, making the check incorrectly pass if p is beyond end. Also ensure that p will never be > end, so the code is correct also if buf is not padded. Originally committed as revision 20014 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Correctly print number of remaining bytes in oggparsevorbis instead of alwaysReimar Döffinger2009-09-23
| | | | | | with inverted sign. Originally committed as revision 19978 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a VorbisComment metadata conversion table and use it in the FLAC andJustin Ruggles2009-06-13
| | | | | | Ogg demuxers. Originally committed as revision 19186 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename bitstream.h to get_bits.h.Stefano Sabatini2009-04-13
| | | | Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use av_malloc() in vorbis_comment()Justin Ruggles2009-02-12
| | | | Originally committed as revision 17188 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use new metadata API in ogg/vorbis demuxerAurelien Jacobs2009-02-11
| | | | Originally committed as revision 17164 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Delete unnecessary 'extern' keywords.Diego Biurrun2008-12-03
| | | | Originally committed as revision 15990 to svn://svn.ffmpeg.org/ffmpeg/trunk
* OGG: untypedef demuxer structsMåns Rullgård2008-11-06
| | | | Originally committed as revision 15784 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add ff_ prefix to ogg_codec_t structsReimar Döffinger2008-08-24
| | | | Originally committed as revision 14951 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make ogg_codec_t descriptions constReimar Döffinger2008-08-24
| | | | Originally committed as revision 14948 to svn://svn.ffmpeg.org/ffmpeg/trunk
* OGG: Add padding at end of Vorbis headersSiarhei Siamashka2008-07-15
| | | | | | Patch by Siarhei Siamashka <siarhei.siamashka gmail com> Originally committed as revision 14249 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full path for #includes from another directory.Diego Biurrun2008-05-09
| | | | Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
* constBaptiste Coudurier2008-02-01
| | | | Originally committed as revision 11762 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename ogg2.[ch] to oggdec.[ch].Diego Biurrun2007-11-07
| | | | Originally committed as revision 10943 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simply buffer checks in vorbis_comment()Måns Rullgård2007-10-13
| | | | Originally committed as revision 10725 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use bytestream_get_* in vorbis_comment()Måns Rullgård2007-10-13
| | | | Originally committed as revision 10724 to svn://svn.ffmpeg.org/ffmpeg/trunk
* check values more thoroughly in vorbis_header()Måns Rullgård2007-10-10
| | | | Originally committed as revision 10707 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use bytestream_get_* in vorbis_header()Måns Rullgård2007-10-10
| | | | Originally committed as revision 10706 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix buffer overread with invalid Vorbis headerMåns Rullgård2007-10-10
| | | | Originally committed as revision 10705 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove duplicate Vorbis comment tag handlingMåns Rullgård2007-10-10
| | | | Originally committed as revision 10704 to svn://svn.ffmpeg.org/ffmpeg/trunk
* warnings--Måns Rullgård2007-06-24
| | | | Originally committed as revision 9411 to svn://svn.ffmpeg.org/ffmpeg/trunk
* whitespace cosmeticsMåns Rullgård2007-06-24
| | | | Originally committed as revision 9410 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use AV_RL32Måns Rullgård2007-06-24
| | | | Originally committed as revision 9409 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use more Vorbis metadata tagsMåns Rullgård2007-06-24
| | | | Originally committed as revision 9408 to svn://svn.ffmpeg.org/ffmpeg/trunk
* replace strncpy with av_strlcpyMåns Rullgård2007-06-24
| | | | Originally committed as revision 9407 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix some signedness warningsMåns Rullgård2006-09-27
| | | | Originally committed as revision 6355 to svn://svn.ffmpeg.org/ffmpeg/trunk
* set stream time_base properlyMåns Rullgård2006-05-12
| | | | Originally committed as revision 5367 to svn://svn.ffmpeg.org/ffmpeg/trunk
* COSMETICS: Remove all trailing whitespace.Diego Biurrun2005-12-17
| | | | Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
* changing AVCodecContext codec -> *codec in AVStream so additions to ↵Michael Niedermayer2005-07-17
| | | | | | AVCodecContext dont randomize AVStream and break binary compatibility Originally committed as revision 4453 to svn://svn.ffmpeg.org/ffmpeg/trunk
* change extradata format for vorbisMåns Rullgård2005-05-13
| | | | Originally committed as revision 4235 to svn://svn.ffmpeg.org/ffmpeg/trunk