Anton Khirnov
19dfbf1915
librtmp: return AVERROR_UNKNOWN instead of -1.
13 years ago
Anton Khirnov
a91943bcef
librtmp: don't abuse a variable for two unrelated things.
13 years ago
Anton Khirnov
007aedeebf
librtmp: add rtmp_app and rtmp_playpath private options.
...
This makes it easier to switch between native rtmp and librtmp.
13 years ago
Kostya Shishkov
96fadfb158
bmv: add stricter checks for invalid decoded length
...
This makes decoder handle random data passed as BMV frame data.
13 years ago
Michael Niedermayer
6df1cfa7e4
mace: check channel count, fixes FPE
...
Fixes ticket1391
Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
cc229d4e83
h263: disable loop filter with lowres
...
Fixes ticket1212
Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
169dae8114
Unconditionally compile init_stream() in bintext.
...
Fixes compilation of xbin, adf and idf demuxer if
bintext demuxer was disabled.
Fixes ticket #1399
13 years ago
Anton Khirnov
cf3a1948e9
avpacket: fix duplicating side data.
...
Use correct side data size instead of just zeroed field.
13 years ago
Nicolas George
7f17f4f1a7
af_amerge: use the buferqueue API.
13 years ago
Nicolas George
2f2d47ab63
af_astreamsync: set samples rate in query_formats.
13 years ago
Michael Niedermayer
c983ca5b90
mpegtsenc: zero pointers after freeing
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
328e203ca9
mpegts_audio_write: fix potential integer overflow
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Luca Barbato
21e2dc9fb7
flv: support stream text data as onTextData
...
Adobe specifies onTextData as the standard message to use to deliver
text information.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Michael Niedermayer
f67309cabe
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
mpegtsenc: Support LATM packetization for AAC
adtsenc: Don't expose the muxer internals to the rest of lavf
mpegtsenc: use AVFormatContext for AAC packetization
mpegtsenc: use AVERROR() for return codes
Conflicts:
libavformat/adts.h
libavformat/mpegtsenc.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mans Rullgard
a128b310ef
configure: add --enable/disable-random option
...
This allows creating random configurations which is useful for
testing purposes.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Conflicts:
configure
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mans Rullgard
d0f34c96b1
aacsbr: remove unused variables
13 years ago
Michael Niedermayer
0e3cec9f7d
aacsbr: optimize sine level addition
...
Based-on commit by Måns Rullgård <mans@mansr.com>
original: 1424 decicycles in phi, 1024 runs, 0 skips
mans code: 1104 decicycles in phi, 1024 runs, 0 skips
this change: 734 decicycles in phi, 1024 runs, 0 skips
mans code: 1 file changed, 20 insertions(+), 10 deletions(-)
this change: 1 file changed, 10 insertions(+), 6 deletions(-)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Jindrich Makovicka
2439bd8681
mpegtsenc: Support LATM packetization for AAC
...
This adds the avoption mpegts_flags and converts the existing
resend_headers option into a flag, keeping the old option as
fallback for now.
Signed-off-by: Jindrich Makovicka <makovick@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Jindrich Makovicka
485d3ea064
adtsenc: Don't expose the muxer internals to the rest of lavf
...
This isn't required any longer, when the mpegts muxer uses it
as a proper chained muxer.
Signed-off-by: Jindrich Makovicka <makovick@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Jindrich Makovicka
b1c56eabe8
mpegtsenc: use AVFormatContext for AAC packetization
...
This removes the dependency on adts.c internals, and simplifies
adding other packetization formats.
Signed-off-by: Jindrich Makovicka <makovick@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Jindrich Makovicka
d1a3a3d4b2
mpegtsenc: use AVERROR() for return codes
...
Signed-off-by: Jindrich Makovicka <makovick@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Michael Niedermayer
e95233789c
mpc7: fix handling of last frame
...
Fixes heap buffer overflow
Fixes ticket1393
Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
e0eaf10049
oggdec: fix regression that caused reading the whole file during open
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Marton Balint
22505c188c
ffplay: calculate audio diff threshold based on the actual settings
...
Signed-off-by: Marton Balint <cus@passwd.hu>
13 years ago
Marton Balint
0dad529201
ffplay: try more channel count combinations for SDL_OpenAudio
...
This should fix ticket 1384.
Signed-off-by: Marton Balint <cus@passwd.hu>
13 years ago
Michael Niedermayer
82570d2f09
png_parser: dont falsely mark frames as keyframes
...
Fixes Ticket1381
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
5665674b55
lavf: use input keyframe flag when muxer does not provide keyframe flags.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
b3675f890a
bink: fix out of reference frame read
...
Fixes Ticket1374
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Marton Balint
7821264c26
ffplay: simplify audio_open, rename parameters to more explanatory names
...
Signed-off-by: Marton Balint <cus@passwd.hu>
13 years ago
Marton Balint
7342037973
ffplay: remove VideoState from audio_open
...
Signed-off-by: Marton Balint <cus@passwd.hu>
13 years ago
Marton Balint
e1248f5c52
ffplay: put audio parameters to their own struct
...
Signed-off-by: Marton Balint <cus@passwd.hu>
13 years ago
Marton Balint
03095d73a3
ffplay: put audio_open into a seperate function
...
Signed-off-by: Marton Balint <cus@passwd.hu>
13 years ago
Michael Niedermayer
1bf22c3a8f
Merge remote-tracking branch 'cus/stable'
...
* cus/stable:
ffplay: remove VideoPicture pix_fmt and use frame pixel format instead
ffplay: only request 4 or 6 channels from SDL, if SDL version is at least 1.2.8
ffplay: add pause audio feature in the middle of a packet
ffplay: remove VideoPicture duration field
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
fb4e434cfb
h264: log debug output for slightly truncated streams
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
cd0f9f00a2
h264: try to better handle h264 streams that are slightly truncated
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
debbcfae60
bmv: fix apparent sign error in the frame_off check
...
Fixes part of Ticket1373
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
679c578cb8
bmv: fix integer overflows in vlc decoder.
...
Fixes part of Ticket1373
Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Based-on-patch-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
9ebe6e3910
ffv1: fix integer overflow in quant table initialization
...
Fixes part of Ticket1372
Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
97c281d5b7
ffv1: fix crash caused by version becoming inconsistent
...
Fixes part of Ticket1372
Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
0bae6661cd
fraps: fix version 0/1 input data size check.
...
Fixes array overread.
Fixes Ticket1371
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
f23a2418fb
wmv1: check that the input buffer is large enough
...
Fixes null ptr deref
Fixes Ticket1367
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Clément Bœsch
fd0c83c666
ffprobe: add flat output format.
13 years ago
Clément Bœsch
db839544d6
ffprobe/xml: use writer multiple_sections instead of local context variable.
13 years ago
Clément Bœsch
2248db946c
ffprobe: move packets_and_frames work to writer context.
13 years ago
Carl Eugen Hoyos
7980a260a9
Let ffmpeg select the null and anull filters.
...
They are needed since 16e25ef
.
13 years ago
Michael Niedermayer
fbc5e0fae1
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
http: Add the url_shutdown function for https, too
http: Simplify code by removing a local variable
http: Clear the old URLContext pointer when closed
tcp: Try enabling SO_REUSEADDR when listening
tcp: Check the return values from bind and accept
avisynth: Make sure the filename passed to avisynth is in the right code page
Conflicts:
libavformat/http.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
0d83edaba9
dct-test: give emms a memory clober.
...
Without this, the compiler in theory could attempt to keep
things in float registers across the emms which would cause
bad things to happen.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
461030a7ac
dct-test: perform emms before gettime().
...
This fixes the hypothetical case of a gettime implementation using floats
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
9758b1cb88
fate: enable fate-mapchan-6ch-extract-2-downmix-mono
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
d43812e235
ffmpeg: move pan filter insertion up.
...
This fixes one (disabled) fate test.
Thanks-to: ubitux to pointing at the odd filter order and stereo/mono messup
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago