Reimar Döffinger
7c87a2f0c0
Set duration to AV_NOPTS_VALUE instead of 0 when unknown.
...
Set start_time to 0 when duration is known to indicate we have
valid timestamps for this track.
Originally committed as revision 5835 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-28 13:31:08 +00:00
Reimar Döffinger
bc185f72c0
Do not crash when the first frame is not a keyframe (and thus none of the
...
necessary initialization has been done yet).
Originally committed as revision 5815 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-23 18:22:29 +00:00
Reimar Döffinger
22ffac707e
Try to find out correct start time to make seeking faster and add some
...
extra checks to make sure the seeking function will not hang forever.
Originally committed as revision 5814 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-23 18:19:33 +00:00
Reimar Döffinger
8dfe90941a
Missing part of the malloc -> av_malloc patch: memalign must be replaced as well!
...
Originally committed as revision 19173 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-07-23 18:07:26 +00:00
Reimar Döffinger
aab7715910
do not include bswap.h in common.h for external programs, since the former
...
is not installed currently.
Originally committed as revision 5809 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-21 19:36:59 +00:00
Reimar Döffinger
05020c89eb
Split common.h in two parts, purely internal stuff (internal.h) and things
...
available to external programs as well.
Also make more things available to external programs like GET_UTF8, MKTAG etc.
Originally committed as revision 5765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-16 16:32:48 +00:00
Reimar Döffinger
cc0bc648f0
add GXF demuxer
...
Originally committed as revision 5598 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-03 16:32:57 +00:00
Reimar Döffinger and Kostya Shishkov
c6bb50e002
Fix initialization of vc1_decoder (the same as wmv3_decoder).
...
Patch by Reimar Doeffinger.
Originally committed as revision 5544 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-29 11:17:50 +00:00
Reimar Döffinger
0b52626eb0
Do not read full byte when less than 8 bits are still to be read.
...
Does not make a difference with any of my samples, but current
code does not make much sense.
Originally committed as revision 5533 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-27 12:13:01 +00:00
Reimar Döffinger
a5ecd69ec1
Ignore overrun in spectral RLE decoding, fixes
...
http://www.missouri.edu/~bah347/gprime/nintendothemesacappellax.wmv
Originally committed as revision 5532 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-27 12:09:58 +00:00
Reimar Döffinger
a7b286e89c
read_packet return value must be < 0 when no packet is returned, including EOF.
...
Originally committed as revision 5466 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-11 10:09:33 +00:00
Reimar Döffinger
065ee1ec32
fix variable type used via "m" asm constraint to match size used in asm.
...
fixes crashes on AMD64.
Originally committed as revision 18576 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2006-06-05 10:51:58 +00:00
Reimar Döffinger
902c748ce5
change the type of esp in SwsContext to uint64_t so it can hold a full register
...
also on 64 bit systems.
Originally committed as revision 18401 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2006-05-07 18:14:49 +00:00
Reimar Döffinger
50a6c318b2
Avoid crash if there is a rtjpeg quant header but no video stream in file
...
Originally committed as revision 5305 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-20 10:38:15 +00:00
Reimar Döffinger
2d5545c302
make "size" variable in avpicture_alloc signed, since avpicture_get_size
...
returns -1 on error which was not detected with previous code.
Originally committed as revision 5304 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-19 19:51:56 +00:00
Reimar Döffinger
dfca23e361
NuppelVideo/MythTVVideo support, including rtjpeg decoder
...
Originally committed as revision 5232 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-27 22:22:50 +00:00
Reimar Döffinger
f53a2931cf
faster copy functions for lzo decoder that also need padding
...
Originally committed as revision 4882 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-22 19:10:12 +00:00
Reimar Döffinger
d3c71c5002
10l, get_byte returning 0 on error can cause a hang. So let's try with 1 instead...
...
Originally committed as revision 4862 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-15 21:33:06 +00:00
Reimar Döffinger
a9318df2f8
get_byte may not return -1 on error, since it can lead to a negative backptr.
...
Originally committed as revision 4854 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-14 14:59:11 +00:00
Reimar Döffinger
d66fbc14de
Wrong state handling causing decompression errors in some cases
...
Originally committed as revision 4852 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-14 12:55:20 +00:00
Reimar Döffinger
517840c654
Our own LZO (1X) implementation, under LGPL and optimized for readability.
...
Tested on CamStudio sample files.
Originally committed as revision 4840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-12 17:52:41 +00:00
Reimar Döffinger
e0f80bd744
CamStudio decoder, only 32 bit lzo mode is tested
...
Originally committed as revision 4836 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-09 15:41:39 +00:00
Reimar Döffinger and Roberto Togni
b6204677f6
Fix wma2 audio decoder
...
Patch by Reimar Doeffinger
Originally committed as revision 4779 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-27 19:58:04 +00:00
Reimar Döffinger
a0ed075b29
clear the whole vert_pred buffer for 24 bit decoding.
...
This is currently not needed since the decoder creates only half of the
pixels, but should reduce confusion for people fiddling with it *g*
Originally committed as revision 4687 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-10 18:05:45 +00:00
Reimar Döffinger
7f526efd17
Change unsigned->signed and int->long, this fits the asm code better on 64
...
bit systems.
Also fixes several crashes because (long)-i is incorrect if i is unsigned.
Originally committed as revision 16740 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2005-10-12 12:11:27 +00:00
Reimar Döffinger
357a28430a
check return value of decode_cabac_mb_dqp, it is INT_MIN on error.
...
fixes crash with http://stud4.tuwien.ac.at/~e0326863/ats/bbc-sample_small.mpg
and MPlayer's broken packetizer (but will not decode right of course).
Originally committed as revision 4595 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-17 08:15:07 +00:00
Reimar Döffinger
cd7af76d9e
Fix compile without CONFIG_GPL, misplaced #endif caused a missing }.
...
Originally committed as revision 4575 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-10 19:30:40 +00:00
Reimar Döffinger
6c0d606471
Document "us" parameter for PCM conversion functions.
...
Originally committed as revision 4550 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-02 20:04:03 +00:00
Reimar Döffinger
b93f738fde
Support D-Cinema audio demuxing.
...
Originally committed as revision 4549 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-02 19:18:59 +00:00
Reimar Döffinger
b461b3bc4a
Support de-/encoding of 24 and 32 bit PCM (from and to internal 16 bit).
...
Originally committed as revision 4548 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-02 19:16:48 +00:00
Reimar Döffinger
cad4368af7
Add missing +1 in bounds check.
...
Originally committed as revision 4465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-22 09:01:47 +00:00
Reimar Döffinger
4eecd5bc66
reset restart_count when restart_interval is set and fill the
...
MJpegDecodeContext with 0 on init.
Originally committed as revision 4464 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-22 08:48:00 +00:00
Reimar Döffinger
c35afa2f57
Another REG_d -> REG_D fix.
...
Originally committed as revision 15846 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2005-06-28 22:54:09 +00:00
Reimar Döffinger
0ce5275d78
100l, forgot to change an ifdef on last commit
...
Originally committed as revision 14784 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2005-02-23 14:07:18 +00:00
Reimar Döffinger
113ef149fd
fix for MAP_ANON vs. MAP_ANONYMOUS fix...
...
Originally committed as revision 14762 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2005-02-22 14:40:44 +00:00
Reimar Döffinger
790409c949
Compile fix on non-x86
...
Originally committed as revision 14631 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2005-02-01 09:00:12 +00:00
Reimar Döffinger
b6663a5573
100l, fix broken AMD64 patch. To whoever applied it: Did you actually _try_
...
to check if it's correct??
Originally committed as revision 14537 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2005-01-19 12:56:16 +00:00
Reimar Döffinger
4ccbc7d5a9
width instead of chromWidth causing segfault in some cases
...
Originally committed as revision 12994 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2004-08-10 20:23:58 +00:00