Aurelien Jacobs
f06a488647
matroskadec: use generic parser inside matroska_execute_seekhead()
...
Originally committed as revision 14572 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
ce6f28bd35
matroskadec: use generic parser to parse matroska from toplevel
...
Originally committed as revision 14571 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
9c25bafacb
matroskadec: move context settings to matroska_read_header()
...
Originally committed as revision 14570 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
d88d806bd1
matroskadec: cosmetics: indentation of matroska_read_header()
...
Originally committed as revision 14569 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
9a9a3b03a6
matroskadec: move declaration to upper block
...
Originally committed as revision 14568 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
a636a56bf4
matroskadec: invert a test
...
Originally committed as revision 14567 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
4348571b1a
matroskadec: cosmetics: indentation of matroska_execute_seekhead()
...
Originally committed as revision 14566 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
82113343a7
matroskadec: remove useless dummy_level variable
...
Originally committed as revision 14565 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
13b350a3a4
matroskadec: use generic parser to parse seekhead
...
Originally committed as revision 14564 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
8ecdab8f5a
matroskadec: declare var where it's used
...
Originally committed as revision 14563 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
2cbc8811ab
matroskadec: use generic parser to parse tracks
...
Originally committed as revision 14562 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
29708581fc
matroskadec: use generic parser to parse info
...
Originally committed as revision 14561 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
b414cb892e
matroskadec: use generic parser to parse attachments
...
Originally committed as revision 14560 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
6bbd7c7b79
matroskadec: use generic parser to parse chapters
...
Originally committed as revision 14559 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
434d496a8a
matroskadec: use generic parser to parse tags
...
Originally committed as revision 14558 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
e5929fdf62
matroskadec: use generic parser to parse index
...
Originally committed as revision 14557 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
009ecd504e
matroskadec: return pointer instead of index in matroska_find_track_by_num()
...
Originally committed as revision 14556 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
28f450a992
matroskadec: create new AVStream earlier
...
Originally committed as revision 14555 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
fc4d335f6d
matroskadec: store an AVStream pointer instead of a stream index
...
Originally committed as revision 14554 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
6351132435
matroskadec: use generic ebml parser to parse ebml header
...
Originally committed as revision 14553 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
789ed100d7
matroskadec: add an ebml generic parser
...
Originally committed as revision 14552 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
6e35ae2a74
matroskadec: remove unused is_bframe flag
...
Originally committed as revision 14551 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
4eff97439b
matroskadec: simplify flag default
...
Originally committed as revision 14550 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
ead3006257
matroskadec: remove storage of various unused flags
...
Originally committed as revision 14549 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
5f8e022701
matroskadec: use more robust av_strlcpy() instead of strcpy()
...
Originally committed as revision 14548 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
f009e36f75
matroska: add support for V_QUICKTIME track type
...
Originally committed as revision 14429 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Evgeniy Stepanov
5e8477b011
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
17 years ago
Evgeniy Stepanov
935ec5a1d5
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
17 years ago
Aurelien Jacobs
51e1cc16d3
matroskadec: fix a memory leak
...
Originally committed as revision 13890 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
ded4241bb0
matroskadec: remove some useless code
...
Originally committed as revision 13783 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Joakim Plate
de6a9a2673
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
17 years ago
Aurelien Jacobs
03b9d94e86
matroskadec: remove some useless code
...
Originally committed as revision 13659 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
e9b56825be
cosmetics: indentation
...
Originally committed as revision 13658 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
fc4738ae96
matroskadec: don't remove dummy level when none was added
...
Originally committed as revision 13657 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
bde15e74de
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
17 years ago
Aurelien Jacobs
401cdd519c
adjust comment to reality
...
Originally committed as revision 13647 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
94f6c011d6
matroskadec: sane default value for track->time_scale
...
Originally committed as revision 13646 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
ff2c222c37
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
17 years ago
Aurelien Jacobs
34ae40971b
matroskadec: avoid potential mem leak
...
fix CID120
Originally committed as revision 13635 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
fe53fa253f
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
17 years ago
Aurelien Jacobs
4b3dc529f5
matroskadec: move ARRAY_SIZE() macro at top of the file
...
Originally committed as revision 13633 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
934b910ba0
matroskadec: use the proper timestamp scaling for index entries
...
Originally committed as revision 13602 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Anton Khirnov
7ff9708585
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
17 years ago
Anton Khirnov
cdae8eec10
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
17 years ago
Michael Niedermayer
9bf8b5621a
Dead code removal, fixes CID59 RUN2.
...
Originally committed as revision 13509 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
abd2256dbe
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
17 years ago
Michael Niedermayer
5c37f43a0d
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
17 years ago
Michael Niedermayer
7a2a3e8e40
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
17 years ago
Aurelien Jacobs
30897e764a
don't set a dummy chapter title when title is unknown
...
Originally committed as revision 13249 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
ad9d62ef22
matroskadec: allows inserting chapters with unspecified end
...
Originally committed as revision 13242 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago