Statistics
| Branch: | Revision:

ffmpeg / libavformat / oggdec.c @ e63a3628

History | View | Annotate | Download (16.1 KB)

# Date Author Comment
e63a3628 02/22/2011 01:44 AM 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...

471fe57e 02/20/2011 06:05 PM Anton Khirnov

avio: rename ByteIOContext to AVIOContext.

Signed-off-by: Ronald S. Bultje <>
(cherry picked from commit ae628ec1fd7f54c102bf9e667a3edd404b9b9128)

94dfea71 02/09/2011 02:33 AM 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...

66355be3 01/28/2011 02:15 AM 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.
(cherry picked from commit c6610a216ed2948885772154a2eed696e0cb4aca)

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

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://svn.ffmpeg.org/ffmpeg/trunk

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

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

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://svn.ffmpeg.org/ffmpeg/trunk

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://svn.ffmpeg.org/ffmpeg/trunk

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

oggdec: Remove write-only variable

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

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

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://svn.ffmpeg.org/ffmpeg/trunk

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://svn.ffmpeg.org/ffmpeg/trunk

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

oggdec: Move PTS/DTS calculation to a function

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

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://svn.ffmpeg.org/ffmpeg/trunk

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://svn.ffmpeg.org/ffmpeg/trunk

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://svn.ffmpeg.org/ffmpeg/trunk

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://svn.ffmpeg.org/ffmpeg/trunk

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://svn.ffmpeg.org/ffmpeg/trunk

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://svn.ffmpeg.org/ffmpeg/trunk

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://svn.ffmpeg.org/ffmpeg/trunk

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

oggdec: Set dts when known

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

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

Add support for dirac in ogg

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

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

Fix PTS for OGM codecs.
Fixes issue251

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

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://svn.ffmpeg.org/ffmpeg/trunk

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

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://svn.ffmpeg.org/ffmpeg/trunk

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

Use consistent indent style in oggdec.

Originally committed as revision 17227 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

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

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

Remove start_time guessing code.

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

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 poste.it
along with some spelling/consistency fixes for the long names by me

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

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

Add support for speex in ogg

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

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

Add support for ogg text subtitles.

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

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://svn.ffmpeg.org/ffmpeg/trunk

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://svn.ffmpeg.org/ffmpeg/trunk

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