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
Anton Khirnov
f5275b3ce7
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
17 years ago
Aurelien Jacobs
54dddf095c
matroskadec: add support for bzlib compressed tracks
...
Originally committed as revision 13177 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
2f79b4e8af
add missing \n in av_log message
...
Originally committed as revision 13152 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
fbb878ce0f
matroskadec: add support for zlib compressed tracks
...
Originally committed as revision 13151 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Carl Eugen Hoyos
e3227b3f25
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
17 years ago
Diego Biurrun
245976da2a
Use full path for #includes from another directory.
...
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
b9a7da77ec
use enum type instead of int
...
Originally committed as revision 13089 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
db26212676
cosmetics: indentation
...
Originally committed as revision 13088 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
de3230fb96
matroskadec: add support for lzo compressed tracks
...
Originally committed as revision 13087 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
5d2b12f6de
matroskadec: fail gracefully when seeking don't work
...
Originally committed as revision 13085 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
53a1e82bd2
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
17 years ago
Vladimir Voroshilov
159ef4b02a
Implement FFMAX3(a,b,c) - maximum over three arguments.
...
Originally committed as revision 12910 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
7bfacd4e75
use common aac sample rate tables
...
Originally committed as revision 12671 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
2d1cb02588
check return value of matroska_find_track_by_num (fix a segfault)
...
Originally committed as revision 12659 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
074ac3c2d0
add out of bound stream index checks
...
fix issue379
Originally committed as revision 12417 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
6ed4eec550
add a temporary variable to simplify the code
...
Originally committed as revision 12415 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Evgeniy Stepanov
90c2295b24
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
17 years ago
Michael Niedermayer
37e4979a2c
Remove incorrect cast found by -Wwrite-strings.
...
Originally committed as revision 11848 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Evgeniy Stepanov
f8d7c9d373
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
17 years ago
Aurelien Jacobs
4f632b065b
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
17 years ago
Aurelien Jacobs
e299727441
move num_packets=0 where it belongs
...
Originally committed as revision 11373 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Evgeniy Stepanov
f9a9b3509c
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
17 years ago
Aurelien Jacobs
243cc4c34a
clear internal queue when seeking
...
Originally committed as revision 11351 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
34c9c1baf4
move internal queue freeing code in its own function
...
Originally committed as revision 11350 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Gabriel Forté
b3d8c2c436
fix memory leak (patch by Gabriel Forté gforte _at_ wyplay _dot_ com)
...
Originally committed as revision 11349 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
cedb83a671
colour --> color in variable names
...
Originally committed as revision 11159 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
a660c52a7e
cosmetics: comment spelling fixes
...
Originally committed as revision 11157 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Björn Axelsson
899681cd1d
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
17 years ago
Aurelien Jacobs
ba8a76b8f8
cosmetics: reindent
...
Originally committed as revision 10830 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
b96b441ad2
Make Matroska demuxer output full frames instead of slices for RealVideo
...
Patch by Aurelien Jacobs (aurel at "... is not unix"age.org)
Thread [RFC] Feed whole frames to RV* decoders
Originally committed as revision 10824 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
David Conrad
84fa6e23fb
SimpleBlock keyframe flag is the most significant bit
...
Originally committed as revision 10274 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
fce388b4b9
cosmetic: indentation
...
Originally committed as revision 10128 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
2f3b419cf1
Don't pre-scale default_duration to avoid precision loss in fps calculation.
...
closes Issue95
Originally committed as revision 10127 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
aec783d42d
no need for special case default_duration for AAC
...
Originally committed as revision 10126 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
a92d20629c
calculate default_duration according to framerate only when not already set
...
Originally committed as revision 10125 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
9c3e2f78a0
ensure that negative block_time are properly checked
...
(workaround unsigned comparison)
Originally committed as revision 10058 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago