Martin Storsjö
ca5d57ef8a
ac3enc: Mark AVClasses const
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Mike Williams
863e2046fd
ffserver: Replace two loops with one loop.
...
Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Martin Storsjö
daca33659d
ffmpeg: Fix the check for experimental codecs
...
The variable 'codec' was used uninitialized here.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Ronald S. Bultje
baba2eedac
swscale: extend mmx padding.
...
Fixes a crash when forcing libc to strictly adhere to malloc sizes.
14 years ago
Ronald S. Bultje
55eda370cb
swscale: clip unscaled colorspace conversion path.
...
Prevents overflows on very bright scenes when adding dither,
which may lead to black dots.
14 years ago
Diego Biurrun
99b9df5281
doxygen: misc consistency cosmetics
14 years ago
Diego Biurrun
a2f31564b4
doc: remove file name from @file directive in Doxygen usage example
...
The file name is redundant and brittle across file renamings.
14 years ago
Diego Biurrun
f6f95d4e49
doxygen: consistently place brief description
14 years ago
Diego Biurrun
ec679eb453
doxygen: place empty line between brief description and detailed description
...
Without it, Doxygen cannot separate them into different sections.
14 years ago
Diego Biurrun
5a819c5e23
avformat_open_input(): Add braces to shut up gcc warning.
...
libavformat/utils.c:599: warning: missing braces around initializer
libavformat/utils.c:599: warning: (near initialization for ‘ap.time_base’)
14 years ago
Anton Khirnov
6cb1197929
APIchanges: fill in missing hashes and dates.
14 years ago
Anton Khirnov
f2f523fffc
Add an APIChanges entry and bump minor versions for recent changes.
14 years ago
Anton Khirnov
8d03ca085f
ffmpeg: print the low bitrate warning after the codec is openend.
...
This doesn't access avcodec_opts, so it works with the new options
passing system.
Makes opt_bitrate() unneeded, so it's removed.
14 years ago
Diego Biurrun
d0fcf39f0c
doxygen: Move function documentation into the macro generating the function.
...
This fixes a bunch of related warnings where Doxygen assumed that the
documentation belonged to the macro and not the function.
14 years ago
Diego Biurrun
96c1e6d40d
doxygen: Make sure parameter names match between .c and .h files.
14 years ago
Diego Biurrun
806212498a
h264: move fill_decode_neighbors()/fill_decode_caches() to h264_mvpred.h
...
This fixes a bunch of unused function warnings.
14 years ago
Daniel Kang
ac4a85f476
H.264: Add more x86 assembly for 10-bit H.264 predict functions
...
Mainly ported from 8-bit H.264 predict.
Some code ported from x264. LGPL ok by author.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
e358f7ee90
lavf: fix invalid reads in avformat_find_stream_info()
14 years ago
Anton Khirnov
35d2e4e5c3
cmdutils: replace opt_default with opt_default2() and remove set_context_opts
14 years ago
Anton Khirnov
bf174a70cd
ffmpeg: use new avcodec_open2 and avformat_find_stream_info API.
14 years ago
Anton Khirnov
3009f521f3
ffplay: use new avcodec_open2 and avformat_find_stream_info API.
14 years ago
Anton Khirnov
8c8eab8bfe
cmdutils: store all codec options in one dict instead of video/audio/sub
...
Split them when codec id is known.
14 years ago
Anton Khirnov
a9eb4f0899
ffmpeg: check experimental flag after codec is opened.
...
This doesn't access avcodec_opts, so it will work with the new options
passing system.
14 years ago
Anton Khirnov
8e2d085516
ffmpeg: do not set GLOBAL_HEADER flag in the options context
...
The removed lines have no effect, since the flag is set on all encoder
for the given file and avcodec_opts are reset between files.
14 years ago
Justin Ruggles
b5849f7709
ac3enc: merge AC3MDCTContext with AC3EncodeContext.
...
Since both the fixed-point and floating-point encoders use the FFTContext,
this no longer needs to be in a separate context. Also, when a short-transform
context is added, the same MDCT window will be used.
14 years ago
Justin Ruggles
82cea7cb6c
ac3enc: prefer passing AC3EncodeContext rather than AVCodecContext
14 years ago
Justin Ruggles
f501157e53
ac3enc: fix memleak
14 years ago
Ronald S. Bultje
cdc5a3a194
mpeg1video: add CODEC_CAP_SLICE_THREADS.
14 years ago
Anton Khirnov
13551ad1e3
lavf: fix segfault in av_open_input_stream()
...
ic is NULL in case of error.
14 years ago
Jindrich Makovicka
575c38d76c
mpegtsenc: set Random Access indicator on keyframe start packets
...
Signed-off-by: Jindrich Makovicka <jindrich.makovicka@nangu.tv>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Alex Converse
a58858d60d
lavf: Cleanup try_decode_frame() logic.
...
This fixes AAC playback in ffplay.
14 years ago
Diego Biurrun
71a1d1116f
Replace some gotos that lead to single return statements by direct return.
14 years ago
Diego Biurrun
191c5f8ff3
build: move tests/seek_test.c to libavformat and reuse generic build rules
14 years ago
Kostya Shishkov
2c4d7bf008
mxfenc: include needed header for ff_iso8601_to_unix_time() prototype
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Anton Khirnov
6379900c53
Add a check for strptime().
...
It's an XSI extension, not available on some supported systems.
14 years ago
Anton Khirnov
001d668d40
lavf: factor out conversion of ISO8601 string to unix time
14 years ago
Tomas Härdin
b21e6b707f
wav: parse 'bext' metadata
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Tomas Härdin
67b1761fcb
wav: keep parsing until EOF if the input is seekable and we know the size of the data tag
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Tomas Härdin
90f2ee8cb4
wav: Refactor the tag checking into a switch statement
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Tomas Härdin
1cf18de982
wav: make sure neither data_size nor sample_count is negative.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Tomas Härdin
7f84055e2d
wav: refactor the 'fmt ' tag search and parsing.
...
Moving the search and parsing of the 'fmt ' info the main loop of
wav_read_header() allows tags that precede it to be parsed. Creating
wav_parse_fmt_tag() makes wav_read_header() easier to read.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Benjamin Larsson
a4ad943860
wav: add an option for writing BEXT chunk
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Anton Khirnov
c7dd3e7e43
ffmpeg: get rid of a pointless limit on number of streams.
14 years ago
Anton Khirnov
646a9a1893
ffmpeg: remove an unused define.
14 years ago
Kostya Shishkov
0cdd1208be
Musepack SV7: try to read files without number of frames provided
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Diego Biurrun
2cb6dec61c
doc: Improve references to external URLs.
...
Sometimes it makes sense to replace a raw URL with some informative text
that links to the URL instead of using the raw URL itself in the text.
Also transform some mailing list references into links.
14 years ago
Diego Biurrun
028216b2c2
h264: move decode_mb_skip() from h264.h to h.264_mvpred.h
...
This resolves a circular dependency between the headers.
14 years ago
Diego Biurrun
987041318f
ffplay: skip return value of avcodec_decode_video2 / avcodec_decode_subtitle2
...
This fixes some warnings about unused-but-set variables.
14 years ago
Diego Biurrun
828e207337
dnxhdenc: Replace a forward declaration by the proper #include.
14 years ago
Ronald S. Bultje
c90a2538a0
h264: move h264_mvpred.h include.
...
Fixes the following compile error with darwin/gcc-4.2.1:
In file included from libavcodec/error_resilience.c:33:
libavcodec/h264.h: In function ‘decode_mb_skip’:
libavcodec/h264.h:773: error: ‘always_inline’ function could not be inlined in call to ‘pred_pskip_motion’: the function body must appear before caller
libavcodec/h264.h:1334: error: called from here
14 years ago