Diego Biurrun
2a09644076
configure: Separate package name and version requirements in helper functions
The unadorned package name is needed to derive package-related variable names.
9 years ago
Diego Biurrun
ffb9025f39
configure: Simplify MMAL check
9 years ago
Diego Biurrun
660470cd62
build: Add missing audio_frame_queue dependency for libwavpack encoder
9 years ago
Diego Biurrun
e1dc5358af
build: Create a component for MPEG audio header decoding
Fixes standalone compilation of the libmp3lame encoder.
9 years ago
Diego Biurrun
0fdc9f81a0
build: Add missing hevc_ps dependency for QSV HEVC encoder
9 years ago
Steven Liu
55affd95bd
avformat/hlsenc: fix ticket id 5988 for DISCONTINUITY
add EXT-X-DISCONTINUITY tag at the position of the append point.
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
9 years ago
Michael Niedermayer
1f5630af51
avcodec/flacdec: Fix undefined shift in decode_subframe()
Fixes undefined behavior
Fixes: 639961-media
Found-by: Matt Wolenetz <wolenetz@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
c72fa43234
avcodec/get_bits: Fix get_sbits_long(0)
Fixes undefined behavior
Fixes: 640889-media
Found-by: Matt Wolenetz <wolenetz@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
6567c59c49
avcodec/flac: forward errors from ff_flac_parse_streaminfo()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
020d53ebdb
avcodec/flac: Check bps in ff_flac_parse_streaminfo()
9 years ago
Michael Niedermayer
9859f54db3
avformat/ffmdec: Silence "may be used uninitialized in this function" warnings
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
b98510de5c
avformat/ffmdec: cleanup on extradata memory allocation failure
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
fdf588d7cf
avformat/ffmdec: Forward error code from ffm_read_header()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Muhammad Faiz
01ebb57c03
swresample/resample: do not rebuild filter when sample_delta is zero
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
9 years ago
Michael Niedermayer
83a75bf6c3
avcodec/flacdec: Fix signed integer overflow in decode_subframe_fixed()
Fixes undefined behavior
Fixes: 640912-media
Found-by: Matt Wolenetz <wolenetz@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
acc163c6ab
avcodec/flacdsp_template: Fix undefined shift in flac_decorrelate_indep_c
Fixes: left shift of negative value
Fixes: 668346-media
Found-by: Matt Wolenetz <wolenetz@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
c143e7939f
avformat/ffmdec: remove last use of st->codec
Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Carl Eugen Hoyos
5a237c33b8
lavf/asfdec_f: Remove CR/LF from avpriv_request_sample() call.
9 years ago
Carl Eugen Hoyos
a8cb567e55
lavc: Remove CR/LF from avpriv_request_sample() calls.
9 years ago
Alexandra Hájková
6c916192f3
mimic: Convert to the new bitstream reader
10 years ago
Alexandra Hájková
cdc6727c3e
metasound: Convert to the new bitstream reader
10 years ago
Alexandra Hájková
6fad5abcad
lagarith: Convert to the new bitstream reader
10 years ago
Alexandra Hájková
c3defda0d8
indeo: Convert to the new bitstream reader
9 years ago
Alexandra Hájková
f5b7bd2a7c
imc: Convert to the new bitstream reader
10 years ago
Alexandra Hájková
39ecf0588f
webp: Convert to the new bitstream reader
10 years ago
Diego Biurrun
6ef3360a38
configure: Add misssing qpeldsp dependency to mss2 decoder
9 years ago
Michael Niedermayer
6c15618b90
ffserver: remove one avcodec_context_copy()
Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
418a2b2478
avformat/ffmdec: Drop flags2, debug and codec->time_base setting
It should still be possible to set these through recommended_encoder_configuration
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
e706e2e775
avformat/ffmdec: Check media type for chunks
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
591c032421
avformat/ffmdec: replace most codec uses by codecpar
This is a bit messy as codecar does not support AVOptions so we need
to use AVCodecContext where AVOptions are required and copy back and forth.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
5cd3ea1cc0
avformat/ffmdec: Remove some st->codec uses which set encoder parameters
Modern ffserver should not need these
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Carl Eugen Hoyos
6c059bb2af
configure: Fix standalone compilation of the rtp muxer.
Reported and suggested by: me at juneoh dot net
Fixes ticket #5989 .
9 years ago
Diego Biurrun
14bba44fb2
build: Drop support for configuring library name suffixes
It is of doubtful utility, adds complexity and no known users exist.
13 years ago
Diego Biurrun
1ea77aae92
configure: Drop bogus xcb_event variables
9 years ago
Diego Biurrun
3794062ab1
Remove Plan 9 support
Supporting the system was a nice joke for the 9 release, but it has
run its course. Nowadays Plan 9 receives no testing and has no
practical usefulness.
9 years ago
Diego Biurrun
4a1ef54398
build: Drop support for old versions of libdc1394
The libdc1394 API transition was finished close to a decade ago.
9 years ago
Diego Biurrun
2575b1917b
build: Add separate flags for checkheaders targets
This allows filtering out some warning noise.
10 years ago
Diego Biurrun
984e50e74b
build: Add -Wpedantic and -Wextra to extra warning flags
Also drop -Winline from set of warning flags as it only produces noise.
11 years ago
Michael Niedermayer
afcf15b0db
avformat/oggparsespeex: Check frames_per_packet and packet_size
The speex specification does not seem to restrict these values, thus
the limits where choosen so as to avoid multiplicative overflow
Fixes undefined behavior
Fixes: 635422.ogg
Found-by: Matt Wolenetz <wolenetz@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
90da187f1d
avformat/utils: Check start/end before computing duration in update_stream_timings()
Fixes undefined behavior
Fixes: 637428.ogg
Found-by: Matt Wolenetz <wolenetz@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
James Almer
f88c8e0dc3
compat/atomics: rename header guards
Fixes fate-source.
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
James Almer
b5a0b85721
fate: rename fate-mov-init-nonkeyframe ref file
Fixes the test. Regression since 059a786c20
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Vittorio Giovara
25fcbf7a84
hevc: Support extradata changes
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Vittorio Giovara
46fae40d25
hevc: Allow parsing external extradata buffers
9 years ago
Vittorio Giovara
059a786c20
fate/mov: Rename a couple of entries to respect the file naming scheme
9 years ago
Anton Khirnov
41e891e89e
Add a compat dummy stdatomic.h used when threading is disabled
Adapted from the code by Rémi Denis-Courmont from VLC
This merges libav commit eb34d40354 .
Signed-off-by: Wan-Teh Chang <wtc@google.com>
Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Anton Khirnov
74b5f10862
Add a compat stdatomic.h implementation based on pthreads
Adapted from the code by Rémi Denis-Courmont from VLC
This merges libav commit f9a6a80e06 .
Signed-off-by: Wan-Teh Chang <wtc@google.com>
Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Anton Khirnov
70faadc826
Add a compat stdatomic.h implementation based on suncc atomics
Adapted from the code by Rémi Denis-Courmont from VLC
This merges libav commit bb81ed4765 .
Signed-off-by: Wan-Teh Chang <wtc@google.com>
Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Anton Khirnov
c91e72ed52
Add a compat stdatomic.h implementation based on windows atomics
Adapted from the code by Rémi Denis-Courmont from VLC
This merges libav commit c2755864af .
Signed-off-by: Wan-Teh Chang <wtc@google.com>
Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Anton Khirnov
3359eede8f
Add a compat stdatomic.h implementation based on GCC atomics
Adapted from the code by Rémi Denis-Courmont from VLC
This merges libav commit 4e928ef340 .
Signed-off-by: Wan-Teh Chang <wtc@google.com>
Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago