ffmpeg.git
8 years agoffplay: warn that -s is no longer working, suggest alternative
Stefano Sabatini [Sat, 16 Jul 2011 21:08:06 +0000 (23:08 +0200)]
ffplay: warn that -s is no longer working, suggest alternative

Also remove now unused variables.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agolavf: rename enc variable in utils.c:has_codec_parameters()
Stefano Sabatini [Sat, 16 Jul 2011 21:08:29 +0000 (23:08 +0200)]
lavf: rename enc variable in utils.c:has_codec_parameters()

Rename it to "avctx", the old name was confusing as the function is
used also with decoder contexts.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agolavf: use designated initialisers for all (de)muxers.
Anton Khirnov [Sat, 16 Jul 2011 20:18:12 +0000 (22:18 +0200)]
lavf: use designated initialisers for all (de)muxers.

It's more readable and less prone to breakage.

8 years agowav: remove a use of deprecated AV_METADATA_ macro
Anton Khirnov [Sat, 16 Jul 2011 07:53:40 +0000 (09:53 +0200)]
wav: remove a use of deprecated AV_METADATA_ macro

8 years agormdec: remove useless ap parameter from rm_read_header_old()
Anton Khirnov [Sat, 16 Jul 2011 07:43:33 +0000 (09:43 +0200)]
rmdec: remove useless ap parameter from rm_read_header_old()

8 years agodct-test: remove write-only variable
Mans Rullgard [Sat, 16 Jul 2011 18:23:07 +0000 (19:23 +0100)]
dct-test: remove write-only variable

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agodes: fix #if conditional around P_shuffle
Mans Rullgard [Sat, 16 Jul 2011 18:10:43 +0000 (19:10 +0100)]
des: fix #if conditional around P_shuffle

CONFIG_SMALL is always defined as 0 or 1.

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoUse LOCAL_ALIGNED in ff_check_alignment()
Mans Rullgard [Sat, 16 Jul 2011 14:37:05 +0000 (15:37 +0100)]
Use LOCAL_ALIGNED in ff_check_alignment()

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoarm: remove disabled function dct_unquantize_h263_inter_iwmmxt()
Diego Biurrun [Sat, 16 Jul 2011 17:15:01 +0000 (19:15 +0200)]
arm: remove disabled function dct_unquantize_h263_inter_iwmmxt()

8 years agoRemove commented-out call to non-existing function print_pow1().
Diego Biurrun [Tue, 26 Apr 2011 14:57:55 +0000 (16:57 +0200)]
Remove commented-out call to non-existing function print_pow1().

8 years agoDo not decode RV30 files if the extradata is too small
Rafaël Carré [Sat, 16 Jul 2011 15:41:08 +0000 (11:41 -0400)]
Do not decode RV30 files if the extradata is too small

Signed-off-by: Diego Biurrun <diego@biurrun.de>
8 years agoflashsv: split flashsv_decode_block() off from flashsv_decode_frame().
Diego Biurrun [Wed, 6 Jul 2011 21:53:32 +0000 (23:53 +0200)]
flashsv: split flashsv_decode_block() off from flashsv_decode_frame().

8 years agoppc: remove disabled code
Diego Biurrun [Fri, 15 Jul 2011 23:35:01 +0000 (01:35 +0200)]
ppc: remove disabled code

8 years agolibspeexdec: Drop const qualifier to silence compiler warning.
Diego Biurrun [Wed, 6 Jul 2011 23:31:03 +0000 (01:31 +0200)]
libspeexdec: Drop const qualifier to silence compiler warning.

libavcodec/libspeexdec.c:108: warning: passing argument 2 of ‘speex_bits_read_from’ discards qualifiers from pointer target type
/usr/include/speex/speex_bits.h:80: note: expected ‘char *’ but argument is of type ‘const uint8_t *’

8 years agolibopenjpeg: Drop const qualifier to silence compiler warning.
Diego Biurrun [Wed, 6 Jul 2011 23:31:02 +0000 (01:31 +0200)]
libopenjpeg: Drop const qualifier to silence compiler warning.

libavcodec/libopenjpeg.c:100: warning: passing argument 2 of ‘opj_cio_open’ discards qualifiers from pointer target type
/usr/include/openjpeg.h:770: note: expected ‘unsigned char *’ but argument is of type ‘const uint8_t *’

8 years agoalac: Remove unused dummy code.
Diego Biurrun [Fri, 29 Apr 2011 17:49:45 +0000 (19:49 +0200)]
alac: Remove unused dummy code.

8 years agoRemove unused structs and tables.
Diego Biurrun [Fri, 29 Apr 2011 17:40:16 +0000 (19:40 +0200)]
Remove unused structs and tables.

8 years agovaapi: do not assert on value read from input bitstream
Diego Biurrun [Thu, 14 Jul 2011 23:06:16 +0000 (01:06 +0200)]
vaapi: do not assert on value read from input bitstream

User-provided data should never trigger an assert; return error instead.
Also fix an instance of get_bits where get_bits_long should have been used.

This eliminates the following warning:
libavcodec/vaapi_mpeg2.c:112:14: warning: variable 'start_code' set but not used

8 years agoflashsvenc: replace bitstream description by a link to the specification
Diego Biurrun [Fri, 15 Jul 2011 17:45:17 +0000 (19:45 +0200)]
flashsvenc: replace bitstream description by a link to the specification

An official specification now exists and it is both more detailed and
easier to understand than the incomplete notes available here.

8 years agoflashsvenc: drop unnecessary cast
Diego Biurrun [Fri, 15 Jul 2011 14:21:20 +0000 (16:21 +0200)]
flashsvenc: drop unnecessary cast

8 years agoflashsvenc: improve some variable names and fix corresponding comments
Diego Biurrun [Fri, 15 Jul 2011 13:55:19 +0000 (15:55 +0200)]
flashsvenc: improve some variable names and fix corresponding comments

8 years agoflashsvenc: merge two consecutive if-conditions
Diego Biurrun [Fri, 15 Jul 2011 13:28:43 +0000 (15:28 +0200)]
flashsvenc: merge two consecutive if-conditions

8 years agoflashsvenc: merge variable declarations and initializations
Diego Biurrun [Fri, 15 Jul 2011 13:28:18 +0000 (15:28 +0200)]
flashsvenc: merge variable declarations and initializations

8 years agoflashsvenc: convert some debug av_log() to av_dlog()
Diego Biurrun [Fri, 15 Jul 2011 13:26:49 +0000 (15:26 +0200)]
flashsvenc: convert some debug av_log() to av_dlog()

8 years agoflashsvenc: whitespace cosmetics
Diego Biurrun [Fri, 15 Jul 2011 13:26:18 +0000 (15:26 +0200)]
flashsvenc: whitespace cosmetics

8 years agoflashsvenc: drop some unnecessary parentheses
Diego Biurrun [Fri, 15 Jul 2011 13:09:39 +0000 (15:09 +0200)]
flashsvenc: drop some unnecessary parentheses

8 years agoflashsvenc: fix some comment typos
Diego Biurrun [Fri, 15 Jul 2011 13:05:51 +0000 (15:05 +0200)]
flashsvenc: fix some comment typos

8 years agoaacps: skip some memcpy() if src and dst would be equal
Mans Rullgard [Fri, 15 Jul 2011 21:38:10 +0000 (22:38 +0100)]
aacps: skip some memcpy() if src and dst would be equal

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agolavf/utils: drop av_ prefixes from static functions.
Anton Khirnov [Fri, 15 Jul 2011 18:27:43 +0000 (20:27 +0200)]
lavf/utils: drop av_ prefixes from static functions.

8 years agoavio: don't replicate avio_alloc_context functionality.
Anton Khirnov [Sat, 21 May 2011 17:13:22 +0000 (19:13 +0200)]
avio: don't replicate avio_alloc_context functionality.

8 years agoconfigure: Automatically add more flags required on symbian
Martin Storsjö [Fri, 15 Jul 2011 07:53:12 +0000 (10:53 +0300)]
configure: Automatically add more flags required on symbian

Signed-off-by: Martin Storsjö <martin@martin.st>
8 years agomem.h: switch doxygen parameter order to match function prototype
Diego Biurrun [Thu, 14 Jul 2011 22:45:59 +0000 (00:45 +0200)]
mem.h: switch doxygen parameter order to match function prototype

8 years agodoxygen: replace @sa tag by the more readable but equivalent @see
Diego Biurrun [Thu, 14 Jul 2011 22:45:23 +0000 (00:45 +0200)]
doxygen: replace @sa tag by the more readable but equivalent @see

8 years agodoxygen: use Doxygen markup for authors and web links where appropriate
Diego Biurrun [Thu, 14 Jul 2011 01:56:07 +0000 (03:56 +0200)]
doxygen: use Doxygen markup for authors and web links where appropriate

8 years agodoxygen: do not include license boilerplate in Doxygen documentation
Diego Biurrun [Thu, 14 Jul 2011 01:11:19 +0000 (03:11 +0200)]
doxygen: do not include license boilerplate in Doxygen documentation

8 years agoac3enc: Mark AVClasses const
Martin Storsjö [Thu, 14 Jul 2011 21:21:15 +0000 (00:21 +0300)]
ac3enc: Mark AVClasses const

Signed-off-by: Martin Storsjö <martin@martin.st>
8 years agoffserver: Replace two loops with one loop.
Mike Williams [Wed, 13 Jul 2011 18:24:47 +0000 (14:24 -0400)]
ffserver: Replace two loops with one loop.

Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
8 years agoffmpeg: Fix the check for experimental codecs
Martin Storsjö [Thu, 14 Jul 2011 20:01:29 +0000 (23:01 +0300)]
ffmpeg: Fix the check for experimental codecs

The variable 'codec' was used uninitialized here.

Signed-off-by: Martin Storsjö <martin@martin.st>
8 years agoswscale: extend mmx padding.
Ronald S. Bultje [Thu, 14 Jul 2011 17:31:27 +0000 (10:31 -0700)]
swscale: extend mmx padding.

Fixes a crash when forcing libc to strictly adhere to malloc sizes.

8 years agoswscale: clip unscaled colorspace conversion path.
Ronald S. Bultje [Thu, 14 Jul 2011 17:24:40 +0000 (10:24 -0700)]
swscale: clip unscaled colorspace conversion path.

Prevents overflows on very bright scenes when adding dither,
which may lead to black dots.

8 years agodoxygen: misc consistency cosmetics
Diego Biurrun [Thu, 14 Jul 2011 02:05:17 +0000 (04:05 +0200)]
doxygen: misc consistency cosmetics

8 years agodoc: remove file name from @file directive in Doxygen usage example
Diego Biurrun [Thu, 14 Jul 2011 01:54:10 +0000 (03:54 +0200)]
doc: remove file name from @file directive in Doxygen usage example

The file name is redundant and brittle across file renamings.

8 years agodoxygen: consistently place brief description
Diego Biurrun [Thu, 14 Jul 2011 01:46:19 +0000 (03:46 +0200)]
doxygen: consistently place brief description

8 years agodoxygen: place empty line between brief description and detailed description
Diego Biurrun [Thu, 14 Jul 2011 01:12:36 +0000 (03:12 +0200)]
doxygen: place empty line between brief description and detailed description

Without it, Doxygen cannot separate them into different sections.

8 years agoavformat_open_input(): Add braces to shut up gcc warning.
Diego Biurrun [Thu, 7 Jul 2011 00:01:07 +0000 (02:01 +0200)]
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’)

8 years agoAPIchanges: fill in missing hashes and dates.
Anton Khirnov [Thu, 14 Jul 2011 08:43:24 +0000 (10:43 +0200)]
APIchanges: fill in missing hashes and dates.

8 years agoAdd an APIChanges entry and bump minor versions for recent changes.
Anton Khirnov [Thu, 14 Jul 2011 08:09:05 +0000 (10:09 +0200)]
Add an APIChanges entry and bump minor versions for recent changes.

8 years agoffmpeg: print the low bitrate warning after the codec is openend.
Anton Khirnov [Thu, 14 Jul 2011 07:38:36 +0000 (09:38 +0200)]
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.

8 years agodoxygen: Move function documentation into the macro generating the function.
Diego Biurrun [Mon, 4 Jul 2011 10:33:11 +0000 (12:33 +0200)]
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.

8 years agodoxygen: Make sure parameter names match between .c and .h files.
Diego Biurrun [Sat, 2 Jul 2011 12:47:34 +0000 (14:47 +0200)]
doxygen: Make sure parameter names match between .c and .h files.

8 years agoh264: move fill_decode_neighbors()/fill_decode_caches() to h264_mvpred.h
Diego Biurrun [Wed, 13 Jul 2011 19:51:23 +0000 (21:51 +0200)]
h264: move fill_decode_neighbors()/fill_decode_caches() to h264_mvpred.h

This fixes a bunch of unused function warnings.

8 years agoH.264: Add more x86 assembly for 10-bit H.264 predict functions
Daniel Kang [Mon, 11 Jul 2011 21:26:43 +0000 (17:26 -0400)]
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>
8 years agolavf: fix invalid reads in avformat_find_stream_info()
Anton Khirnov [Thu, 14 Jul 2011 01:08:53 +0000 (03:08 +0200)]
lavf: fix invalid reads in avformat_find_stream_info()

8 years agocmdutils: replace opt_default with opt_default2() and remove set_context_opts
Anton Khirnov [Wed, 25 May 2011 15:30:23 +0000 (17:30 +0200)]
cmdutils: replace opt_default with opt_default2() and remove set_context_opts

8 years agoffmpeg: use new avcodec_open2 and avformat_find_stream_info API.
Anton Khirnov [Wed, 25 May 2011 15:29:25 +0000 (17:29 +0200)]
ffmpeg: use new avcodec_open2 and avformat_find_stream_info API.

8 years agoffplay: use new avcodec_open2 and avformat_find_stream_info API.
Anton Khirnov [Wed, 25 May 2011 14:59:51 +0000 (16:59 +0200)]
ffplay: use new avcodec_open2 and avformat_find_stream_info API.

8 years agocmdutils: store all codec options in one dict instead of video/audio/sub
Anton Khirnov [Sun, 10 Jul 2011 13:46:15 +0000 (15:46 +0200)]
cmdutils: store all codec options in one dict instead of video/audio/sub

Split them when codec id is known.

8 years agoffmpeg: check experimental flag after codec is opened.
Anton Khirnov [Tue, 12 Jul 2011 15:18:42 +0000 (17:18 +0200)]
ffmpeg: check experimental flag after codec is opened.

This doesn't access avcodec_opts, so it will work with the new options
passing system.

8 years agoffmpeg: do not set GLOBAL_HEADER flag in the options context
Anton Khirnov [Tue, 12 Jul 2011 14:18:45 +0000 (16:18 +0200)]
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.

8 years agoac3enc: merge AC3MDCTContext with AC3EncodeContext.
Justin Ruggles [Wed, 13 Jul 2011 19:12:11 +0000 (15:12 -0400)]
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.

8 years agoac3enc: prefer passing AC3EncodeContext rather than AVCodecContext
Justin Ruggles [Wed, 13 Jul 2011 17:53:58 +0000 (13:53 -0400)]
ac3enc: prefer passing AC3EncodeContext rather than AVCodecContext

8 years agoac3enc: fix memleak
Justin Ruggles [Wed, 13 Jul 2011 19:49:08 +0000 (15:49 -0400)]
ac3enc: fix memleak

8 years agompeg1video: add CODEC_CAP_SLICE_THREADS.
Ronald S. Bultje [Wed, 29 Jun 2011 21:13:17 +0000 (14:13 -0700)]
mpeg1video: add CODEC_CAP_SLICE_THREADS.

8 years agolavf: fix segfault in av_open_input_stream()
Anton Khirnov [Tue, 12 Jul 2011 20:42:18 +0000 (22:42 +0200)]
lavf: fix segfault in av_open_input_stream()

ic is NULL in case of error.

8 years agompegtsenc: set Random Access indicator on keyframe start packets
Jindrich Makovicka [Wed, 29 Jun 2011 13:01:39 +0000 (15:01 +0200)]
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>
8 years agolavf: Cleanup try_decode_frame() logic.
Alex Converse [Tue, 12 Jul 2011 22:13:29 +0000 (15:13 -0700)]
lavf: Cleanup try_decode_frame() logic.

This fixes AAC playback in ffplay.

8 years agoReplace some gotos that lead to single return statements by direct return.
Diego Biurrun [Mon, 11 Jul 2011 14:32:54 +0000 (16:32 +0200)]
Replace some gotos that lead to single return statements by direct return.

8 years agobuild: move tests/seek_test.c to libavformat and reuse generic build rules
Diego Biurrun [Wed, 13 Jul 2011 00:09:19 +0000 (02:09 +0200)]
build: move tests/seek_test.c to libavformat and reuse generic build rules

8 years agomxfenc: include needed header for ff_iso8601_to_unix_time() prototype
Kostya Shishkov [Wed, 13 Jul 2011 11:21:00 +0000 (12:21 +0100)]
mxfenc: include needed header for ff_iso8601_to_unix_time() prototype

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoAdd a check for strptime().
Anton Khirnov [Wed, 13 Jul 2011 07:30:06 +0000 (09:30 +0200)]
Add a check for strptime().

It's an XSI extension, not available on some supported systems.

8 years agolavf: factor out conversion of ISO8601 string to unix time
Anton Khirnov [Wed, 13 Jul 2011 09:45:17 +0000 (11:45 +0200)]
lavf: factor out conversion of ISO8601 string to unix time

8 years agowav: parse 'bext' metadata
Tomas Härdin [Wed, 18 May 2011 11:48:39 +0000 (13:48 +0200)]
wav: parse 'bext' metadata

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agowav: keep parsing until EOF if the input is seekable and we know the size of the...
Tomas Härdin [Wed, 18 May 2011 11:48:02 +0000 (13:48 +0200)]
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>
8 years agowav: Refactor the tag checking into a switch statement
Tomas Härdin [Thu, 17 Feb 2011 14:58:10 +0000 (15:58 +0100)]
wav: Refactor the tag checking into a switch statement

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agowav: make sure neither data_size nor sample_count is negative.
Tomas Härdin [Tue, 17 May 2011 17:52:36 +0000 (19:52 +0200)]
wav: make sure neither data_size nor sample_count is negative.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agowav: refactor the 'fmt ' tag search and parsing.
Tomas Härdin [Tue, 17 May 2011 17:46:08 +0000 (19:46 +0200)]
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>
8 years agowav: add an option for writing BEXT chunk
Benjamin Larsson [Fri, 18 Mar 2011 00:00:15 +0000 (00:00 +0000)]
wav: add an option for writing BEXT chunk

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoffmpeg: get rid of a pointless limit on number of streams.
Anton Khirnov [Sat, 9 Jul 2011 14:49:44 +0000 (16:49 +0200)]
ffmpeg: get rid of a pointless limit on number of streams.

8 years agoffmpeg: remove an unused define.
Anton Khirnov [Sat, 9 Jul 2011 14:48:47 +0000 (16:48 +0200)]
ffmpeg: remove an unused define.

8 years agoMusepack SV7: try to read files without number of frames provided
Kostya Shishkov [Mon, 11 Jul 2011 13:13:39 +0000 (15:13 +0200)]
Musepack SV7: try to read files without number of frames provided

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agodoc: Improve references to external URLs.
Diego Biurrun [Fri, 8 Jul 2011 13:33:17 +0000 (15:33 +0200)]
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.

8 years agoh264: move decode_mb_skip() from h264.h to h.264_mvpred.h
Diego Biurrun [Tue, 12 Jul 2011 18:36:50 +0000 (20:36 +0200)]
h264: move decode_mb_skip() from h264.h to h.264_mvpred.h

This resolves a circular dependency between the headers.

8 years agoffplay: skip return value of avcodec_decode_video2 / avcodec_decode_subtitle2
Diego Biurrun [Mon, 11 Jul 2011 15:04:15 +0000 (17:04 +0200)]
ffplay: skip return value of avcodec_decode_video2 / avcodec_decode_subtitle2

This fixes some warnings about unused-but-set variables.

8 years agodnxhdenc: Replace a forward declaration by the proper #include.
Diego Biurrun [Fri, 8 Jul 2011 13:29:57 +0000 (15:29 +0200)]
dnxhdenc: Replace a forward declaration by the proper #include.

8 years agoh264: move h264_mvpred.h include.
Ronald S. Bultje [Tue, 12 Jul 2011 15:15:55 +0000 (08:15 -0700)]
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

8 years agopix_fmt: Fix number of bits per component in yuv444p9be
Oskar Arvidsson [Tue, 12 Jul 2011 08:52:19 +0000 (10:52 +0200)]
pix_fmt: Fix number of bits per component in yuv444p9be

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
8 years agolavf: deprecate AVFormatContext.timestamp
Anton Khirnov [Thu, 7 Jul 2011 09:25:03 +0000 (11:25 +0200)]
lavf: deprecate AVFormatContext.timestamp

It's replaced by 'creation_time' metadata tag.

8 years agoffmpeg: merge input_files_ts_scale into InputStream.
Anton Khirnov [Thu, 7 Jul 2011 06:54:07 +0000 (08:54 +0200)]
ffmpeg: merge input_files_ts_scale into InputStream.

8 years agoffmpeg: don't abuse a global for passing sample format from input to output
Anton Khirnov [Wed, 15 Jun 2011 06:00:03 +0000 (08:00 +0200)]
ffmpeg: don't abuse a global for passing sample format from input to output

It's broken with multiple files or audio streams.

8 years agoffmpeg: don't abuse a global for passing channel layout from input to output
Anton Khirnov [Wed, 15 Jun 2011 06:00:03 +0000 (08:00 +0200)]
ffmpeg: don't abuse a global for passing channel layout from input to output

It's broken with multiple files or audio streams.

8 years agoffmpeg: factor common code from new_a/v/s/d_stream to new_output_stream()
Anton Khirnov [Sat, 25 Jun 2011 05:43:49 +0000 (07:43 +0200)]
ffmpeg: factor common code from new_a/v/s/d_stream to new_output_stream()

8 years agomatroskaenc: make SSA default subtitle codec.
Anton Khirnov [Fri, 24 Jun 2011 19:34:42 +0000 (21:34 +0200)]
matroskaenc: make SSA default subtitle codec.

It's a better format and we have an encoder for it, so it doesn't fail
like CODEC_ID_TEXT.

8 years agooggdec: prevent heap corruption.
Chris Evans [Wed, 29 Jun 2011 22:44:40 +0000 (15:44 -0700)]
oggdec: prevent heap corruption.

Specifically crafted samples can reinit ogg->streams[] while
reading samples, and thus we should not cache old pointers since
these may no longer be valid.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
8 years agochangelog: misc typo and wording fixes
Diego Biurrun [Sat, 9 Jul 2011 15:43:53 +0000 (17:43 +0200)]
changelog: misc typo and wording fixes

8 years agoH.264: add filter_mb_fast support for >8-bit decoding
Jason Garrett-Glaser [Mon, 11 Jul 2011 21:46:37 +0000 (14:46 -0700)]
H.264: add filter_mb_fast support for >8-bit decoding

Much faster high bit depth deblocking.

8 years agodoc: Remove outdated comments about gcc 2.95 and gcc 3.3 support.
Diego Biurrun [Sat, 9 Jul 2011 18:15:29 +0000 (20:15 +0200)]
doc: Remove outdated comments about gcc 2.95 and gcc 3.3 support.

8 years agolls: use av_lfg instead of rand() in test program
Mans Rullgard [Fri, 8 Jul 2011 14:01:05 +0000 (15:01 +0100)]
lls: use av_lfg instead of rand() in test program

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agobuild: remove unnecessary dependency on libs from 'all' target
Mans Rullgard [Mon, 11 Jul 2011 19:53:15 +0000 (20:53 +0100)]
build: remove unnecessary dependency on libs from 'all' target

The libs are added to the all target elsewhere, no need to do it
again here.

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoH.264: avoid redundant alpha/beta calculations in loopfilter
Jason Garrett-Glaser [Sun, 10 Jul 2011 09:25:53 +0000 (02:25 -0700)]
H.264: avoid redundant alpha/beta calculations in loopfilter

8 years agoH.264: optimize intra/inter loopfilter decision
Jason Garrett-Glaser [Sun, 10 Jul 2011 08:28:50 +0000 (01:28 -0700)]
H.264: optimize intra/inter loopfilter decision