701e5348d4
vda: set destination image buffer attributes.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2011-11-09 21:19:39 +01:00
e7062a1e9f
audioconvert: make av_get_channel_layout accept composite names.
...
Signed-off-by: Nicolas George <nicolas.george@normalesup.org >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2011-11-09 21:03:47 +01:00
979c8de549
sipr: use a function pointer to select the decode_frame function
2011-11-09 14:59:52 -05:00
3468ff1060
sipr: set mode based on block_align instead of bit_rate
...
the user is not required to set bit_rate
2011-11-09 14:59:51 -05:00
0005f9a35b
sipr: do not needlessly set *data_size to 0 when returning an error
2011-11-09 14:59:51 -05:00
8cd210700b
Merge remote-tracking branch 'cus/stable'
...
* cus/stable:
ffplay: limit lowres to the maximum supported. Fixes Ticket591
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2011-11-09 20:51:49 +01:00
9cb70ce34b
ra288: fix formatting of LOCAL_ALIGNED_16
2011-11-09 13:45:50 -05:00
82a1d57575
fraps: check overread per sample instead of per line
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2011-11-09 19:40:59 +01:00
46082e6186
fraps: fix memleak
...
Found-by reimar
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2011-11-09 19:33:33 +01:00
65ac51373b
udp: Allow specifying the local IP address
...
This is useful if sending multicast data on a host with
multiple interfaces.
Signed-off-by: Martin Storsjö <martin@martin.st >
2011-11-09 20:19:39 +02:00
8892d0492d
Revert commit 0bc391281a
...
ffmpeg: remove -psnr option.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2011-11-09 19:12:51 +01:00
26ae9a5d7c
pthreads: drop has_b_frames mangling, its buggy in many many ways,
...
not to mention race conditions and that its used for stream copy, used to determine IPB type by
applications and other things.
Fixes various frame drop/timestamp issues with frame multithreading.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2011-11-09 17:47:10 +01:00
367468f148
Check extradata_size before accessing extradata.
...
Fixes ticket #627 .
2011-11-09 14:04:22 +01:00
c33d4916fb
VC1: Add bottom field offset to block_index[] to avoid rewriting (+10L)
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2011-11-09 11:00:49 +01:00
62622d04eb
vc1dec: move an if() block.
...
There are no reason for "if (c_valid) { ... }" to appear before
"if (b_valid) { ... }".
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2011-11-09 11:00:20 +01:00
4bceeaf0c1
vc1dec: use correct hybrid prediction threshold.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2011-11-09 10:53:24 +01:00
4344ce08f1
vc1dec: Partial rewrite of vc1_pred_mv()
...
The current code is a generalization of the earlier progressive MV
prediction code. This was supposed to predict MVs for both interlaced
and progressive pictures. But the interlaced MV prediction is buggy
and works mostly by luck.
This partially fixes interlaced MV prediction.
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2011-11-09 10:51:58 +01:00
6475a6e1ca
vc1dec: take ME precision into account while scaling MV predictors.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2011-11-09 10:51:22 +01:00
055a141e44
lavf: don't leak corrupted packets
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2011-11-09 07:30:43 +01:00
11e155c219
ra288: try to fix 10l typo that breaks compile on some platforms
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2011-11-09 04:53:33 +01:00
b2bdca1b4a
udp: simplify 7a032cb97f
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2011-11-09 03:51:08 +01:00
7a032cb97f
Fix segfault on UDP reading
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2011-11-09 03:43:52 +01:00
4354788a89
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
tls: Use ERR_get_error() in do_tls_poll
indeo3: Fix a fencepost error.
mxfdec: Fix comparison of unsigned expression < 0.
mpegts: set stream id on just created stream, not an unrelated variable
ra288: return error if input buffer is too small
ra288: utilize DSPContext.vector_fmul()
ra288: use memcpy() to copy decoded samples to output
mace: only calculate output buffer size once
Remove redundant filename self-references inside files.
indeo3data: add missing config.h #include for HAVE_BIGENDIAN
x86: drop pointless ARCH_X86 #ifdef from files in x86 subdirectory
avplay: reset rdft when closing stream.
doc/git-howto: expand format-patch and send-email notes.
lavf: expand doxy for some AVFormatContext fields.
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2011-11-09 02:59:49 +01:00
0827222b9c
Use more accurate conversion for rgb15/16 to rgb24/32 (C/MMX).
...
Fate update by michael.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2011-11-09 01:58:22 +01:00
3bdfef31ac
fraps: check for overread
...
Fixeds Ticket619
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2011-11-09 00:06:08 +01:00
bf0ac7aa69
mpegvideo_probe: reduce score for invalid streams
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2011-11-08 23:54:25 +01:00
d8407ee2b1
ffplay: limit lowres to the maximum supported. Fixes Ticket591
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
Signed-off-by: Marton Balint <cus@passwd.hu >
2011-11-08 22:34:39 +01:00
fd791675d4
Fix nonsense buffer hints.
...
The codec uses all previous frames as reference frames, so they
certainly must be preserved and readable.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de >
2011-11-08 22:16:10 +01:00
f38f3b88a5
tls: Use ERR_get_error() in do_tls_poll
...
The return value ret isn't an error code that can be passed
to ERR_error_string().
This makes the error messages printed actually contain useful
information.
Signed-off-by: Martin Storsjö <martin@martin.st >
2011-11-08 22:58:54 +02:00
4e38d4ef0e
mpegvideo_probe: Getting rid of the use of GCC language extensions
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2011-11-08 21:12:42 +01:00
0643ff1712
mpegvideo_probe: dont be too picky on spec compliance and the lack of system startcodes.
...
Fixes Ticket620
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2011-11-08 20:29:39 +01:00
b52f2d88fe
mpegvideo_probe: count video and audio pes seperately
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2011-11-08 20:29:06 +01:00
26d7eb40fd
mpegvideo probe: fix slice counting
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2011-11-08 20:27:17 +01:00
1149fbc763
indeo3: Fix a fencepost error.
...
Found with asan and the venerable 1-dog.avi sample.
2011-11-08 10:59:52 -08:00
735e601be1
mxfdec: Fix comparison of unsigned expression < 0.
...
'size' is populated by functions returning int64_t and int that return
negative error codes.
2011-11-08 10:59:52 -08:00
3110ad8329
mpegts: set stream id on just created stream, not an unrelated variable
...
Bug introduced in 84ad31ff18
.
Thanks to Uoti Urpala for finding it.
2011-11-08 18:56:39 +01:00
2467d8d9ea
ra288: return error if input buffer is too small
2011-11-08 12:36:56 -05:00
0131e70af5
ra288: utilize DSPContext.vector_fmul()
2011-11-08 12:36:48 -05:00
03e5d6118c
ra288: use memcpy() to copy decoded samples to output
2011-11-08 12:36:41 -05:00
f50b6be57d
mace: only calculate output buffer size once
2011-11-08 12:36:14 -05:00
ce33320b30
Remove redundant filename self-references inside files.
...
Filenames are brittle across renames and add no useful information.
2011-11-08 17:52:56 +01:00
9412f81138
indeo3data: add missing config.h #include for HAVE_BIGENDIAN
2011-11-08 17:52:56 +01:00
276b995d85
x86: drop pointless ARCH_X86 #ifdef from files in x86 subdirectory
2011-11-08 17:52:55 +01:00
4b7ef5a1e6
flv: Skip invalid index
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2011-11-08 17:39:39 +01:00
f9324d5add
avplay: reset rdft when closing stream.
...
this fixes a crash when cycling audio streams if the spectrograph is
displayed.
2011-11-08 10:43:57 -05:00
33feba3abf
Revert "lavc: Init AVFrame->opaque to AVCodecContext.opaque in avcodec_default_get_buffer()"
...
This commit causes problems for vlc, see https://trac.videolan.org/vlc/ticket/5518
This reverts commit 475fb67d0b
.
2011-11-08 15:31:10 +01:00
8a691dfdab
doc/git-howto: expand format-patch and send-email notes.
2011-11-08 14:25:38 +01:00
83daced0a3
lavf: expand doxy for some AVFormatContext fields.
2011-11-08 14:25:24 +01:00
4d7c71c364
Check for OOM after av_mallocz() in ff_interleave_add_packet().
...
Fixes a crash with the sample from Ubuntu bug #869125 .
2011-11-08 10:35:14 +01:00
8a3f976498
Support decoding "m1v " mpeg1video in mov.
...
Fixes ticket #579 at least for ffplay.
2011-11-08 10:33:21 +01:00