| Branch: | Revision:

ffmpeg / libavformat / oggdec.c @ acaceca2

History | View | Annotate | Download (16.1 KB)

# Date Author Comment
8978feda 04/03/2011 08:46 PM Anton Khirnov

avio: introduce an AVIOContext.seekable field

Use it instead of url_is_streamed and AVIOContext.is_streamed.

66e5b1df 03/07/2011 10:20 PM Anton Khirnov

avio: deprecate url_feof

AVIOContext.eof_reached should be used directly instead.

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

76aa876e 03/07/2011 04:03 PM Anton Khirnov

avio: avio_ prefix for url_fsize

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

e5197539 03/07/2011 03:51 PM Anton Khirnov

avio: deprecate url_fgetc and remove all it uses

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

a2704c97 03/04/2011 04:26 PM Anton Khirnov

avio: add avio_tell macro as a replacement for url_ftell

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

6b4aa5da 03/01/2011 05:12 PM Anton Khirnov

avio: avio_ prefix for url_fseek

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

b7effd4e 02/21/2011 04:23 PM Anton Khirnov

avio: avio_ prefixes for get_* functions

In the name of consistency:
get_byte -> avio_r8
get_<type> -> avio_r<type>
get_buffer -> avio_read

get_partial_buffer will be made private later

get_strz is left out becase I want to change it later to return...

ae628ec1 02/20/2011 01:37 PM Anton Khirnov

avio: rename ByteIOContext to AVIOContext.

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

6bd69e6a 02/08/2011 09:40 PM Reimar Döffinger

oggdec: Fix incorrect assumption about header/data interleaving

Currently (since the data_offset fix) the ogg demuxer assumes that
after the first non-header packets in any stream no more header packets
will follow.
This is not guaranteed, so change the code back again to wait until it...

c6610a21 01/26/2011 10:10 PM Diego Elio Pettenò

Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.

This also lists the objects from those two libraries as internal (by adding
the ff_ prefix) so that they can then be hidden via linker scripts.

365d8e47 11/29/2010 07:02 PM Aaron Colwell

Ensure that data_offset is set correctly when there are partial
data packets before the first complete one.
Patch by Aaron Colwell [acolwell chromium org].

Originally committed as revision 25846 to svn://

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://

461628c6 06/09/2010 08:59 AM Eli Friedman

Fix printf format warnings

patch by Eli Friedman <eli dot friedman at gmail dot com>

Originally committed as revision 23547 to svn://

f1a05185 05/23/2010 11:33 PM Reimar Döffinger

Enable AVFMT_GENERIC_INDEX for Ogg demuxer. This avoids the many
seeks needed for binary search when seeking to a previously seen

Originally committed as revision 23279 to svn://

adc725b5 04/16/2010 12:21 PM David Conrad

oggdec: Move warning about missing granule to the correct place

Originally committed as revision 22891 to svn://

44a088ea 04/16/2010 12:21 PM David Conrad

oggdec: Fix duration calculation if the last page in a file has no granule

Originally committed as revision 22890 to svn://

49c2d290 04/16/2010 12:21 PM David Conrad

oggdec: Remove write-only variable

Originally committed as revision 22889 to svn://

cc947f04 03/31/2010 12:29 PM Jean-Daniel Dupas

Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY.

Patch by Jean-Daniel Dupas, devlists shadowlab org

Originally committed as revision 22744 to svn://

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://

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://

81b743eb 03/12/2010 05:17 AM David Conrad

oggdec: Pass packets to header() until the stream is done with them

This fixes some old ogm files that had the 3rd vorbis header after a data
packet in another stream. This is invalid in ogg, but this change shouldn't
affect the behaviour of any valid file....

d8b91fae 03/11/2010 07:18 AM David Conrad

oggdec: Seek to keyframes

Originally committed as revision 22463 to svn://

873d117e 03/11/2010 07:17 AM David Conrad

oggdec: Determine pts and filepos on a packet basis in read_timestamp

This takes into account whether the granule defines the start or end times
of packets, and sets the correct file offset of the associated page.

Originally committed as revision 22462 to svn://

6abaa272 03/11/2010 07:17 AM David Conrad

oggdec: Move PTS/DTS calculation to a function

Originally committed as revision 22461 to svn://

77560b0e 03/11/2010 07:17 AM David Conrad

oggdec: Fix duration calculation for streams with non-zero start

Originally committed as revision 22458 to svn://

32ad8692 03/11/2010 07:17 AM David Conrad

oggdec: Parse skeleton to determine the start time of each stream

Originally committed as revision 22457 to svn://

dfaed51f 03/11/2010 07:17 AM David Conrad

oggdec: Move ogg_find_stream and ogg_gptopts to oggdec.h

(skeleton will need them)

Originally committed as revision 22455 to svn://

50a9d323 03/11/2010 07:17 AM David Conrad

oggdec: Set data_offset to the right value

Otherwise it gets set automatically to a page midstream and prevents seeking
to the first page.

Originally committed as revision 22454 to svn://

73823cb9 03/11/2010 07:17 AM David Conrad

oggdec: Save offset of the page needed to reconstruct the current packet

Originally committed as revision 22453 to svn://

be4a1132 02/08/2010 08:25 PM Reimar Döffinger

Make sure the header value used to avoid repeating headers on seeking to the
start and to avoid initializing codecs with missing headers is set for all streams.
Fixes issue 1723.

Originally committed as revision 21693 to svn://

ecc0027b 02/08/2010 10:13 AM David Conrad

Fix playback with invalid files that don't set the continuation flag for
pages that continue packets started in prior pages.
Fixes issue1248

Originally committed as revision 21688 to svn://

2d4970d8 01/11/2010 05:51 AM David Conrad

oggdec: Set dts when known

Originally committed as revision 21134 to svn://

24ca518b 01/11/2010 12:31 AM David Conrad

Add support for dirac in ogg

Originally committed as revision 21128 to svn://

5e15c7d9 12/12/2009 08:18 PM David Conrad

Fix PTS for OGM codecs.
Fixes issue251

Originally committed as revision 20815 to svn://

15299b38 10/12/2009 09:30 PM Justin Ruggles

Calculate correct packet durations when demuxing Ogg/Speex. This involves
determining if there is any delay in the first packet and/or any truncation in
the final packet.

Originally committed as revision 20216 to svn://

c9da676d 09/30/2009 09:46 AM Reimar Döffinger

Disable parsing for ogg streams where no ogg header was found,
if no header was found the parser was not initialized and thus will
crash when trying to use it.

Originally committed as revision 20093 to svn://

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://

ddd94932 04/15/2009 06:41 AM David Conrad

Ensure that there's pages to read for duration calculation in the ogg demuxer

Originally committed as revision 18523 to svn://

bad4a6bb 02/14/2009 01:44 PM Peter Ross

Use consistent indent style in oggdec.

Originally committed as revision 17227 to svn://

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

OGG: untypedef demuxer structs

Originally committed as revision 15784 to svn://

bc5c918e 10/03/2008 10:16 AM Diego Biurrun

Remove offset_t typedef and use int64_t directly instead.
The name offset_t is easily confused with the standard off_t type and
*_t is POSIX reserved namespace if any POSIX header is included.

Originally committed as revision 15533 to svn://

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://

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

Make ogg_codec_t descriptions const

Originally committed as revision 14948 to svn://

dd7a68b6 06/26/2008 01:42 PM Michael Niedermayer

Remove start_time guessing code.

Originally committed as revision 13988 to svn://

bde15e74 06/03/2008 04:20 PM Stefano Sabatini

Make long_names in lavf/lavdev optional depending on CONFIG_SMALL.
patch by Stefano Sabatini, stefano.sabatini-lala
along with some spelling/consistency fixes for the long names by me

Originally committed as revision 13649 to svn://

cb4ddf77 02/06/2008 12:37 PM Reimar Döffinger

Add support for speex in ogg

Originally committed as revision 11878 to svn://

2331e31c 01/31/2008 10:30 PM Reimar Döffinger

Add support for ogg text subtitles.

Originally committed as revision 11698 to svn://

ceeacce6 12/19/2007 11:26 PM Aurelien Jacobs

use proper url_is_streamed() API
instead of messing with ByteIOContext internal is_streamed field

Originally committed as revision 11276 to svn://

899681cd 11/21/2007 07:41 AM Björn Axelsson

Use dynamically allocated ByteIOContext in AVFormatContext

patch by: Björn Axelsson, bjorn d axelsson a intinor d se
thread: [PATCH] Remove static ByteIOContexts, 06 nov 2007

Originally committed as revision 11071 to svn://

e1a794b2 11/11/2007 09:56 PM Måns Rullgård

set PKT_FLAG_KEY for Theora and OGM streams

Originally committed as revision 11002 to svn://

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

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

Originally committed as revision 10943 to svn://