Luca Abeni
e8d658df34
Fix the poll() loop (ret == 0 means that a timeout expired, so it must be
...
handled)
Originally committed as revision 8711 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Luca Abeni
7e665cd3ff
Fix the generation of RTSP reply headers (the "DEF()" macro is not used
...
anymore in rtspcodes.h)
Originally committed as revision 8710 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
c4fe61ff87
add D-10 PAL 40 audio essence container ul
...
Originally committed as revision 8709 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
088e827a96
add D-10 PAL 40 ul
...
Originally committed as revision 8708 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
7fdcdf25a1
cosmetics: indentation
...
Originally committed as revision 8707 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Luca Barbato
1f1aadc37c
ssd_int8_vs_int16_altivec, not completely benchmarkedwith svq1
...
Originally committed as revision 8706 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ivo van Poorten
6db140ddb4
cosmetics after last commit
...
Originally committed as revision 8705 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ivo van Poorten
201df5a19f
Add support for grayscale images with arbitrary maxvals.
...
The image data is rescaled to the nearest pix_fmt it will fit in (gray8 or
gray16). Conversion is done inside the codec in order to avoid the need
for 14 (or 65534) new pix_fmt's.
Originally committed as revision 8704 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Marco Gerards
e457023a95
Fix an underflow/overflow that was causing some crackles when playing
...
certain THP files.
patch by Marco Gerards, mgerards xs4all nl
Originally committed as revision 8703 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Kostya Shishkov
44942d52b6
Set C predictor to zero if unavailable (should fix B-frame border artifacts)
...
Originally committed as revision 8702 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
c4a7b86100
superflouos ()
...
Originally committed as revision 8701 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
0ddfb84d6d
remove code_prefix variable, no speed change
...
Originally committed as revision 8700 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
adf6640c8c
simplify
...
Originally committed as revision 8699 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
6207bb209e
add support for seeking to a keyframe instead of a random frame
...
Originally committed as revision 8698 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
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