Michael Niedermayer
3e173a14e9
swscale: fix src type
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-04 23:33:59 +02:00
Michael Niedermayer
334187ade7
Fix "libavcodec/dfa.c:189: warning: unused variable ‘frame_end’"
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-04 23:33:59 +02:00
JULIAN GARDNER
e822c237b3
dvbsubdec: Split delete_state()
2011-05-04 23:33:59 +02:00
Michael Niedermayer
9522a752bf
xsubenc: only 1 rectangle is supported so dont allow 0 as it would crash.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-04 23:33:59 +02:00
Justin Ruggles
d7c91c4cea
sonic: fix sonic decoder to match encoder for sample rates other than 44100.
2011-05-04 23:33:59 +02:00
Michael Niedermayer
105a3c7a6b
bitstream_reader: Try to fix "get_bits.h:305:45: warning: variable ‘re_cache’ set but not used [-Wunused-but-set-variable]"
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-04 21:31:07 +02:00
Diego Biurrun
af1ca249e8
doc: Check standalone compilation before submitting new components.
2011-05-04 21:12:42 +02:00
Diego Biurrun
8799541a0a
Fix standalone compilation of pipe protocol.
...
file_check() is not only used by the file protocol, adjust #ifdef accordingly.
2011-05-04 21:12:42 +02:00
Diego Biurrun
3d26905925
Fix standalone compilation of ac3_fixed encoder.
2011-05-04 21:12:41 +02:00
Diego Biurrun
a33657ce5b
Fix standalone compilation of binkaudio_dct / binkaudio_rdft decoders.
2011-05-04 21:12:41 +02:00
Diego Biurrun
56c8227d46
Fix standalone compilation of IMC decoder.
2011-05-04 21:12:41 +02:00
Diego Biurrun
61165a1bba
Fix standalone compilation of WTV demuxer.
2011-05-04 21:12:40 +02:00
Diego Biurrun
091018e0dd
Fix standalone compilation of MXPEG decoder.
2011-05-04 21:12:40 +02:00
Diego Biurrun
35e376b0d2
flashsv: K&R cosmetics
2011-05-04 21:12:39 +02:00
Michael Niedermayer
3acc44b739
bitstream reader: remove unneeded variable initilization.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-04 20:26:33 +02:00
Mans Rullgard
eddd580b74
matroskaenc: fix memory leak
...
This fixes a memory leak occurring when no cue points are defined
since commit 91819763
.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-04 18:06:45 +01:00
Ronald S. Bultje
7d2e03afc8
vc1: make overlap filter for I-frames bit-exact.
2011-05-04 07:40:53 -04:00
Ronald S. Bultje
5c9f147e05
vc1dec: use s->start/end_mb_y instead of passing them as function args.
2011-05-04 07:40:02 -04:00
Ronald S. Bultje
18b6a69ce9
Revert "VC1: merge idct8x8, coeff adjustments and put_pixels."
...
This reverts commit f8bed30d8b
. The reason
for this is that the overlap filter, which runs after IDCT, should run
on unclamped values, and thus IDCT and put_pixels() cannot be merged if
we want to attempt to be bitexact.
2011-05-04 07:40:01 -04:00
Alex Converse
1a5e4fd8c5
Replace strncpy() with av_strlcpy().
2011-05-03 21:20:13 -07:00
Alex Converse
aab6374bbe
indeo3: Eliminate use of long.
2011-05-03 21:20:05 -07:00
Alex Converse
47bc52f821
get_bits: make cache unsigned to eliminate undefined signed overflow.
2011-05-03 21:14:39 -07:00
Uoti Urpala
0bd433a916
asfdec: fix assert failure on invalid files
...
Add an extra size validity check in asf_read_frame_header(). Without
this asf->packet_size_left may become negative, which triggers an
assertion failure later.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-05-03 22:36:08 -04:00
Ronald S. Bultje
0699dbb847
avfilter: check malloc return values.
2011-05-03 22:35:23 -04:00
Ronald S. Bultje
d969e93a72
mpegvideo: reindent.
2011-05-03 22:35:19 -04:00
Ronald S. Bultje
7643265505
nutenc: check malloc return values.
2011-05-03 22:29:19 -04:00
Ronald S. Bultje
f8af93ab99
avfilter: don't av_malloc(0).
2011-05-03 22:29:13 -04:00
Ronald S. Bultje
25588d3b8a
nutenc: don't av_malloc(0).
2011-05-03 22:29:08 -04:00
Ronald S. Bultje
fb22c23715
mpegvideo: don't av_malloc(0).
2011-05-03 22:29:00 -04:00
Ronald S. Bultje
f8b1245922
asfdec: fix parsing of packets that overrun into padding.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-05-03 22:14:04 -04:00
Michael Niedermayer
707e8612e8
Merge remote branch 'qatar/master'
...
* qatar/master:
Implement fate-rsync target
Make ffmpeg support generic data stream
Conflicts:
cmdutils.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-04 04:06:26 +02:00
Michael Niedermayer
b5f20892c9
msvideo1 regression test
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-04 02:22:13 +02:00
Kostya Shishkov
e4be3485af
MS Video 1 encoder
2011-05-04 02:22:12 +02:00
Reinhard Tartler
8ce67bcabe
Implement fate-rsync target
2011-05-03 19:21:30 +02:00
Luca Barbato
e3b540b424
Make ffmpeg support generic data stream
...
The patch is the first step to support -dcodec copy
2011-05-03 11:51:55 +02:00
ami_stuff
c402ce418a
Remove lowres support from wmv2 decoder
...
lowres option crashes with wmv2 files which I have for test,
so I think it's better to remove the support to the time when
lowres will be really supported by this codec
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-03 04:38:22 +02:00
Michael Niedermayer
2525821f1a
Merge remote branch 'qatar/master'
...
* qatar/master:
vp8: frame-multithreading.
Duplicate Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.
Duplicate Replace deprecated av_get_pict_type_char() with av_get_picture_type_char().
Bug spoted&removed in last merge: dpx: Do not use DPX encoder for decoding.
Conflicts:
ffmpeg.c
ffplay.c
libavcodec/h264.c
libavcodec/mpeg12.c
libavcodec/mpeg4videodec.c
libavcodec/mpegvideo.c
libavcodec/mpegvideo_enc.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-03 04:08:23 +02:00
Carl Eugen Hoyos
7d70d1937a
Support decoding of 24 bit True Audio samples-
...
Many samples will fail because "Output buffer size is too small."
2011-05-03 01:09:30 +02:00
Carl Eugen Hoyos
4cf2e30f05
Support decoding of 8 bit True Audio samples-
...
Many samples will fail because "Output buffer size is too small."
2011-05-03 01:06:18 +02:00
Carl Eugen Hoyos
fba418e670
Do not assume AV_SAMPLE_FMT_S16 as tta sample format.
2011-05-03 01:02:07 +02:00
Alexandre Colucci
3b4621acbb
Fix init_get_bits length argument for init_get_bits.
...
Do not use rlelen for buffer size in init_get_bits, it is
only the size of the data for the first field.
Since it is not reliable, just use the size of the whole buffer.
Additional comments add removal of unused rlelen variable by
Reimar Döffinger.
2011-05-02 18:57:51 +02:00
ami_stuff
884f678cfd
Add *.j2k extension to JPEG2000 decoder
...
Some files with *.j2k extension can be found for example here:
http://www.openjpeg.org/index.php?menu=samples
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-02 18:38:16 +02:00
Reimar Döffinger
cf16104ad1
Change guess_palette so its output matches the most common palette.
...
This means it uses full brightness range and brightness
increasing instead of decreasing with index of non-opaque
color.
Based on patch by Alexandre Colucci [alexandre elgato com]
2011-05-02 18:39:03 +02:00
Reimar Döffinger
148ffcd2ce
Make DV (sub) demuxer set proper pkt->pos values.
...
This makes the avi demuxer create packets with proper pos values
with the file from ticket #140 .
2011-05-02 18:38:01 +02:00
Ronald S. Bultje
4773d90421
vp8: frame-multithreading.
...
Tested on a Mac Pro, 2 CPUs, 2 cores each, OSX 10.6.6:
time ./ffmpeg -v 0 -vsync 0 -threads [1234] -i \
~/Downloads/sintel_trailer_1080p_vp8_vorbis.webm \
-f null -vcodec rawvideo -an -
1: 0m14.630s (89.9 fps)
2: 0m8.056s (163.2 fps)
3: 0m5.882s (223.6 fps)
4: 0m4.952s (265.6 fps)
time ./ffmpeg -v 0 -vsync 0 -threads [1234] -i \
~/Downloads/Elephants_Dream-720p-Stereo.webm \
-f null -vcodec rawvideo -an -
1: 1m12.962s (215.1 fps)
2: 0m44.682s (351.2 fps)
3: 0m31.183s (503.2 fps)
4: 0m25.284s (620.6 fps)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-05-02 17:03:31 +02:00
Stefano Sabatini
f97905e61d
scale: fix leak occurring when a scale filter is reconfigured
...
This currently only occurrs in vsrc_buffer in case of mid-stream
size/format change.
Fix trac issue #124 .
2011-05-02 16:46:24 +02:00
Stefano Sabatini
0f1ef8a316
vsrc_buffer: improve reporting in case of format/size change
2011-05-02 16:46:15 +02:00
Stefano Sabatini
ce5e49b0c2
replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*
2011-05-02 16:41:41 +02:00
Stefano Sabatini
301183d9be
replace deprecated av_get_pict_type_char() with av_get_picture_type_char()
2011-05-02 16:41:35 +02:00
Stefano Sabatini
975a1447f7
Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2011-05-02 12:18:44 +02:00