Statistics
| Branch: | Revision:

ffmpeg / libavformat / oggparsevorbis.c @ 4dcde00c

History | View | Annotate | Download (8.23 KB)

# Date Author Comment
19711af5 02/06/2011 09:35 PM Anton Khirnov

lavf: move internal functions from avformat.h to internal.h

Signed-off-by: Ronald S. Bultje <>

a351110e 02/06/2011 09:08 PM Reimar Döffinger

Always use av_set_pts_info to set the stream time base.

Signed-off-by: Ronald S. Bultje <>

8cb3c557 01/31/2011 08:21 PM Reimar Döffinger

Ogg: discard non-essential metadata from Vorbis header when creating extradata

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...

ce20edb7 01/29/2011 01:48 PM Reimar Döffinger

Vorbis-in-Ogg: Do not set timebase to invalid values

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....

ad7768f4 10/16/2010 01:20 PM Anton Khirnov

add ff_ prefix to metadata_conv()
patch by Anton Khirnov anton at khirnov dot net

Originally committed as revision 25505 to svn://svn.ffmpeg.org/ffmpeg/trunk

fb66c31d 10/16/2010 08:50 AM Martin Storsjö

Fix building, include the header instead of the source file

Builds only seemed to have been broken in some configurations, though.

Originally committed as revision 25499 to svn://svn.ffmpeg.org/ffmpeg/trunk

03700d39 10/15/2010 07:04 PM Anton Khirnov

Export metadata in the generic format. Deprecate old conversion API.
patch by Anton Khirnov anton at khirnov dot net

Originally committed as revision 25493 to svn://svn.ffmpeg.org/ffmpeg/trunk

73c44cb2 08/07/2010 09:30 PM Alex Converse

oggparsevorbis: Add some sanity checks to header packet ordering/presence.

Originally committed as revision 24740 to svn://svn.ffmpeg.org/ffmpeg/trunk

72415b2a 03/30/2010 11:30 PM Stefano Sabatini

Define AVMediaType enum, and use it instead of enum CodecType, which
is deprecated and will be dropped at the next major bump.

Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk

66061a12 03/20/2010 01:36 PM James Darnley

Add VorbisComment writing to FLAC files.
Patch by James Darnley <james darnley at gmail>.

Originally committed as revision 22605 to svn://svn.ffmpeg.org/ffmpeg/trunk

8730fad5 03/12/2010 05:16 AM David Conrad

oggdec: Parse ogm chapters

Originally committed as revision 22477 to svn://svn.ffmpeg.org/ffmpeg/trunk

533c30fc 03/12/2010 05:16 AM David Conrad

Const correctness for vorbis_comment

Originally committed as revision 22474 to svn://svn.ffmpeg.org/ffmpeg/trunk

b53cde48 03/12/2010 05:16 AM David Conrad

oggdec: Metadata is per-stream; don't merge multiple streams' together

Originally committed as revision 22473 to svn://svn.ffmpeg.org/ffmpeg/trunk

e4d2d8c5 03/12/2010 05:16 AM David Conrad

Add ff_ prefix to vorbis_comment

Originally committed as revision 22472 to svn://svn.ffmpeg.org/ffmpeg/trunk

2ac41150 03/11/2010 07:17 AM David Conrad

oggdec: Fix memory leak in setting up vorbis headers

Originally committed as revision 22460 to svn://svn.ffmpeg.org/ffmpeg/trunk

8f8320d7 03/11/2010 07:17 AM David Conrad

oggdec: Don't use ogg_stream's seq for vorbis or speex headers

Originally committed as revision 22459 to svn://svn.ffmpeg.org/ffmpeg/trunk

ca76a119 02/01/2010 11:39 AM Anton Khirnov

Add a list of generic tags and change demuxers to follow it.
Patch by Anton Khirnov, wyskas at gmail dot com

Originally committed as revision 21587 to svn://svn.ffmpeg.org/ffmpeg/trunk

12ad6671 12/13/2009 08:27 PM Michael Niedermayer

Use AV_METADATA_DONT_STRDUP* / use av_malloced metadata instead of strduped
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

961057de 10/17/2009 09:30 PM Justin Ruggles

Remove unnecessary entries in ff_vorbiscomment_metadata_conv. VorbisComment
keys are case-insensitive.

Originally committed as revision 20267 to svn://svn.ffmpeg.org/ffmpeg/trunk

98422c44 09/24/2009 03:37 PM Reimar Döffinger

Fix possible buffer over-read in vorbis_comment, fix it double to be sure.
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...

7d507ceb 09/23/2009 09:18 AM Reimar Döffinger

Correctly print number of remaining bytes in oggparsevorbis instead of always
with inverted sign.

Originally committed as revision 19978 to svn://svn.ffmpeg.org/ffmpeg/trunk

d7bb185f 06/13/2009 10:45 PM Justin Ruggles

Add a VorbisComment metadata conversion table and use it in the FLAC and
Ogg demuxers.

Originally committed as revision 19186 to svn://svn.ffmpeg.org/ffmpeg/trunk

9106a698 04/13/2009 04:20 PM Stefano Sabatini

Rename bitstream.h to get_bits.h.

Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk

e3b44649 02/12/2009 09:39 PM Justin Ruggles

use av_malloc() in vorbis_comment()

Originally committed as revision 17188 to svn://svn.ffmpeg.org/ffmpeg/trunk

bf6c32fe 02/11/2009 11:34 PM Aurelien Jacobs

use new metadata API in ogg/vorbis demuxer

Originally committed as revision 17164 to svn://svn.ffmpeg.org/ffmpeg/trunk

9686df2b 12/03/2008 03:23 PM Diego Biurrun

Delete unnecessary 'extern' keywords.

Originally committed as revision 15990 to svn://svn.ffmpeg.org/ffmpeg/trunk

77be08ee 11/06/2008 01:50 AM Måns Rullgård

OGG: untypedef demuxer structs

Originally committed as revision 15784 to svn://svn.ffmpeg.org/ffmpeg/trunk

547ea47d 08/24/2008 05:37 PM Reimar Döffinger

Add ff_ prefix to ogg_codec_t structs

Originally committed as revision 14951 to svn://svn.ffmpeg.org/ffmpeg/trunk

cd34bc76 08/24/2008 05:09 PM Reimar Döffinger

Make ogg_codec_t descriptions const

Originally committed as revision 14948 to svn://svn.ffmpeg.org/ffmpeg/trunk

589790c2 07/15/2008 11:00 PM Siarhei Siamashka

OGG: Add padding at end of Vorbis headers

Patch by Siarhei Siamashka <siarhei.siamashka gmail com>

Originally committed as revision 14249 to svn://svn.ffmpeg.org/ffmpeg/trunk

245976da 05/09/2008 11:56 AM Diego Biurrun

Use full path for #includes from another directory.

Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk

47a0513b 02/01/2008 03:17 PM Baptiste Coudurier

const

Originally committed as revision 11762 to svn://svn.ffmpeg.org/ffmpeg/trunk

a0ddef24 11/07/2007 08:22 PM Diego Biurrun

Rename ogg2.[ch] to oggdec.[ch].

Originally committed as revision 10943 to svn://svn.ffmpeg.org/ffmpeg/trunk

972c5f9e 10/13/2007 11:43 AM Måns Rullgård

simply buffer checks in vorbis_comment()

Originally committed as revision 10725 to svn://svn.ffmpeg.org/ffmpeg/trunk

0a770ae7 10/13/2007 11:42 AM Måns Rullgård

use bytestream_get_* in vorbis_comment()

Originally committed as revision 10724 to svn://svn.ffmpeg.org/ffmpeg/trunk

736e63ed 10/10/2007 10:59 PM Måns Rullgård

check values more thoroughly in vorbis_header()

Originally committed as revision 10707 to svn://svn.ffmpeg.org/ffmpeg/trunk

739587bf 10/10/2007 10:59 PM Måns Rullgård

use bytestream_get_* in vorbis_header()

Originally committed as revision 10706 to svn://svn.ffmpeg.org/ffmpeg/trunk

f5475e1b 10/10/2007 10:59 PM Måns Rullgård

fix buffer overread with invalid Vorbis header

Originally committed as revision 10705 to svn://svn.ffmpeg.org/ffmpeg/trunk

62f2c069 10/10/2007 10:58 PM Måns Rullgård

remove duplicate Vorbis comment tag handling

Originally committed as revision 10704 to svn://svn.ffmpeg.org/ffmpeg/trunk

19f4ceca 06/24/2007 12:20 PM Måns Rullgård

warnings--

Originally committed as revision 9411 to svn://svn.ffmpeg.org/ffmpeg/trunk

4bd684bc 06/24/2007 12:20 PM Måns Rullgård

whitespace cosmetics

Originally committed as revision 9410 to svn://svn.ffmpeg.org/ffmpeg/trunk

1eb1f6fd 06/24/2007 12:20 PM Måns Rullgård

use AV_RL32

Originally committed as revision 9409 to svn://svn.ffmpeg.org/ffmpeg/trunk

d66c30ad 06/24/2007 12:12 PM Måns Rullgård

use more Vorbis metadata tags

Originally committed as revision 9408 to svn://svn.ffmpeg.org/ffmpeg/trunk

d3677839 06/24/2007 12:11 PM Måns Rullgård

replace strncpy with av_strlcpy

Originally committed as revision 9407 to svn://svn.ffmpeg.org/ffmpeg/trunk

191e8ca7 09/27/2006 07:47 PM Måns Rullgård

fix some signedness warnings

Originally committed as revision 6355 to svn://svn.ffmpeg.org/ffmpeg/trunk

3644cb8f 05/12/2006 12:50 AM Måns Rullgård

set stream time_base properly

Originally committed as revision 5367 to svn://svn.ffmpeg.org/ffmpeg/trunk

115329f1 12/17/2005 06:14 PM Diego Biurrun

COSMETICS: Remove all trailing whitespace.

Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk

01f4895c 07/17/2005 10:24 PM Michael Niedermayer

changing AVCodecContext codec -> *codec in AVStream so additions to AVCodecContext dont randomize AVStream and break binary compatibility

Originally committed as revision 4453 to svn://svn.ffmpeg.org/ffmpeg/trunk

ad2b531d 05/13/2005 06:10 PM Måns Rullgård

change extradata format for vorbis

Originally committed as revision 4235 to svn://svn.ffmpeg.org/ffmpeg/trunk

056f6179 04/10/2005 06:03 PM Måns Rullgård

s/u_char/uint8_t/

Originally committed as revision 4121 to svn://svn.ffmpeg.org/ffmpeg/trunk

9146ca37 04/09/2005 03:32 PM Måns Rullgård

Ogg demuxer ported from tcvp by Luca Barbato <lu_zero at gentoo dot org>,
fixups by me.

Originally committed as revision 4113 to svn://svn.ffmpeg.org/ffmpeg/trunk