Aurelien Jacobs
79f2634686
add an intermediate variable (prepare for next patch)
...
Originally committed as revision 8697 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
cca9b6cdb3
add support for seeking in matroska files
...
Originally committed as revision 8696 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
df06539a25
move matroska_find_track_by_num() upper in the file
...
so that it can be used by other part of the code
Originally committed as revision 8695 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
67545b0ce6
cluster position is relative to segment_start
...
Originally committed as revision 8694 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
01344104c1
properly set streams start_time
...
Originally committed as revision 8693 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
8e7a7e6a01
remove unused context field
...
Originally committed as revision 8692 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
794857ae45
remove wrong and no more used packet reordering code
...
Originally committed as revision 8691 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reinhard Nissl
ad1ea1f155
When dst_length == 0 bit_length has to be 0, too, but the current code still
...
calls decode_rbsp_trailing() and therefore bit_length might get negative.
Although the remaining code is able to handle a negative bit_length, avoid
the calculation at all by setting bit_length to 0 for dst_length == 0.
patch by Reinhard Nissl, rnissl gmx de
Originally committed as revision 8690 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reinhard Nissl
6ac9696e77
Remove a NAL unit's trailing zero bytes even when dst_length is 1.
...
Consider the following byte sequence
00 00 01 0a 00 00 00 01 09 ...
^ ^
A B
decode_nal() determines dst_length to be 1 (i. e. the byte between label
A and B above). However, this byte is a trailing zero byte as the spec
says the the current NAL unit is terminated by a byte sequence 00 00 00.
The current code used a loop to decrement dst_length accordingly. But the
loop doesn't start as the loop condition checks for dst_length > 1, which
should read dst_length > 0.
patch by Reinhard Nissl, rnissl gmx de
Originally committed as revision 8689 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reinhard Nissl
ff82e429cb
scenario: A properly coded frame is followed by an end of sequence NAL unit,
...
i.e. the four bytes 00 00 01 0a.
When decode_nal() decodes the end of sequence NAL unit, it returns with
dst_length == 0. The original code leads to a return -1 which discards
the current properly decoded frame.
patch by Reinhard Nissl, rnissl gmx de
Originally committed as revision 8688 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Nicholas Tung
e4141433ea
Get rid of unnecessary pointer casts.
...
patch by Nicholas Tung, ntung ntung com
Originally committed as revision 8687 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Stefan Huehner
119e48d960
Make some functions which aren't used outside their declaring source file
...
and have no prototype in a header file static.
patch by Stefan Huehner, stefan huehner org
Originally committed as revision 8686 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
597cbdaf03
Only compile in Theora-specific functions if the Theora decoder has been
...
enabled. Also fixes some "defined but not used" warnings in that case.
Originally committed as revision 8685 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
6f6a3e2acb
cosmetics: Move one code block to save an #ifdef in the next commit.
...
Originally committed as revision 8684 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
d7455a1c18
Remove #if 0 code.
...
Originally committed as revision 8683 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
51cea49ab4
Fix compilation when Theora decoder is disabled, but VP3 is enabled.
...
Originally committed as revision 8682 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
0339fab8fc
Remove unused variable.
...
Originally committed as revision 8681 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Marco Gerards
90f2a1a03c
cosmetics: indentation fix
...
patch by Marco Gerards, mgerards xs4all nl
Originally committed as revision 8680 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
ac5565d88c
file extension based probe is max/2
...
Originally committed as revision 8679 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
65a00bd65a
factorize
...
Originally committed as revision 8678 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
87e8788680
allocate 32 extra bytes at the end of the probe buffer and remove most probe buf_size checks
...
Originally committed as revision 8677 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
f118d254be
also remove c93_ prefix for static function in the c93 demuxer
...
Originally committed as revision 8676 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
fb12fca35b
factorize & 0x0F
...
Originally committed as revision 8675 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
bee4f778ae
remove c93_ prefix from static functions in c93.c
...
Originally committed as revision 8674 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
3e62d187ed
s/rle_num_bytes/code/
...
shorter and correcter (its not the number of anything)
Originally committed as revision 8673 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
fee9e80550
align vertically
...
Originally committed as revision 8672 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
43769d722a
shorter variable names
...
Originally committed as revision 8671 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
bbbd775714
general purpose var should be int
...
Originally committed as revision 8670 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
f858c24fb3
simplify
...
Originally committed as revision 8669 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
a7c405a48a
conform to spec
...
Originally committed as revision 8668 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
bce317498b
remove redundant comments
...
Originally committed as revision 8667 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
b0094722b2
remove useless debuging av_log()
...
Originally committed as revision 8666 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
dc338d173e
indention cleanup
...
Originally committed as revision 8665 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
d7cf44899f
use shorter names for the block type enum
...
Originally committed as revision 8664 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
ee77c2c922
cosmetic
...
Originally committed as revision 8663 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
905234285d
code claims to use 32bit timestamp, lets make it also use that
...
Originally committed as revision 8662 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
8bb57775e8
remove redundant comments
...
Originally committed as revision 8661 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
955629c0e8
remove inappropriate debuging av_log() alternatively they could be changed to dprintf()
...
Originally committed as revision 8660 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
373209f816
memleak (seems ive missed that under the obfuscated indention)
...
Originally committed as revision 8659 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
d5c5c8b4d3
sane indention (no more 3 statements on one line...)
...
Originally committed as revision 8658 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
949ed6bb30
use bytestream reader instead of bitstream for THP
...
5% smaller adpcm.o
20% faster
Originally committed as revision 8657 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Anssi Hannula
8e952e4d23
CRYO APC demuxer
...
patch by Anssi Hannula, anssi.hannula gmail com
Originally committed as revision 8656 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
204424a4c7
simplify
...
Originally committed as revision 8655 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
b736a365be
prev1/2 -> prev[2]
...
Originally committed as revision 8654 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
11d662666d
simplify
...
Originally committed as revision 8653 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
d9ddac2579
general purpose vars should be int
...
Originally committed as revision 8652 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
20f757076e
table[index][ch] -> table[ch][index] (might be faster ...)
...
Originally committed as revision 8651 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
8845202e8a
Add THP video and audio decoders.
...
Originally committed as revision 8650 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Nicholas Tung
1e6c67599e
Bethsoft VID demuxer and video decoder
...
patch by Nicholas Tung, ntung ntung com
Originally committed as revision 8649 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ivo van Poorten
e5b5149603
Fix segmentation fault for gray16le to gray conversion.
...
Originally committed as revision 8648 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago