]>
git.sesse.net Git - ffmpeg/log
Baptiste Coudurier [Sun, 8 May 2011 15:58:20 +0000 (17:58 +0200)]
v210enc:clip values according to specifications
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Baptiste Coudurier [Sun, 8 May 2011 15:57:54 +0000 (17:57 +0200)]
v210enc: switch to PIX_FMT_422P10
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Baptiste Coudurier [Sun, 8 May 2011 15:54:20 +0000 (17:54 +0200)]
v210dec: switch to PIX_FMT_422P10
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Stefano Sabatini [Sun, 8 May 2011 17:26:22 +0000 (19:26 +0200)]
ffv1: set internal frame defaults
Another fix missed before the vsrc_buffer changes.
Baptiste Coudurier [Sun, 8 May 2011 12:20:57 +0000 (14:20 +0200)]
swscale: 9,10 bits pixel format output support
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Baptiste Coudurier [Sun, 8 May 2011 12:06:04 +0000 (14:06 +0200)]
PIX_FMT_422P10 support
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sun, 8 May 2011 11:20:22 +0000 (13:20 +0200)]
adpcmenc:Optimize adpcm_ima_qt_compress_sample()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Baptiste Coudurier [Sun, 8 May 2011 11:15:48 +0000 (13:15 +0200)]
adpcmenc: fix QT IMA ADPCM encoder
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Baptiste Coudurier [Sun, 8 May 2011 11:13:17 +0000 (13:13 +0200)]
adpcmdec: Fix QT IMA ADPCM decoder
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sun, 8 May 2011 01:29:51 +0000 (03:29 +0200)]
Merge remote branch 'qatar/master'
* qatar/master:
drawtext: add documentation for the shadow parameters
drawtext: add shadow support.
drawtext: factor draw_glyphs.
drawtext: fix and optimize yuv blend.
drawtext: get rid of divisions in the inner loop.
drawtext: simplify chroma blend and fix chroma alpha.
lavfi: Port drawtext filter by Hemanth from the libavfilter soc repo
Conflicts:
configure
libavfilter/avfilter.h
libavfilter/vf_drawtext.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 7 May 2011 23:26:43 +0000 (01:26 +0200)]
svq1dec: simpify mean calculation.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 7 May 2011 23:26:07 +0000 (01:26 +0200)]
svq1dec: replace /2 by >>1
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 7 May 2011 23:24:37 +0000 (01:24 +0200)]
pnm: Fix spurious error message.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Stefano Sabatini [Sat, 7 May 2011 19:32:52 +0000 (21:32 +0200)]
libopenjpeg: set internal frame defaults
Fix ffmpeg decoding, which was broken after the recent changes in
vsrc_buffer.
Reimar Döffinger [Sat, 7 May 2011 18:11:49 +0000 (20:11 +0200)]
Fix function pointer type to match function it is assigned.
Reimar Döffinger [Sat, 7 May 2011 18:06:33 +0000 (20:06 +0200)]
Store pointers in a less messy way in SWSContext.
Reimar Döffinger [Sat, 7 May 2011 17:48:00 +0000 (19:48 +0200)]
Remove unused variable.
Reimar Döffinger [Sat, 7 May 2011 17:42:36 +0000 (19:42 +0200)]
Replace deprecated url_fseek by avio_seek.
Reimar Döffinger [Sat, 7 May 2011 17:39:11 +0000 (19:39 +0200)]
Move ifdef to avoid unused variable warnings.
Reimar Döffinger [Sat, 7 May 2011 17:33:21 +0000 (19:33 +0200)]
Remove unused variables.
Reimar Döffinger [Sat, 7 May 2011 17:28:45 +0000 (19:28 +0200)]
Fix printf format string, fixes a warning.
Michael Niedermayer [Sat, 7 May 2011 17:44:21 +0000 (19:44 +0200)]
riffenc/ffmpeg: Fix stream copy
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 7 May 2011 14:54:06 +0000 (16:54 +0200)]
ffplay: fix null pointer read when codec unavilable.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Reimar Döffinger [Sat, 7 May 2011 15:49:42 +0000 (17:49 +0200)]
aacdec: add decode_channel_map overread check
All decode_channel_map calls together can easily read
more data than the amount of padding available.
Thus below patch adds an input length check before reading them.
Fixes some invalid reads with sample from
http://bugzilla.mplayerhq.hu/show_bug.cgi?id=1138
Reimar Döffinger [Sun, 24 Apr 2011 15:34:39 +0000 (17:34 +0200)]
Increase TS packet size detection buffer.
Fixes warning message with ticket #68.
Reimar Döffinger [Sun, 24 Apr 2011 15:33:48 +0000 (17:33 +0200)]
Assume some TS packet size instead of failing completely.
Fixes ticket #68.
jan gerber [Sat, 7 May 2011 13:31:04 +0000 (15:31 +0200)]
oggdec:Correct duration
Based on a patch by Reimar Döffinger.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 7 May 2011 13:28:39 +0000 (15:28 +0200)]
Only add 1 byte to av_malloc(0) when it actually returned NULL
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 7 May 2011 13:28:07 +0000 (15:28 +0200)]
Make av_realloc(0) behave like our av_malloc(0)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Stefano Sabatini [Sat, 7 May 2011 10:44:18 +0000 (12:44 +0200)]
vsrc_buffer: during init, print information about timebase and sample aspect ratio
Stefano Sabatini [Mon, 2 May 2011 07:52:11 +0000 (09:52 +0200)]
vsrc_buffer: simplify av_vsrc_buffer_add_frame*() interface
Now that pix_fmt, width, and height are directly embedded in the AVFrame,
there is no need to pass these values as separate arguments.
Stefano Sabatini [Mon, 2 May 2011 00:15:15 +0000 (02:15 +0200)]
lavc: set defaults in internal codec frames
This is required specifically for setting frame->format to -1,
otherwise it will be set to 0 = PIX_FMT_YUV420P and code reading
the format from the output decoded frame will get misled.
In particular fix regressions occurring with the pending vsrc_buffer
patch.
Stefano Sabatini [Fri, 6 May 2011 09:30:27 +0000 (11:30 +0200)]
ffmpeg: rename ost->pict_tmp to ost->resample_frame
The new name is more consistent with the employed naming scheme, and
more meaningful.
Stefano Sabatini [Fri, 6 May 2011 09:14:15 +0000 (11:14 +0200)]
ffmpeg: prefer dec/enc over ost/ist->st->codec in do_video_out()
Compact code, improve readability.
Stefano Sabatini [Fri, 6 May 2011 09:10:02 +0000 (11:10 +0200)]
ffmpeg: move resample_changed check within the #if !CONFIG_AVFILTER
The check and the corresponding message in do_video_out() are
unnecessary in the libavfilter path, as a similar check and message
are performed within the buffer source.
Stefano Sabatini [Fri, 6 May 2011 09:06:58 +0000 (11:06 +0200)]
ffmpeg: remove useless intermediary variable resample_dst in do_video_out()
Stefano Sabatini [Mon, 2 May 2011 07:35:38 +0000 (09:35 +0200)]
ffmpeg: simplify mid-stream reconfiguration when libavfilter is disabled
Implement lazy initialization of the image resample context, so that
the initialization code does not need to be duplicated.
Also manage the case in which resample/size change mid-stream. For
each packet the code computes if resampling is needed.
Previously the resample check was done only at the initialization, in
case size/format changed and no resample was detected at the init
stage ffmpeg was silently exiting.
Stefano Sabatini [Sun, 1 May 2011 12:47:05 +0000 (14:47 +0200)]
lavfi: add libavfilter/avcodec.h and avfilter_copy_frame_props()
avfilter_copy_frame_props() avoids code duplication and increases
robustness.
The added files libavfilter/avcodec.[ch] are used for containing
utilities useful for gluing togheter libavfilter and libavcodec.
Stefano Sabatini [Sun, 1 May 2011 12:10:20 +0000 (14:10 +0200)]
lavc: add format field to AVFrame
The format is a per-frame property, having it in AVFrame simplify the
operation of extraction of that information, since avoids the need to
access the codec/stream context.
Stefano Sabatini [Sun, 1 May 2011 12:02:08 +0000 (14:02 +0200)]
lavc: add width and height fields to AVFrame
width and height are per-frame properties, setting these values in
AVFrame simplify the operation of extraction of that information,
since avoids the need to check the codec/stream context.
Reimar Döffinger [Sat, 7 May 2011 08:00:03 +0000 (10:00 +0200)]
Use MAP_FAILED to check for mmap failure instead of manually
recreating the value.
Stefano Sabatini [Sat, 2 Apr 2011 09:27:09 +0000 (11:27 +0200)]
drawtext: add documentation for the shadow parameters
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Michael Niedermayer [Tue, 22 Feb 2011 00:41:52 +0000 (01:41 +0100)]
drawtext: add shadow support.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Michael Niedermayer [Tue, 22 Feb 2011 00:11:35 +0000 (01:11 +0100)]
drawtext: factor draw_glyphs.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Michael Niedermayer [Mon, 21 Feb 2011 23:54:48 +0000 (00:54 +0100)]
drawtext: fix and optimize yuv blend.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Michael Niedermayer [Mon, 21 Feb 2011 23:43:19 +0000 (00:43 +0100)]
drawtext: get rid of divisions in the inner loop.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Michael Niedermayer [Mon, 21 Feb 2011 23:23:31 +0000 (00:23 +0100)]
drawtext: simplify chroma blend and fix chroma alpha.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Stefano Sabatini [Mon, 21 Feb 2011 00:02:29 +0000 (01:02 +0100)]
lavfi: Port drawtext filter by Hemanth from the libavfilter soc repo
With the following additions:
* support to anti-aliased glyph rendering
* support to UTF-8 text and Unicode chars rendering
* support for RGB packed formats
* fix minor errors and typos in the filter description
* extend/clarify examples in the filter description
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Reimar Döffinger [Sat, 7 May 2011 07:58:38 +0000 (09:58 +0200)]
Use av_fast_malloc instead of av_fast_realloc.
Avoids a memleak, is less code and might be faster.
Reimar Döffinger [Sat, 7 May 2011 07:47:35 +0000 (09:47 +0200)]
Simplify condition.
Reimar Döffinger [Wed, 4 May 2011 19:30:56 +0000 (21:30 +0200)]
msvideo1enc: minor cosmetic cleanup, use FFALIGN, avoid calculating value
twice and add a missing "const".
Michael Niedermayer [Sat, 7 May 2011 02:14:09 +0000 (04:14 +0200)]
Merge remote branch 'qatar/master'
* qatar/master:
mov: fix composition timestamps on movie fragments.
wmavoice: Use proper size in memeset().
Michael Niedermayer [Tue, 26 Apr 2011 01:50:56 +0000 (03:50 +0200)]
mp3enc:simplify
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 26 Apr 2011 01:49:53 +0000 (03:49 +0200)]
mp3enc:better variable name for the frames field file postion.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 26 Apr 2011 01:45:48 +0000 (03:45 +0200)]
mp3enc: drop nested structs
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 26 Apr 2011 01:31:02 +0000 (03:31 +0200)]
mp3enc:use FFMIN()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 26 Apr 2011 01:24:28 +0000 (03:24 +0200)]
mp3enc:Drop unneeded floating point math.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 26 Apr 2011 01:22:21 +0000 (03:22 +0200)]
mp3enc: drop sum and count bytes instead of bitrates from decoded headers.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 26 Apr 2011 01:06:51 +0000 (03:06 +0200)]
mp3enc: remove unneeded ifdef
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 26 Apr 2011 01:06:04 +0000 (03:06 +0200)]
mp3enc: remove unneeded static const variables.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Peter Belkner [Sat, 7 May 2011 00:23:28 +0000 (02:23 +0200)]
mp3enc: mux a XING header
The patch below provides exactly that to the MP3 muxer. A XING header
containing
* the numer of frames,
* the size, and
* a TOC
is generated.
It's based on an idea by Anton Khirnov (restricted to the number of
frames) found at
http://patches.ffmpeg.org/patch/1891/
The TOC is generated as found in lame's "VbrTag.c".
According to my tests the following reproduces the number of frames, the
size and the TOC in "c.mp3" from "b.mp3" (except a shift due to shorter
XING header generated by FFmpeg):
lame -V2 a.wav b.mp3
ffmpeg -i b.mp3 -acodec copy -y c.mp3
Michael Niedermayer [Fri, 6 May 2011 23:02:38 +0000 (01:02 +0200)]
avfilter: dont use AVFilterLink as priv for pictures as its freed too early.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Fri, 6 May 2011 22:01:33 +0000 (00:01 +0200)]
avfilter: Fix ticket82 / fix initial buffer values.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Fri, 6 May 2011 21:53:06 +0000 (23:53 +0200)]
AVFilter: use picture pool to avoid malloc().
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Fri, 6 May 2011 21:37:43 +0000 (23:37 +0200)]
avfilter_unref_buffer: favor av_freep()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Fri, 6 May 2011 17:30:14 +0000 (19:30 +0200)]
mpegvideo: fix 422 lowres
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Fri, 6 May 2011 15:39:31 +0000 (17:39 +0200)]
aiffdec:Rewrite get_meta()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
JULIAN GARDNER [Fri, 6 May 2011 15:09:22 +0000 (17:09 +0200)]
Allow encodiing empty subtitles.
Michael Niedermayer [Fri, 6 May 2011 13:19:27 +0000 (15:19 +0200)]
swscale: Dither for unscaled 10->8bit per channel
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Fri, 6 May 2011 11:18:55 +0000 (13:18 +0200)]
swscale: dont reshuffle bytes
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Yusuke Nakamura [Fri, 29 Apr 2011 14:39:29 +0000 (23:39 +0900)]
mov: fix composition timestamps on movie fragments.
This fixes, for instance, the case that there is a track that has some samples with composition time offset and has a track run without sample-composition-time-offsets-present.
Alex Converse [Thu, 5 May 2011 18:10:19 +0000 (11:10 -0700)]
wmavoice: Use proper size in memeset().
sizeof(array_functrion_argument) gives the size of the pointer type not
the size of the array to which it points.
Michael Niedermayer [Fri, 6 May 2011 02:28:12 +0000 (04:28 +0200)]
Merge remote branch 'qatar/master'
* qatar/master:
configure: warn if pkg-config is missing
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Fri, 6 May 2011 01:52:16 +0000 (03:52 +0200)]
avidec: correct frame_offset for seeking
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Carl Eugen Hoyos [Fri, 6 May 2011 01:27:53 +0000 (03:27 +0200)]
Silence a warning if pkg_config is not installed.
Michael Niedermayer [Fri, 6 May 2011 00:19:25 +0000 (02:19 +0200)]
Makefile:Put lost tab back.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 5 May 2011 21:54:31 +0000 (23:54 +0200)]
avidec: detect mpeg4 keyframes in indexless avi
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Baptiste Coudurier [Thu, 5 May 2011 01:45:36 +0000 (18:45 -0700)]
In svq3 decoder, check negative mb_type, fix potential crash.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Francesco Cosoleto [Tue, 3 May 2011 12:25:43 +0000 (14:25 +0200)]
fate: mention fate documentation in the error message
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 5 May 2011 19:27:57 +0000 (21:27 +0200)]
MPEG: support 4:4:4 lowres
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 5 May 2011 19:27:09 +0000 (21:27 +0200)]
MPEG: support 4:4:4 intra lowres
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Mans Rullgard [Thu, 5 May 2011 15:45:12 +0000 (16:45 +0100)]
configure: warn if pkg-config is missing
Signed-off-by: Mans Rullgard <mans@mansr.com>
Stefano Sabatini [Tue, 3 May 2011 22:47:53 +0000 (00:47 +0200)]
lavfi-regression: provide filter arguments to showfiltfmts
In do_lavfi_pixfmts(), provide the filter arguments to showfiltfmts,
since some filter may require non-null or non-empty argument string
for working properly.
Stefano Sabatini [Tue, 3 May 2011 21:31:14 +0000 (23:31 +0200)]
eval: add sqrt function for computing the square root
Stefano Sabatini [Wed, 4 May 2011 23:05:07 +0000 (01:05 +0200)]
configure: add strong dependencies for movie source and mp filter
Baptiste Coudurier [Thu, 5 May 2011 13:17:51 +0000 (15:17 +0200)]
SVQ3: do not modify const input buffer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Baptiste Coudurier [Thu, 5 May 2011 12:40:26 +0000 (14:40 +0200)]
SVQ3: Check that things match up after a frame.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Baptiste Coudurier [Thu, 5 May 2011 12:18:33 +0000 (14:18 +0200)]
SVQ3: Move svq3 specific fields to their own context.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 5 May 2011 13:35:54 +0000 (15:35 +0200)]
ffplay: set CODEC_FLAG_EMU_EDGE earlier
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 5 May 2011 01:09:48 +0000 (03:09 +0200)]
Merge remote branch 'qatar/master'
* qatar/master: (23 commits)
doc: Check standalone compilation before submitting new components.
Fix standalone compilation of pipe protocol.
Fix standalone compilation of ac3_fixed encoder.
Fix standalone compilation of binkaudio_dct / binkaudio_rdft decoders.
Fix standalone compilation of IMC decoder.
Fix standalone compilation of WTV demuxer.
Fix standalone compilation of MXPEG decoder.
flashsv: K&R cosmetics
matroskaenc: fix memory leak
vc1: make overlap filter for I-frames bit-exact.
vc1dec: use s->start/end_mb_y instead of passing them as function args.
Revert "VC1: merge idct8x8, coeff adjustments and put_pixels."
Replace strncpy() with av_strlcpy().
indeo3: Eliminate use of long.
get_bits: make cache unsigned to eliminate undefined signed overflow.
asfdec: fix assert failure on invalid files
avfilter: check malloc return values.
Not pulled as reason for reindent is not pulled: mpegvideo: reindent.
nutenc: check malloc return values.
Not pulled due to much simpler solution in ffmpeg *: don't av_malloc(0).
...
Conflicts:
doc/developer.texi
libavcodec/Makefile
libavcodec/get_bits.h
libavcodec/mpegvideo.c
libavformat/Makefile
libavutil/log.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 5 May 2011 00:20:20 +0000 (02:20 +0200)]
rgb24toyv12: break out in the middle before out of array reads.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
alexandru_mg3 [Wed, 4 May 2011 23:42:53 +0000 (01:42 +0200)]
ffplay: fix memleak if avfilter is disabled
Michael Niedermayer [Wed, 4 May 2011 22:52:03 +0000 (00:52 +0200)]
file: Fix mmap error check.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 4 May 2011 21:30:14 +0000 (23:30 +0200)]
configure: jack currently needs sem_timedwait()
Should fix ticket99 and ticket43 by disabling jack.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 4 May 2011 20:14:22 +0000 (22:14 +0200)]
ffplay: removed unused variable channels.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 4 May 2011 20:06:41 +0000 (22:06 +0200)]
Disable warnings for casting pointers to integers, there is nothing wrong with that.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 4 May 2011 19:57:08 +0000 (21:57 +0200)]
swscale: fix src type
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 4 May 2011 19:42:08 +0000 (21:42 +0200)]
Fix "libavcodec/dfa.c:189: warning: unused variable ‘frame_end’"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
JULIAN GARDNER [Wed, 4 May 2011 18:44:14 +0000 (20:44 +0200)]
dvbsubdec: Split delete_state()
Michael Niedermayer [Wed, 4 May 2011 17:01:42 +0000 (19:01 +0200)]
xsubenc: only 1 rectangle is supported so dont allow 0 as it would crash.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>