Laurent Aimar
b4ed3d78cb
rv34: Fix potential overreads
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-09-19 15:44:22 +03:00
Laurent Aimar
d2213b6493
rv34: Fix buffer size used for MC of B frames after a resolution change
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-09-19 15:44:22 +03:00
Laurent Aimar
d0f6ab0298
rv34: Avoid NULL dereference on corrupted bitstream
...
rv34_decode_slice() can return without allocating any pictures.
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-09-19 15:44:22 +03:00
Laurent Aimar
4a29b47186
rv10: Reject slices that does not have the same type as the first one
...
This prevents crashes with some corrupted bitstreams.
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-09-19 14:58:33 +03:00
Joakim Plate
ab09df9dea
vf_yadif: add an option to enable/disable deinterlacing based on src frame "interlaced" flag
...
Signed-off-by: Joakim Plate <elupus@ecce.se>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-09-19 12:44:22 +02:00
Stefano Sabatini
91aff2665d
vsrc_color: set output pos values to -1
...
-1 is more correct than 0, as the position in the file is undefined.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-09-19 12:44:02 +02:00
Stefano Sabatini
753890d0db
vsrc_color: add @file doxy
...
Also remove outdated reference to color in vf_pad.c.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-09-19 12:43:25 +02:00
Stefano Sabatini
deb58ab447
vsrc_buffer: remove duplicated file description
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-09-19 12:43:10 +02:00
Stefano Sabatini
8cee38a298
eval: implement not() expression
2011-09-19 12:38:34 +02:00
Stefano Sabatini
9bc393908a
eval: add sqrt function for computing the square root
2011-09-19 12:38:14 +02:00
Laurent Aimar
3e033da847
rmdec: use the deinterleaving mode and not the codec when creating audio packets.
...
It prevents crashes due to non initialized fields.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-09-19 12:37:31 +02:00
Carl Eugen Hoyos
4a9b069b67
Support 3IVD in isom, produced by 3ivx DivX Doctor.
...
Fixes ticket #486 .
2011-09-19 12:20:42 +02:00
David Goldwich
63d64228a7
lavf: Fix context pointer in av_open_input_stream when avformat_open_input fails
...
Signed-off-by: David Goldwich <david.goldwich@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-09-19 12:03:56 +02:00
Michael Niedermayer
8593b743a8
rematrix: dont use floats for int16 code.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-19 09:25:50 +02:00
Michael Niedermayer
c3c1af6dc6
rematrix: use double during init.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-19 08:44:49 +02:00
Michael Niedermayer
1133676f4a
swr: replace sqrt(0.5) by M_SQRT1_2
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-19 08:44:24 +02:00
Michael Niedermayer
a5f8aace89
configure: swr pkgconfig
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-19 07:32:38 +02:00
Michael Niedermayer
9dd3da1061
swr: fix shared lib build
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-19 07:26:42 +02:00
Michael Niedermayer
b5875b9111
Add libswresample.
...
Similar to libswscale this does resampling and format convertion, just for audio
instead of video.
changing sampling rate, sample formats, channel layouts and sample packing all
in one with a very simple public interface.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-19 07:04:17 +02:00
John Stebbins
53e37840bf
calculate frame_num for recovery point "keyframe"
...
recovery points that have non-zero recovery_frame_cnt resulted in
flagging incomplete frames as keyframes. This delays setting the
keyframe flag till the frame has been fully constructed.
2011-09-18 23:13:50 +02:00
Michael Niedermayer
96c93b8ceb
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
doc/APIChanges: fill in missing hashes and dates.
Conflicts:
doc/APIchanges
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-18 22:26:46 +02:00
Carl Eugen Hoyos
4bc447a3c5
Fix compilation with --disable-everything --enable-outdev=alsa.
...
Bug found and analysed by skierpage.
2011-09-18 22:22:45 +02:00
Michael Niedermayer
ba5ff1b31e
h264dec: add forgotten copying of h->sync
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-18 21:53:30 +02:00
Carl Eugen Hoyos
0ddcfa42cc
Fix compilation without --disable-swscale.
2011-09-18 19:06:49 +02:00
Carl Eugen Hoyos
c76861723b
Fix compilation with --disable-swscale.
...
Fixes ticket #482 .
2011-09-18 18:57:35 +02:00
Joakim Plate
8e4c10003a
Set AV_PKT_FLAG_KEY based on nupplevideo header
...
Based from lipbmpdemux/nupplevideo.h and from myth NuppelVideoRecorder.cpp
2011-09-18 18:25:44 +02:00
Joakim Plate
7768f6b1b9
add support for generic seeking by reading timestamps in nuv
2011-09-18 18:16:37 +02:00
Clément Bœsch
46f415b553
doc/filters: fix numer/number typo.
2011-09-18 17:32:03 +02:00
Clément Bœsch
46c9ddf83c
lavfi: fix avfilter_get_audio_buffer() doxy to match reality.
2011-09-18 17:32:03 +02:00
Michael Niedermayer
9209249ba1
lavc: better reference to AVOptions
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-18 16:06:28 +02:00
Michael Niedermayer
0812ad01c8
h264dec: Support CODEC_FLAG2_SHOW_ALL.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-18 15:33:50 +02:00
Michael Niedermayer
86dd4b0495
mpeg2dec: support CODEC_FLAG2_SHOW_ALL.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-18 15:33:50 +02:00
Michael Niedermayer
4907302236
lavc: Document that AVOptions should be used.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-18 15:33:50 +02:00
Michael Niedermayer
645cebbe4f
lavc: add CODEC_FLAG2_SHOW_ALL
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-18 15:33:50 +02:00
Stefano Sabatini
9535929897
asrc_anullsrc: amend description to reflect the recent changes
2011-09-18 14:26:37 +02:00
Stefano Sabatini
1d8d987ba8
asrc_anullsrc: globally prefer "null" over "priv" for indicating the filter context
...
More locally and globally consistent.
2011-09-18 12:38:39 +02:00
Stefano Sabatini
17d2fee789
asrc_anullsrc: do not show the int64_t value for channel_layout
...
That was clumsy and confusing, only show the descriptive channel
layout string.
2011-09-18 12:38:39 +02:00
Stefano Sabatini
e72aa524d8
asrc_anullsrc: implement a request_frame callback for returning frames
...
This is mainly useful for filters (like the sox synth), which
overwrite the content of the passed data.
2011-09-18 12:38:33 +02:00
Stefano Sabatini
44ab77db9e
asrc_anullsrc: extend syntax to make it accept a non positional list of arguments
...
The new syntax is more extensible and more user-friendly.
This breaks the previous syntax, should not be an issue as possibly
no-one is already using anullsrc.
2011-09-18 12:30:01 +02:00
Anton Khirnov
7f9b0ef9a8
doc/APIChanges: fill in missing hashes and dates.
2011-09-18 12:01:23 +02:00
Chiranjeevi Melam
07631deeee
rtmpproto.c: Fixed RTMP Stream output issue
...
Original code had the assumption of only one FLV packet per RTMP packet. But that assumption is incorrect for higher bit rates. Made changes to the code to accommodate more than one FLV packet per RTMP
+packet.
2011-09-18 06:32:05 +02:00
Arne de Bruijn
b2f230e23d
mpegpsdec: fix reading first mpegps packet
2011-09-18 01:57:56 +02:00
Laurent Aimar
140dbcff35
Avoid NULL dereference on corrupted bitstream with real decoder.
...
rv34_decode_slice() can return without allocating any pictures.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-18 00:57:49 +02:00
Laurent Aimar
d788af6cf6
Reject slices that does not have the same type than the first one in RV10/RV20 decoder.
...
This prevents crashes with some corrupted bitstreams.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-18 00:57:49 +02:00
Michael Niedermayer
eac673d506
timecode: relicense to LGPLv2+ with permission of Baptiste and ubitux.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-18 00:29:32 +02:00
Michael Niedermayer
9a9ceb8776
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
lavfi: add select filter
oggdec: fix out of bound write in the ogg demuxer
movenc: create an alternate group for each media type
lavd: add libcdio-paranoia input device for audio CD grabbing
rawdec: refactor private option for raw video demuxers
pcmdec: use unique classes for all pcm demuxers.
rawdec: g722 is always 1 channel/16kHz
Conflicts:
Changelog
configure
doc/filters.texi
libavdevice/avdevice.h
libavfilter/avfilter.h
libavfilter/vf_select.c
tests/ref/lavf/mov
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-17 22:36:43 +02:00
Michael Niedermayer
979bea1300
check all svq3_get_ue_golomb() returns.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-17 21:55:11 +02:00
Michael Niedermayer
a64b028aeb
h264dec: Dont display trash before a keyframe.
...
Fixes Ticket472
This may (or may not) cause problems with files that have no keyframes.
Plese open a bugreport or mail me if you have a file for which this fails.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-17 21:20:44 +02:00
Michael Niedermayer
35f38b3ab9
rv34: check for size mismatch
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-17 20:17:10 +02:00
Stefano Sabatini
d763fb7d47
lavfi: add select filter
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-09-17 19:08:30 +02:00