Stefano Sabatini
749ddc14fc
ffprobe: add priv_class field to Writer, and factorize writer options initialization
13 years ago
Stefano Sabatini
34b5b735f9
examples/muxing: add check on avformat_write_header() result
13 years ago
Stefano Sabatini
b3e2975ab3
examples/muxing: apply misc fixes to log messages
13 years ago
Stefano Sabatini
1d0048cfe3
examples/muxing: rename img_convert_ctx to sws_ctx
The new name is more consistent with the codebase, and more
self-consistent with the libswscale API.
13 years ago
Stefano Sabatini
976bb42aca
examples/muxing: merge some declarations and definitions
13 years ago
Stefano Sabatini
bdd9bfbbab
examples/muxing: prefer AVPicture to AVFrame, when feasible
Favor the use of plain AVPicture over AVFrame, especially when the use of
AVFrame is not required like in the case of tmp_picture.
Also adopt more straightforward names, to avoid frame/picture confusion.
13 years ago
Derek Buitenhuis
e20ac54f3e
postproc: Fix unprotected inline asm
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
e592fd0ed1
lavf/flvenc: convert commented debug log to an av_dlog call
Also add some additional info (DTS and DTS time).
13 years ago
Stefano Sabatini
3015194448
lavfi/amerge: clarify the error message in case of input overlap
13 years ago
Clément Bœsch
bbae8cdf4d
lavfi/amerge: avoid a forward declaration.
13 years ago
Michael Niedermayer
0ea65bbeee
ratecontrol: change a commented printf to av_log
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
50dba71b7d
ratecontrol: fix get_fps() argument
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
ce7876cbf4
ratecontrol: Dynamically choose a default for rc_max_available_vbv_use
This improves handling of small buffer sizes
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
a990a30883
ratecontrol: correct predictor in case of stuffing
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
2fe8fd3948
examples/demuxing: add audio decoding/demuxing
13 years ago
Michael Niedermayer
ec7946853a
Merge remote-tracking branch 'qatar/master'
* qatar/master:
rtpdec_jpeg: Add support for default quantizers
x86: dsputil: Move specific optimization settings out of global init function
avplay: get rid of ugly casts in the options table
avplay: fix prototypes for option callbacks.
flvdec: always set AVFMTCTX_NOHEADER.
file: Use a normal private context for storing the file descriptor
configure: Adjust the xgetbv instrinsic check
configure: Add --disable-inline-asm command line option
configure: Don't try to enable the log2 function on msvcrt
Conflicts:
configure
ffplay.c
libavcodec/x86/dsputil_mmx.c
libavformat/file.c
libavformat/flvdec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Clément Bœsch
7b56dddd56
lavfi/amerge: fix input pad name behaviour.
This fixes two problems:
- the invalid pad.name stack pointer after init() ends
- the duplicated name for all inputs
13 years ago
Carl Eugen Hoyos
20361bcc26
The TrueHD decoder needs the MLP parser.
13 years ago
Samuel Pitoiset
55e778bebd
rtpdec_jpeg: Add support for default quantizers
Generate quantization tables when they are not present in the
first chunk.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Diego Biurrun
1648a508fa
x86: dsputil: Move specific optimization settings out of global init function
They belong in the init functions specific to each CPU capability.
13 years ago
Anton Khirnov
0e8dccb79b
avplay: get rid of ugly casts in the options table
13 years ago
Anton Khirnov
4e82cbb629
avplay: fix prototypes for option callbacks.
They have been wrong since 11d957fbd8
13 years ago
Anton Khirnov
ee0dadc109
flvdec: always set AVFMTCTX_NOHEADER.
New streams may be created at any time, e.g. on codec change.
13 years ago
Michael Niedermayer
ba9e9605ad
cavsdec/decode_mb_b: fix return type
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
bb4ddeea5f
xtea: optimize core, about 4-5% faster.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
ef912134f0
x86/swscale: use unsigned to build SIMD values to avoid signed overflow
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
8470e6c96f
lavf/avformat_seek_file: fix harmless integer overflow
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
386d60f978
aacdec/lcg_random: fix harmless integer overflow
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
7ea5dbcb83
cavsdec: Fix assertion failure.
The assert in decode_mb_b() is replaced by a normal error check for the
case that can occur with a damaged or crafted bitstream.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
00d516454c
lavf/segment: add segment_list_flags option
Allow to specify options affecting the segment list generation.
In particular: add +live and +cache flags.
For a full discussion read trac ticket #1642 :
http://ffmpeg.org/trac/ffmpeg/ticket/1642
Also add live M3U8 generation example.
13 years ago
Stefano Sabatini
7b62d3415e
lavc/h263dec: return or propagate proper error codes
13 years ago
Stefano Sabatini
ac006d29d8
lavc/flvdec: return meaningful error codes
13 years ago
Stefano Sabatini
0c71d5a077
ffprobe: add print_section option to the compact writer
Allow to skip section name at the begin of each line. Possibly simplify
output.
13 years ago
Stefano Sabatini
f740c1a9c2
ffprobe: add and use DEFINE_WRITER_CLASS macro
Factorize writer class definition.
13 years ago
Michael Niedermayer
76fac07334
mpegaudiodec: replace pow(2.0,...) by exp2()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
c5f0b6bf41
atrac3: replace powf(2,...) by exp2f()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
14de55784d
sws/output: use unsigned variables where harmless overflows are expected.
signed overflow is undefined in C ...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
17b3251c6c
ra144enc: avoid integer overflows.
The values are all positive but signed variables where used,
which overflowed.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
5829b7d29e
ffmpeg: check timebase validity before considering it to be used for stream copy
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
f0d5050090
ffmpeg: fix bytes written statistics.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
b3b27b63a0
mpegtsenc: add forgotten ()
Fixes integer overflow
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
206c34e17d
lavfi/setpts: set SAMPLE_RATE to NAN when input is no audio
Should be more robust/consistent.
13 years ago
Stefano Sabatini
722762f7e1
lavfi/setpts: add FRAME_RATE constant
Useful for dealing with constant frame-rate video.
13 years ago
Martin Storsjö
0697d81269
file: Use a normal private context for storing the file descriptor
Previously the file descriptor was stored in the priv_data pointer.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
5fa22ae346
configure: Adjust the xgetbv instrinsic check
The 64 bit cl.exe version 16.00.30319.01 crashes with an internal
compiler error on the current check (and thus deduces it isn't
supported, even if the actual usage in libavuil/x86/cpu.c works
fine), but by assigning the value from the intrinsic to a variable,
or returning it, it works fine.
This error is fixed in cl.exe version 16.00.40219.01.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Diego Biurrun
afb5ed55d2
configure: Add --disable-inline-asm command line option
This can come in handy for testing and possibly other purposes.
13 years ago
Sébastien Brochet
e14725cecc
add OTF support for attachments
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
41dba453f9
utils/update_stream_timings: fix division by zero
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
108957c661
avidec/guess_ni_flag: fix harmless integer overflow
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Martin Storsjö
88a3569917
configure: Don't try to enable the log2 function on msvcrt
Some msvcrt versions (the static 64 bit libc in MSVC 10) have
a log2 function, but there is no declaration for it in the headers.
Therefore, the normal configure check might find it, but it can fail
during build or at runtime, depending on whether implicit function
declarations are an error or not.
Therefore simply ignore this function on this platform.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago