Statistics
| Branch: | Revision:

ffmpeg / libavformat / matroskadec.c @ 96445426

History | View | Annotate | Download (59.5 KB)

# Date Author Comment
5df3cc6f 08/13/2008 09:15 PM Aurelien Jacobs

matroskadec: list some more ebml IDs found in the wild and that we ignore
This avoid printing some warnings about unknow IDs while we in fact know
the IDs but just want to knowingly ignore them.

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

131f1cb2 08/13/2008 09:36 AM Aurelien Jacobs

matroskadec: parse available blocks even when cluster parsing failed
This way, we still read the few complete blocks out of a truncated
cluster at the end of a truncated file.

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

44015c56 08/08/2008 11:50 PM Aurelien Jacobs

matroskadec: add basic tags support (metadata)

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

00a3431c 08/06/2008 12:21 AM Aurelien Jacobs

matroskadec: use av_freep(&x) instead of av_free(x);x=NULL

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

b8702539 08/06/2008 12:17 AM Anton Khirnov

matroskadec: replace matroska_queue_packet with a single call to dynarray_add
patch by Anton Khirnov wyskas at gmail dot com

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

5968d2dd 08/05/2008 08:28 AM Diego Biurrun

misc spelling/grammar fixes

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

cc70d14b 08/05/2008 12:43 AM Aurelien Jacobs

matroskadec: remove useless num_streams

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

88cca989 08/05/2008 12:42 AM Aurelien Jacobs

matroskadec: expand useless ebml_read_element_id() wrapper

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

33ac07ea 08/05/2008 12:42 AM Aurelien Jacobs

matroskadec: simplify matroska_ebmlnum_sint()

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

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

matroskadec: implement matroska_ebmlnum_uint() using ebml_read_num()

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

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

matroska: expand useless define for MS compat codec id strings

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

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

matroskadec: update copyright year and related comments

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

737c40da 08/05/2008 12:42 AM Aurelien Jacobs

matroskadec: reorder some functions in a more logical order

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

1b6d23bb 08/05/2008 12:42 AM Aurelien Jacobs

matroskadec: remove now useless wrapper ebml_read_element_length()

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

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

matroskadec: remove now useless wrapper ebml_read_seek()

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

5c5373ce 08/05/2008 12:42 AM Aurelien Jacobs

matroskadec: remove now useless peek_id

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

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

matroskadec: don't try to re-read already parsed ID in matroska_parse_cluster()

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

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