Carl Eugen Hoyos
eacced45c4
Replace some occurrences of -1 with PIX_FMT_NONE.
...
Fixes icc warning #188 : enumerated type mixed with another type
Originally committed as revision 13130 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-11 22:28:43 +00:00
Stefano Sabatini
6140271f54
Add some long names to AVCodec declarations.
...
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13017 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-29 07:24:44 +00:00
Michael Niedermayer
9b7ca3b71d
Decode stuff from extradata as well.
...
Originally committed as revision 12675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-03 18:28:16 +00:00
Michael Niedermayer
7f8ef97534
Factorize code a little.
...
Originally committed as revision 12674 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-03 18:25:07 +00:00
Zuxy Meng
98a6fff98c
Apply 'cold' attribute to init/uninit functions in libavcodec
...
Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-21 03:11:20 +00:00
Diego Biurrun
b2c26e2717
Use correct t printf modifier for pointer differences.
...
Originally committed as revision 12442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-14 13:19:39 +00:00
Baptiste Coudurier
99c763d143
log aspect ratio forbidden value, and fail if error resilience is high
...
Originally committed as revision 12438 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-14 09:33:38 +00:00
Baptiste Coudurier
a2338352be
do not fail badly if aspect ratio is 0/forbidden, fix issue 369
...
Originally committed as revision 12434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-13 18:26:53 +00:00
Aurelien Jacobs
9701840bb5
add FF_ prefix to all (frame)_TYPE usage
...
Originally committed as revision 12399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-09 23:31:02 +00:00
Michael Niedermayer
21da962cf1
Make find_frame_end() merge 2 mpeg2 field pictures. This should make mpeg2
...
field pictures much more digestable.
Originally committed as revision 12160 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-20 19:45:38 +00:00
Michael Niedermayer
0521808158
Reduce the number of senselessly scanned bytes.
...
Originally committed as revision 12144 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 15:55:14 +00:00
Michael Niedermayer
e68c7a4abe
const
...
Originally committed as revision 11710 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:34:43 +00:00
Michael Niedermayer
9bd005bdbc
Drop non key frames before the first key frame.
...
Originally committed as revision 11411 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 01:14:09 +00:00
Stefan Lucke
b8a9dfb7f6
Prevent infinite loop when buffer holds SEQ_END_CODE only. Fix for r9870
...
Patch by Stefan Lucke <stefan <at> lucke.in-berlin.de>
Subject: API breakage by r9870
Date: 2007-10-05 11:06:47 GMT
http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/57467
Originally committed as revision 10720 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-13 01:34:00 +00:00
Michael Niedermayer
4e2b9bcc08
Make MPEG-1/2 decoder work with the libmpeg2-style bitstream reader.
...
Originally committed as revision 9890 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 11:01:11 +00:00
Michael Niedermayer
392b748293
output last frame if seq end code is encountered
...
fixes video decoding of AC3TEST.vob
closes issue19
Originally committed as revision 9870 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-02 20:49:42 +00:00
Michael Niedermayer
037df60e05
simplify s->mv_dir init
...
Originally committed as revision 9867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-02 01:28:37 +00:00
Michael Niedermayer
653f738780
exchange the values of MV_DIR_FORWARD and MV_DIR_BACKWARD (this is more sane,
...
matches the order of some other stuff and allows some simplifications)
Originally committed as revision 9864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 22:12:52 +00:00
Michael Niedermayer
04b502fa36
exchange if() and for() in the MT_FIELD case
...
18 cpu cycles faster for matrixbench
Originally committed as revision 9863 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 21:17:26 +00:00
Michael Niedermayer
f4fbcd33d9
exchange for() and if() order in the MT_FRAME case
...
safes 24 cpu cycles
Originally committed as revision 9862 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 21:05:58 +00:00
Michael Niedermayer
356ab1dace
change
...
for(){
if(){
switch(){
to
switch(){
for(){
if(){
this halfs the number of times the switch is executed in bidir blocks, in
other blocks the number is the same
25 cpu cycles less with matrixbench on duron
Originally committed as revision 9860 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 20:37:41 +00:00
Michael Niedermayer
2952d13ad5
merge another 2 if() to save a few cpu cycles
...
Originally committed as revision 9858 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 20:04:12 +00:00
Michael Niedermayer
09d1bee89e
reorder if() so that the condition can be simplified
...
saves another 4 cpu cycles
Originally committed as revision 9857 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 19:37:28 +00:00
Michael Niedermayer
0ac6b5a301
merge/simplify 2 if()
...
~4 cpu cylces faster for the matrixbench video
Originally committed as revision 9856 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 19:26:24 +00:00
Michael Niedermayer
fecc146b28
merge 2 if()
...
this safes 1-2 cpu cycles
Originally committed as revision 9855 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 19:17:36 +00:00
Michael Niedermayer
01e795aba3
move some code which was executed for every skipped MB so it is only executed
...
for the first skipped mb in a run
Originally committed as revision 9845 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-31 21:39:09 +00:00
Michael Niedermayer
4152c5ce14
get rid of a useless variable
...
Originally committed as revision 9844 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-31 21:00:17 +00:00
Michael Niedermayer
7ceab4af35
avoid 2 additions (1 cpu cycle) per MB
...
Originally committed as revision 9843 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-31 20:52:49 +00:00
Michael Niedermayer
5bfbf0a54f
chroma_qscale seems not used anywhere for mpeg1/2 so do not waste cpu time setting it
...
Originally committed as revision 9842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-31 20:44:48 +00:00
Aurelien Jacobs
eaa7557c73
add proper ff_ prefix to new extern symbols
...
Originally committed as revision 9479 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 09:21:55 +00:00
Aurelien Jacobs
a6bc573158
split mpeg12 encoder out of mpeg12.c
...
Originally committed as revision 9477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 09:08:28 +00:00
Michael Niedermayer
28bf121a22
get rid of one unneeded #ifdef HAVE_XVMC
...
Originally committed as revision 9389 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-22 17:18:58 +00:00
Diego Biurrun
90b5b51eab
misc typo fixes
...
Originally committed as revision 9291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 18:50:50 +00:00
Diego Biurrun
755bfeabcc
misc spelling fixes
...
Originally committed as revision 9289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 09:29:25 +00:00
Aurelien Jacobs
ab8072a6a2
move imx_dump_header bitstream filter in its own file
...
Originally committed as revision 9067 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 00:44:41 +00:00
Jason Millard
cd61e40781
allow to enable or disable every bitstream filters individually
...
Original patch by Jason Millard jsm174 _at_ gmail
Date: On Fri, 11 May 2007 11:14:01 -0400
Subject: [FFmpeg-devel] enable/disable bitstream filters?
Originally committed as revision 9010 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-12 23:33:53 +00:00
Aurelien Jacobs
c53d2d9042
make some parser parameters const to avoid casting const to non-const
...
Originally committed as revision 8921 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-07 00:47:03 +00:00
Aurelien Jacobs
95dca03f77
add a ff_ prefix to the now exported mpeg1_find_frame_end() function
...
Originally committed as revision 8902 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-05 18:25:02 +00:00
Aurelien Jacobs
7f50d4ac51
move mpegvideo_parser in it's own file
...
Originally committed as revision 8901 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-05 18:18:51 +00:00
Heikki Lindholm
29644cb504
make mpeg decoder handle mid-stream changes in resolution
...
patch by Heikki Lindholm holindho at cs helsinki fi
original thread: [Ffmpeg-devel] [PATCH] fix mid-stream resolution changes
date: Sat Mar 31 13:52:50 CEST 2007
Originally committed as revision 8865 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-02 08:18:28 +00:00
Diego Biurrun
e42dba481f
typos/grammar
...
Originally committed as revision 8641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 14:09:20 +00:00
Michael Niedermayer
f78da6d64f
10l to whoever wrote this
...
Originally committed as revision 8403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-14 13:20:29 +00:00
Michael Niedermayer
3502a54f59
kill av_mallocz_static() calls in init_rl()
...
Originally committed as revision 8402 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-14 13:19:19 +00:00
Michael Niedermayer
5ac0915179
dont malloc() static mv_penalty arrays
...
Originally committed as revision 8389 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 22:47:05 +00:00
Michel Bardiaux
318c5e0524
Give context to dprintf
...
Originally committed as revision 8338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 12:36:41 +00:00
Baptiste Coudurier
39076e27de
fix drop frame timecode flag
...
Originally committed as revision 8296 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 18:25:47 +00:00
Baptiste Coudurier
92d6b7fda2
imx dump header bitstream filter, modifies bitstream to fit in mov and be decoded by final cut pro decoder
...
Originally committed as revision 8218 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 02:59:11 +00:00
Baptiste Coudurier
5a6b9443ed
dummy support for mpeg2 non linear quant
...
Originally committed as revision 8215 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 02:26:20 +00:00
Michael Niedermayer
960964f5a9
fix segfault with lol-ffplay2.mpg (dunno if this is exploitable, probably not easily)
...
Originally committed as revision 7889 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 02:21:34 +00:00
Baptiste Coudurier
09d7aa7e30
correctly set profile/level for hd
...
Originally committed as revision 7795 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-01 09:47:36 +00:00
Michael Niedermayer
0e066acb62
fix segfault with http://sam.zoy.org/zzuf/lol-ffplay.mpg and http://sam.zoy.org/zzuf/lol-ffplay.m2v
...
Originally committed as revision 7538 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-15 23:26:09 +00:00
Måns Rullgård
849f10351d
rename always_inline to av_always_inline and move to common.h
...
Originally committed as revision 7256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-08 00:35:08 +00:00
Måns Rullgård
7b7abda3b3
make more tables static
...
Originally committed as revision 6996 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-12 23:14:20 +00:00
Baptiste Coudurier
9d210bb42b
typo
...
Originally committed as revision 6934 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-07 13:50:41 +00:00
Baptiste Coudurier
80d617f5b4
add option to set mpeg1/2 gop timecode start, and drop frame flag timecode flag
...
Originally committed as revision 6933 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-07 13:45:08 +00:00
Baptiste Coudurier
7d6b1abe1a
rename ff_mpeg1_find_frame_end to mpeg1_find_frame_end and make it static
...
Originally committed as revision 6915 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-06 10:46:54 +00:00
Baptiste Coudurier
4067d81be2
move AVCodecParser prototypes and definitions to parser.h, and move mpegvideo parser to mpeg12.c
...
Originally committed as revision 6914 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-06 10:43:49 +00:00
Steve L'Homme
e344c1ea36
reindentation, patch by From: Steve Lhomme, slhomme divxcorp com
...
Originally committed as revision 6864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-01 21:09:14 +00:00
Michael Niedermayer
5d48f0cb05
set v_edge_pos correctly for field picture mpeg2
...
Originally committed as revision 6782 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-24 07:33:39 +00:00
Diego Biurrun
c26abfa541
Rename ABS macro to FFABS.
...
Originally committed as revision 6666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 23:17:58 +00:00
Diego Biurrun
b78e7197a8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
...
and fix GPL/LGPL version mismatches.
Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-07 15:30:46 +00:00
Måns Rullgård
191e8ca752
fix some signedness warnings
...
Originally committed as revision 6355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 19:47:39 +00:00
Stefan Gehrer
761089b028
staric frame_rate_tab -> non static ff_frame_rate_tab part of the cavs patch by (Stefan Gehrer stefan.gehrer gmx de)
...
Originally committed as revision 5578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-02 14:50:23 +00:00
Baptiste Coudurier
2d974017b0
MPEG-2 4:2:2 encoding support
...
Originally committed as revision 5387 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-16 15:19:54 +00:00
Baptiste Coudurier
307eb24879
add MPEG-2 intra vlc support
...
Originally committed as revision 5372 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-13 17:16:58 +00:00
Baptiste Coudurier
d634aa2095
remove unused variable
...
Originally committed as revision 5371 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-13 15:43:51 +00:00
Michael Niedermayer
7923a3f904
d10 decoding fix
...
Originally committed as revision 5341 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-02 09:03:22 +00:00
Steve L'Homme
267f7edcd1
(f)printf --> av_log conversion
...
taken from a patch by Steve L'Homme
Originally committed as revision 5127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-08 11:43:10 +00:00
Michael Niedermayer
2669777981
fix decoding of mpeg2-trunc.vob
...
Originally committed as revision 5091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-01 22:59:22 +00:00
Michael Niedermayer
82fcbc145d
faster find_startcode()
...
Originally committed as revision 4939 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-04 20:32:02 +00:00
jwestfall@surrealistic.net
dd1a74d25d
Off by one fix to prevent possible segfault. Patch by jwestfall at surrealistic dot net.
...
Originally committed as revision 4857 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-14 17:43:22 +00:00
Diego Biurrun
5509bffa88
Update licensing information: The FSF changed postal address.
...
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-12 22:43:26 +00:00
Diego Biurrun
bb270c0896
COSMETICS: tabs --> spaces, some prettyprinting
...
Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-22 01:10:11 +00:00
Diego Biurrun
115329f160
COSMETICS: Remove all trailing whitespace.
...
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-17 18:14:38 +00:00
Ivan Kalvachev
31a78b718b
Mark all 12 block unused when there are no coded blocks
...
Fixes 422/444 artifacts
Originally committed as revision 4708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-20 23:09:05 +00:00
Måns Rullgård
bf4e3bd2d0
kill a bunch of compiler warnings
...
Originally committed as revision 4522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-14 15:42:40 +00:00
Michael Niedermayer
8c3eba7c62
skip_idct
...
skip_frame
skip_loop_filter
Originally committed as revision 4440 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-14 21:39:36 +00:00
Michael Niedermayer
02fb0d7c72
fix decoding of (broken) files with f_code=0
...
fix segfault if the first P frames header is damaged
Originally committed as revision 4432 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-11 22:15:03 +00:00
Michael Niedermayer
3b5ffe7a39
fix mpeg2 chroma_420_type
...
Originally committed as revision 4274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-18 19:42:42 +00:00
Michael Niedermayer
89ba9eede9
preserve parse context
...
Originally committed as revision 4241 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-14 15:34:49 +00:00
Michael Niedermayer
4ad8ecd136
sanity check
...
Originally committed as revision 4224 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-12 10:15:19 +00:00
Michael Niedermayer
9cd8179818
#defines for strict_std_compliance and split between inofficial extensions and non standarized things
...
Originally committed as revision 4205 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-08 20:15:42 +00:00
Michael Niedermayer
c0df9d75bd
switch to native time bases
...
Originally committed as revision 4168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-30 21:43:59 +00:00
Mike Melanson
160d679c07
Ministry of English Composition, reporting for duty (and the word is "skipped", not "skiped"; "skiped" would rhyme with "hyped")
...
Originally committed as revision 4153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-24 17:21:11 +00:00
Michael Niedermayer
2de4ba7ff7
avoid clearing block[] if its not used at all
...
Originally committed as revision 4148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-21 21:23:22 +00:00
Michael Niedermayer
dff0f03546
mpeg2_fast_decode_block_intra()
...
Originally committed as revision 4146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-20 20:31:04 +00:00
Michael Niedermayer
29df259923
optimizing non_intra ac coeff decode
...
Originally committed as revision 4140 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-19 11:37:01 +00:00
Michael Niedermayer
e91f4bf160
avoid UPDATE_CACHE() in GET_RL_VLC() if not needed
...
Originally committed as revision 4137 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-18 20:07:48 +00:00
avcoder
a622dc4320
Typo errors patch by (QuickTime | ffmpeg gmail com>
...
Originally committed as revision 4103 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-04 11:25:44 +00:00
Ivan Kalvachev
aa26aa789b
reinitialize on aspect change,
...
required for dvb aspect changes
Originally committed as revision 4102 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-03 17:34:31 +00:00
Michael Niedermayer
71434945f2
more checks, fixes assertion failure
...
Originally committed as revision 4081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-26 17:01:49 +00:00
Michael Niedermayer
d8a57c6db9
(10l) supported pix_fmts forgotten
...
Originally committed as revision 4022 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-08 20:35:27 +00:00
Michael Niedermayer
27ef18d12f
typo
...
Originally committed as revision 4006 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-05 03:37:19 +00:00
Josh Varner
fe533bb3a7
removing --disable-risky patch by (Josh Varner <jlvarner gmail com>)
...
Originally committed as revision 3966 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-21 17:50:48 +00:00
Michael Niedermayer
934982c4ac
avoid buf_size == 0 checks in every decoder
...
Originally committed as revision 3872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-23 18:09:06 +00:00
Burkhard Plaum
073c2593c9
Memory leak fix patch by (Burkhard Plaum <plaum >at< ipf.uni-stuttgart )dot( de>)
...
Originally committed as revision 3717 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-27 18:10:06 +00:00
Michael Niedermayer
7494cac0fd
fix constrained parameters flag
...
Originally committed as revision 3609 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-18 23:07:18 +00:00
Michael Niedermayer
21adafec2a
lowres width/height cleanup 3rd try
...
Originally committed as revision 3522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-27 11:50:56 +00:00
Michael Niedermayer
4f8a831994
set AVCodecContext.width/height to the picture width/height instead of the one stored in the bitstream (that only matters if lowres!=0)
...
Originally committed as revision 3518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-27 02:39:55 +00:00
Michael Niedermayer
af2a9e8fdb
lowres slice fix
...
Originally committed as revision 3513 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-26 13:03:43 +00:00