Statistics
| Branch: | Revision:

ffmpeg / libavformat / matroskadec.c @ 6314cca0

History | View | Annotate | Download (57.7 KB)

# Date Author Comment
6314cca0 08/05/2008 12:42 AM Aurelien Jacobs

matroskadec: remove now unused parameter 'once' from ebml_parse_nest()

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

c4d3d9ba 08/05/2008 12:42 AM Aurelien Jacobs

matroskadec: directly use ebml_parse() or ebml_parse_id() where it's enough

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

66a37e06 08/05/2008 12:42 AM Aurelien Jacobs

matroskadec: new ebml_parse() function, centralize ebml_read_element_id() calls

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

9bcb92ca 08/05/2008 12:42 AM Aurelien Jacobs

matroskadec: rename ebml_parse() to ebml_parse_nest()

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

c005b3f2 08/05/2008 12:42 AM Aurelien Jacobs

matroskadec: don't care about the number of bytes read by ebml_read_element_id()

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

592110c2 08/05/2008 12:42 AM Aurelien Jacobs

matroskadec: simplify check for hierarchy level

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

f7b9687c 08/05/2008 12:42 AM Aurelien Jacobs

matroskadec: cosmetics: consistent style for function declarations

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

104be240 08/05/2008 12:42 AM Aurelien Jacobs

matroskadec: Use string instead of char table as probe data comparison source.

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

eb05cacc 08/05/2008 12:41 AM Aurelien Jacobs

matroskadec: use an EbmlBin as parameter to ebml_read_binary()

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

c6cd2b3d 08/05/2008 12:41 AM Aurelien Jacobs

matroskadec: extract common code out of ebml_read_*()

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

ba5a1f99 08/05/2008 12:41 AM Aurelien Jacobs

matroskadec: simplify/cleanup error logging in ebml_read_*()

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

54d8869d 08/05/2008 12:41 AM Aurelien Jacobs

matroskadec: remove now useless expected_id parameter from ebml_parse()

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

4dc9e183 08/05/2008 12:41 AM Aurelien Jacobs

matroskadec: expand useless ebml_peek_id() wrapper

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

3856e7c4 08/05/2008 12:41 AM Aurelien Jacobs

matroskadec: remove unused levelup parameter from ebml_read_element_id()

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

44cea765 08/05/2008 12:41 AM Aurelien Jacobs

matroskadec: extract read_level_up out of ebml_read_element_id

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

dfde36a3 08/05/2008 12:41 AM Aurelien Jacobs

matroskadec: remove useless levelup check

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

051ef5ce 08/05/2008 12:41 AM Aurelien Jacobs

matroskadec: remove useless check for cluster presence

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

28ba69e0 08/05/2008 12:41 AM Aurelien Jacobs

matroskadec: cosmetics: placement of 'else if'

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

7eb9b068 08/05/2008 12:41 AM Aurelien Jacobs

matroskadec: remove some useless empty lines

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

5efc8ec8 08/05/2008 12:41 AM Aurelien Jacobs

matroskadec: remove some useless or out of date comments

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

8f35a2c0 08/05/2008 12:41 AM Aurelien Jacobs

matroskadec: cosmetics

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

c171af9b 08/05/2008 12:41 AM Aurelien Jacobs

matroskadec: remove unused struct name

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

1e49ee42 08/05/2008 12:41 AM Aurelien Jacobs

matroskadec: remove now unused context fields

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

70109c0d 08/05/2008 12:41 AM Aurelien Jacobs

matroskadec: remove useless initialization

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

16f97ab0 08/05/2008 12:41 AM Aurelien Jacobs

matroskadec: cosmetics: remove useless braces

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

3143f133 08/05/2008 12:41 AM Aurelien Jacobs

matroskadec: remove some unused ebml funcs

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

209472b4 08/05/2008 12:41 AM Aurelien Jacobs

matroskadec: use generic parser to parse clusters

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

f06a4886 08/05/2008 12:41 AM Aurelien Jacobs

matroskadec: use generic parser inside matroska_execute_seekhead()

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

ce6f28bd 08/05/2008 12:40 AM Aurelien Jacobs

matroskadec: use generic parser to parse matroska from toplevel

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

9c25bafa 08/05/2008 12:40 AM Aurelien Jacobs

matroskadec: move context settings to matroska_read_header()

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

d88d806b 08/05/2008 12:40 AM Aurelien Jacobs

matroskadec: cosmetics: indentation of matroska_read_header()

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

9a9a3b03 08/05/2008 12:40 AM Aurelien Jacobs

matroskadec: move declaration to upper block

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

a636a56b 08/05/2008 12:40 AM Aurelien Jacobs

matroskadec: invert a test

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

4348571b 08/05/2008 12:40 AM Aurelien Jacobs

matroskadec: cosmetics: indentation of matroska_execute_seekhead()

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

82113343 08/05/2008 12:40 AM Aurelien Jacobs

matroskadec: remove useless dummy_level variable

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

13b350a3 08/05/2008 12:40 AM Aurelien Jacobs

matroskadec: use generic parser to parse seekhead

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

8ecdab8f 08/05/2008 12:40 AM Aurelien Jacobs

matroskadec: declare var where it's used

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

2cbc8811 08/05/2008 12:40 AM Aurelien Jacobs

matroskadec: use generic parser to parse tracks

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

29708581 08/05/2008 12:40 AM Aurelien Jacobs

matroskadec: use generic parser to parse info

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

b414cb89 08/05/2008 12:40 AM Aurelien Jacobs

matroskadec: use generic parser to parse attachments

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

6bbd7c7b 08/05/2008 12:40 AM Aurelien Jacobs

matroskadec: use generic parser to parse chapters

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

434d496a 08/05/2008 12:40 AM Aurelien Jacobs

matroskadec: use generic parser to parse tags

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

e5929fdf 08/05/2008 12:40 AM Aurelien Jacobs

matroskadec: use generic parser to parse index

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

009ecd50 08/05/2008 12:40 AM Aurelien Jacobs

matroskadec: return pointer instead of index in matroska_find_track_by_num()

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

28f450a9 08/05/2008 12:40 AM Aurelien Jacobs

matroskadec: create new AVStream earlier

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

fc4d335f 08/05/2008 12:40 AM Aurelien Jacobs

matroskadec: store an AVStream pointer instead of a stream index

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

63511324 08/05/2008 12:40 AM Aurelien Jacobs

matroskadec: use generic ebml parser to parse ebml header

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

789ed100 08/05/2008 12:40 AM Aurelien Jacobs

matroskadec: add an ebml generic parser

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

6e35ae2a 08/05/2008 12:39 AM Aurelien Jacobs

matroskadec: remove unused is_bframe flag

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

4eff9743 08/05/2008 12:39 AM Aurelien Jacobs

matroskadec: simplify flag default

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

ead30062 08/05/2008 12:39 AM Aurelien Jacobs

matroskadec: remove storage of various unused flags

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

5f8e0227 08/05/2008 12:39 AM Aurelien Jacobs

matroskadec: use more robust av_strlcpy() instead of strcpy()

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

f009e36f 07/27/2008 03:11 PM Aurelien Jacobs

matroska: add support for V_QUICKTIME track type

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

5e8477b0 06/22/2008 03:52 PM Evgeniy Stepanov

matroskadec: decode track private data if needed
original patch by Evgeniy Stepanov eugeni.stepanov at gmail dot com

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

935ec5a1 06/22/2008 03:49 PM Evgeniy Stepanov

matroskadec: move buffer decoding code to a separate function
original patch by Evgeniy Stepanov eugeni.stepanov at gmail.com

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

51e1cc16 06/22/2008 03:46 PM Aurelien Jacobs

matroskadec: fix a memory leak

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

ded4241b 06/16/2008 11:11 PM Aurelien Jacobs

matroskadec: remove some useless code

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

de6a9a26 06/11/2008 07:54 PM Joakim Plate

matroskadec: set cur_dts after seek
patch by elupus elupus at ecce dot se

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

03b9d94e 06/04/2008 11:24 PM Aurelien Jacobs

matroskadec: remove some useless code

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

e9b56825 06/04/2008 11:15 PM Aurelien Jacobs

cosmetics: indentation

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

fc4738ae 06/04/2008 11:11 PM Aurelien Jacobs

matroskadec: don't remove dummy level when none was added

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

401cdd51 06/03/2008 03:14 PM Aurelien Jacobs

adjust comment to reality

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

94f6c011 06/03/2008 03:09 PM Aurelien Jacobs

matroskadec: sane default value for track->time_scale

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

ff2c222c 06/02/2008 11:37 PM Aurelien Jacobs

matroskadec: fix potential mem leak
may or may not fix CID134 and CID135

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

34ae4097 06/02/2008 11:27 PM Aurelien Jacobs

matroskadec: avoid potential mem leak
fix CID120

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

fe53fa25 06/02/2008 11:07 PM Aurelien Jacobs

reorganize matroska_add_stream() to fix potential mem leak and buffer overflow
fix CID44

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

4b3dc529 06/02/2008 11:01 PM Aurelien Jacobs

matroskadec: move ARRAY_SIZE() macro at top of the file

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

934b910b 06/01/2008 02:41 PM Aurelien Jacobs

matroskadec: use the proper timestamp scaling for index entries

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

7ff97085 06/01/2008 01:54 PM Anton Khirnov

matroskadec: read TrackTimecodeScale and set timebase accordingly
patch by Anton Khirnov wyskas at gmail dot com

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

cdae8eec 06/01/2008 01:39 PM Anton Khirnov

matroskadec: silently discard some element ID that we don't care about
patch by Anton Khirnov wyskas at gmail dot com

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

9bf8b562 05/28/2008 09:22 PM Michael Niedermayer

Dead code removal, fixes CID59 RUN2.

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

abd2256d 05/23/2008 06:15 PM Michael Niedermayer

Pass time_base as argument to new_chapter() as well.
This fixes the wrong timebase the matroska demuxer had after my previous commits.
Maybe we should reduce new_chapter() to just (AVFormatContext, int id) ?

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

5c37f43a 05/23/2008 01:14 PM Michael Niedermayer

Make ff_new_chapter() return AVChapter instead of int so its consistant with
av_new_program() and its simpler to set other fields in AVChapter which arent
set by ff_new_chapter().

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

7a2a3e8e 05/23/2008 01:02 PM Michael Niedermayer

Add id to AVChapter, untested (where do i find matroska files with chapters?).

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

30897e76 05/23/2008 11:47 AM Aurelien Jacobs

don't set a dummy chapter title when title is unknown

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

ad9d62ef 05/22/2008 11:04 PM Aurelien Jacobs

matroskadec: allows inserting chapters with unspecified end

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

f5275b3c 05/22/2008 10:07 PM Anton Khirnov

demux chapters out of matroska
patch by Anton Khirnov wyskas at gmail dot com

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

54dddf09 05/15/2008 11:12 PM Aurelien Jacobs

matroskadec: add support for bzlib compressed tracks

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

2f79b4e8 05/13/2008 11:33 PM Aurelien Jacobs

add missing \n in av_log message

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

fbb878ce 05/13/2008 11:32 PM Aurelien Jacobs

matroskadec: add support for zlib compressed tracks

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

e3227b3f 05/13/2008 03:42 PM Carl Eugen Hoyos

Add MATROSKA_TRACK_TYPE_NONE.
Fixes icc warning #188: enumerated type mixed with another type

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

b9a7da77 05/09/2008 01:59 AM Aurelien Jacobs

use enum type instead of int

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

db262126 05/09/2008 01:54 AM Aurelien Jacobs

cosmetics: indentation

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

de3230fb 05/09/2008 01:53 AM Aurelien Jacobs

matroskadec: add support for lzo compressed tracks

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

5d2b12f6 05/08/2008 11:11 PM Aurelien Jacobs

matroskadec: fail gracefully when seeking don't work

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

53a1e82b 05/08/2008 09:47 PM Aurelien Jacobs

matroskadec: add support for track content encoding
Only the header strip method is supported for now.

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

159ef4b0 04/19/2008 05:07 PM Vladimir Voroshilov

Implement FFMAX3 - maximum over three arguments.

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

7bfacd4e 04/02/2008 09:41 PM Aurelien Jacobs

use common aac sample rate tables

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

2d1cb025 03/31/2008 08:16 PM Aurelien Jacobs

check return value of matroska_find_track_by_num (fix a segfault)

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

074ac3c2 03/10/2008 09:23 PM Aurelien Jacobs

add out of bound stream index checks
fix issue379

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

6ed4eec5 03/10/2008 09:09 PM Aurelien Jacobs

add a temporary variable to simplify the code

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

90c2295b 03/07/2008 07:25 PM Evgeniy Stepanov

Add 'disposition' bitfield to AVStream and use it for both muxing and demuxing
of matroska and nut.

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

37e4979a 02/04/2008 01:04 AM Michael Niedermayer

Remove incorrect cast found by -Wwrite-strings.

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

f8d7c9d3 01/27/2008 03:43 PM Evgeniy Stepanov

Add support for Matroska attachments.
patch by eugeni dot stepanov at gmail.com and myself

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

4f632b06 01/07/2008 12:03 AM Aurelien Jacobs

Make ff_mkv_codec_tags lie entirely in .rodata section.
From: Diego 'Flameeyes' Pettenò < flameeyes at gmail dot com >

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

e2997274 01/02/2008 05:17 PM Aurelien Jacobs

move num_packets=0 where it belongs

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

f9a9b350 12/29/2007 08:49 PM Evgeniy Stepanov

export raw SSA tracks with their own codec ID (patch by Evgeniy Stepanov)

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

243cc4c3 12/29/2007 06:35 PM Aurelien Jacobs

clear internal queue when seeking

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