Hendrik Leppkes
0aedd8c0bd
dxva2_vc1: pass the overlap flag to the decoder
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-03-12 06:12:35 +01:00
Hendrik Leppkes
a3c5aefff2
dxva2_vc1: fix decoding of BI frames
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-03-12 06:11:21 +01:00
Michael Niedermayer
2367b2a502
libavformat.v: add ffio_set_buf_size() for ffserver.
...
its inevitable with the current API
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-03-12 06:04:37 +01:00
Tudor.Suciu
9abd47fe90
udp: add multicast input interface selection
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-03-12 06:01:09 +01:00
C Chatterjee
3c9a86df0e
flvenc: Remove apparently unneeded AAC check.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-03-12 05:21:59 +01:00
ami_stuff
86b6e49d92
iff: check for pbm tag
...
more robust
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-03-12 05:09:37 +01:00
Michael Niedermayer
1c27359867
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
dsicinvideo: validate buffer offset before copying pixels.
cook: error out on quant_index values outside [-63, 63] range.
mpc: pad mpc_CC/SCF[] tables to allow for negative indices.
Conflicts:
libavcodec/cook.c
libavcodec/dsicinav.c
libavcodec/mpc.c
libavcodec/mpc7.c
libavcodec/mpcdata.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-03-12 04:35:06 +01:00
Miroslav Slugeň
00969376ce
ffserver: add missing buffer set after rewrite av_open_input_file to avformat_open_input.
...
Fixes Ticket346
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-03-12 03:31:59 +01:00
Michael Niedermayer
9fcc62ed9b
Revert "ffserver: remove unused variable."
...
This reverts commit f02f745e4a
.
2012-03-12 03:31:59 +01:00
Stefano Sabatini
4272dc3ec5
doc: add vf_crop keepaspect documentation
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-03-11 17:47:06 +01:00
Baptiste Coudurier
f49cb8e669
vf_crop: keepaspect support
2012-03-11 17:46:31 +01:00
Joseph Artsimovich
84b9b4aa18
Fix frame height vs field height confusion in MXF decoding.
...
Reviewed-by: Tomas Härdin <tomas.hardin@codemill.se>
Reveiwed-by: Baptiste Coudurier <baptiste.coudurier@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-03-11 17:39:52 +01:00
Paul B Mahol
4ed0d182e2
FATE: add test for cdxl demuxer
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-03-11 17:25:29 +01:00
Thilo Borgmann
599881b028
alsdec: Fix out of ltp_gain_values read.
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-03-11 16:56:23 +01:00
Thilo Borgmann
daeffccd98
alsdec: pretty print for another log message
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-03-11 16:55:42 +01:00
Ronald S. Bultje
c95fefa042
dsicinvideo: validate buffer offset before copying pixels.
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2012-03-11 07:28:54 -07:00
Matthieu Bouron
ad029c24a6
mxfdec: add timecode to metadata
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-03-11 08:12:46 +01:00
Ronald S. Bultje
97e48b2f54
cook: error out on quant_index values outside [-63, 63] range.
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2012-03-10 17:51:28 -08:00
Michael Niedermayer
c3c2db49a7
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
cook: expand dither_tab[], and make sure indexes into it don't overflow.
xxan: reindent xan_unpack_luma().
xxan: protect against chroma LUT overreads.
xxan: convert to bytestream2 API.
xxan: don't read before start of buffer in av_memcpy_backptr().
vp8: convert mbedge loopfilter x86 assembly to use named arguments.
vp8: convert inner loopfilter x86 assembly to use named arguments.
Conflicts:
libavcodec/xxan.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-03-11 01:12:52 +01:00
Carl Eugen Hoyos
6cb89df845
Add missing requirements to libavdevice.pc if lavfi is enabled.
...
Fixes ticket #1050 .
2012-03-11 00:48:36 +01:00
Ronald S. Bultje
d7eabd5042
mpc: pad mpc_CC/SCF[] tables to allow for negative indices.
...
MPC8 allows indices of mpc_CC up to -1, and mpc_SCF up to -6, thus pad
the tables by that much on the left end.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2012-03-10 14:28:08 -08:00
Michael Niedermayer
2440040c7b
vc1: add missing entries to ff_vc1_fps_nr.
...
Fixes out of array read
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-03-10 23:12:42 +01:00
Michael Niedermayer
8e9a0a3568
mpc7: check subband index
...
This fixes a overread
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-03-10 23:12:42 +01:00
Michael Niedermayer
ecc31630f9
mjpegb: Detect changing nb of planes in interlaced video.
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-03-10 23:12:42 +01:00
Michael Niedermayer
50f4f272fe
indeo3: Fix out of reference reading with NULL blocks.
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-03-10 23:12:42 +01:00
Ronald S. Bultje
442c3a8cb1
cook: expand dither_tab[], and make sure indexes into it don't overflow.
...
Fixes overflows in accessing dither_tab[].
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2012-03-10 12:03:53 -08:00
Ronald S. Bultje
71af42bd96
xxan: reindent xan_unpack_luma().
...
It used 3-space indent instead of 4-space indent.
2012-03-10 11:57:56 -08:00
Ronald S. Bultje
f77bfa8376
xxan: protect against chroma LUT overreads.
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2012-03-10 11:57:17 -08:00
Ronald S. Bultje
5518827816
xxan: convert to bytestream2 API.
...
Protects against overreads.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2012-03-10 11:48:57 -08:00
Ronald S. Bultje
f1279e286b
xxan: don't read before start of buffer in av_memcpy_backptr().
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2012-03-10 11:48:39 -08:00
Ronald S. Bultje
a928ed3751
vp8: convert mbedge loopfilter x86 assembly to use named arguments.
2012-03-10 11:36:33 -08:00
Ronald S. Bultje
bee330e300
vp8: convert inner loopfilter x86 assembly to use named arguments.
2012-03-10 11:36:33 -08:00
Reimar Döffinger
6fe8cb7d70
snowenc: add no_bitstream option.
...
This allows making e.g. MPlayer's -vf uspp filter about 20% faster.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2012-03-10 20:17:11 +01:00
Reimar Döffinger
c4e0d845e2
snowenc: mark some encode_subband arguments const.
...
This makes it more obvious that this function only does bitstream
encoding.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2012-03-10 20:17:11 +01:00
Zalewa PL
0d2f4eedc8
mpjpeg: video streaming will no longer break and stop on Firefox
...
mpjpeg video streamings would break and stop on Firefox after 1 - 30
seconds.
In order to fix this, two changes were made:
1. Replaced all occurrences of '\n' character in mjpeg metadata
with occurences of "\r\n".
2. Added "Content-length: <packet-size>" metadata entry for each
sent frame.
The change has been tested on Google Chrome 17.0.963.78 and Firefox 10.0.2
on lubuntu 11.10 and the streaming seems to work fine now.
2012-03-10 18:32:02 +01:00
Tomas Härdin
2ff540a0fe
mxf: Add DNxHD UL
...
Note that the old DNxHD UL is actually JPEG 2000 according to RP224. Leaving it
as-is for now.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-03-10 18:01:03 +01:00
Baptiste Coudurier
1b99971dc7
vf_frei0r: set outlinks sample aspect ratio to 1
2012-03-10 17:48:14 +01:00
Reimar Döffinger
8fbf825ecc
DV: Use profile[1] detection hack only for stype 0.
...
The two samples both have stype 0.
Without this extra check, the code breaks 4:2:2 dvsd
(stype 4), since that has the same resolution.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2012-03-10 10:45:03 +01:00
Reimar Döffinger
b52bd2a4ab
DV demuxer: Stricter check for avio_read result.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2012-03-10 10:43:14 +01:00
Michael Niedermayer
f7b57add8e
cook: tighten the quant_index_table range further.
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-03-10 08:05:18 +01:00
Michael Niedermayer
8e31dbc1dc
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
Fix a bunch of common typos.
build: Skip compiling xvmc.h under the correct condition.
configure: darwin: Change dylib install names to include major version.
mpegts: Always honor a registration descriptor if present and there is no other codec information.
aacdec: Fix SCE parity check.
aacdec: Fix out of array writes (stack).
rtsp: Only set the ttl parameter if the server actually gave a value
udp: Set ttl for read-write streams, too, not only for write-only ones
udp: Only bind to the multicast address if in read-only mode
udp: Clarify the comment about binding the multicast address
udp: Reorder comments
Conflicts:
libavcodec/aacdec.c
tools/patcheck
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-03-10 01:12:08 +01:00
Michael Niedermayer
1af9fdc3ba
snow: reject unsupported chroma shifts.
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-03-10 00:18:29 +01:00
Stefano Sabatini
aefd1cb725
lavfi: remove swapuv libmpcodecs wrapper
...
The filter has been ported to a native libavfilter filter.
2012-03-10 00:10:44 +01:00
Stefano Sabatini
fa35d880aa
lavfi: port MP swapuv filter
2012-03-10 00:10:37 +01:00
Stefano Sabatini
1a3d4b88a4
imgconvert: add macro pixdesc_has_alpha for checking if a pixel format has an alpha component
...
Reduce redundancy and simplify.
2012-03-10 00:10:09 +01:00
Michael Niedermayer
174678ff5b
mpegvideo_probe: Fix misdetection of mpeg4video files.
...
(issue1210)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-03-09 22:25:32 +01:00
Diego Biurrun
ffae713a5b
Fix a bunch of common typos.
2012-03-09 22:02:49 +01:00
Diego Biurrun
eab6968f24
build: Skip compiling xvmc.h under the correct condition.
2012-03-09 20:56:15 +01:00
Gil Pedersen
49e35f497f
configure: darwin: Change dylib install names to include major version.
...
This will cause linkers to link against the major lib names, instead of the
base names, allowing multiple major versions of the libraries to co-exist.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2012-03-09 20:56:14 +01:00
Michael Niedermayer
ad53c7f9ec
lavf: Add system to seperate relative timestamps from absolute ones.
...
With this we can always know if a timestamp is based on added durations
from an unknown origin or if it is based on a correct timestamp (and possibly
added durations)
This should fix some bugs where this distinction was mixed up.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-03-09 19:36:12 +01:00