ffmpeg.git
6 years agoavio: fix pointer type mismatches in avio_enum_protocols()
Mans Rullgard [Fri, 26 Oct 2012 17:42:29 +0000 (18:42 +0100)]
avio: fix pointer type mismatches in avio_enum_protocols()

Signed-off-by: Mans Rullgard <mans@mansr.com>
6 years agoavserver: use socklen_t where appropriate
Mans Rullgard [Fri, 26 Oct 2012 20:53:31 +0000 (21:53 +0100)]
avserver: use socklen_t where appropriate

Various socket functions expect a pointer to socklen_t which is not
necessarily int.

Signed-off-by: Mans Rullgard <mans@mansr.com>
6 years agoudp: use socklen_t where appropriate
Mans Rullgard [Fri, 26 Oct 2012 18:46:37 +0000 (19:46 +0100)]
udp: use socklen_t where appropriate

getsockname() takes a pointer to socklen_t which is not necessarily
int.

Signed-off-by: Mans Rullgard <mans@mansr.com>
6 years agonetwork: use HAVE_THREADS instead of local hack
Mans Rullgard [Fri, 26 Oct 2012 18:33:59 +0000 (19:33 +0100)]
network: use HAVE_THREADS instead of local hack

HAVE_THREADS is set in config.h if pthreads or w32threads is
available, which presumably the proper condition here.

Also fixes undefined behaviour in preprocessor directives.

Signed-off-by: Mans Rullgard <mans@mansr.com>
6 years agoaf_channelmap: remove stray enum declaration
Mans Rullgard [Fri, 26 Oct 2012 21:25:37 +0000 (22:25 +0100)]
af_channelmap: remove stray enum declaration

Signed-off-by: Mans Rullgard <mans@mansr.com>
6 years agobuffersink: remove stray semicolon after function definition
Mans Rullgard [Fri, 26 Oct 2012 16:58:19 +0000 (17:58 +0100)]
buffersink: remove stray semicolon after function definition

Signed-off-by: Mans Rullgard <mans@mansr.com>
6 years agoconfigure: fix tests for 2-arg math functions
Mans Rullgard [Fri, 26 Oct 2012 13:42:47 +0000 (14:42 +0100)]
configure: fix tests for 2-arg math functions

Signed-off-by: Mans Rullgard <mans@mansr.com>
6 years agodoc: git-howto: Clarify comment about pushing series of commits
Diego Biurrun [Thu, 25 Oct 2012 16:25:25 +0000 (18:25 +0200)]
doc: git-howto: Clarify comment about pushing series of commits

6 years agoivi_common: Drop unused function parameter from decode_band()
Diego Biurrun [Wed, 24 Oct 2012 09:54:03 +0000 (11:54 +0200)]
ivi_common: Drop unused function parameter from decode_band()

6 years agocook: Remove some silly Doxygen comments
Diego Biurrun [Wed, 24 Oct 2012 17:00:33 +0000 (19:00 +0200)]
cook: Remove some silly Doxygen comments

6 years agocook: Remove senseless maybe_reformat_buffer32() function
Diego Biurrun [Wed, 24 Oct 2012 14:03:31 +0000 (16:03 +0200)]
cook: Remove senseless maybe_reformat_buffer32() function

6 years agocook: cosmetics: Better names for joint_decode() function parameters
Diego Biurrun [Tue, 23 Oct 2012 23:08:19 +0000 (01:08 +0200)]
cook: cosmetics: Better names for joint_decode() function parameters

6 years agocook: cosmetics: Better name for ccpl COOKSubpacket member
Diego Biurrun [Tue, 23 Oct 2012 23:05:04 +0000 (01:05 +0200)]
cook: cosmetics: Better name for ccpl COOKSubpacket member

6 years agodoxygen: Add av_alloc_size to list of predefined macros
Diego Biurrun [Mon, 22 Oct 2012 14:16:07 +0000 (16:16 +0200)]
doxygen: Add av_alloc_size to list of predefined macros

This avoids Doxygen believing the attribute is the function name.

6 years agodoxygen: Drop some pointless entries from PREDEFINED macros list
Diego Biurrun [Tue, 23 Oct 2012 19:12:48 +0000 (21:12 +0200)]
doxygen: Drop some pointless entries from PREDEFINED macros list

6 years agoh263: avoid memcpys over array bound in motion vector caching for obmc
Janne Grunau [Wed, 10 Oct 2012 12:25:44 +0000 (14:25 +0200)]
h263: avoid memcpys over array bound in motion vector caching for obmc

Fixes CID602232.

6 years agoconfigure: sanitise sparc vis check
Mans Rullgard [Thu, 25 Oct 2012 14:56:16 +0000 (15:56 +0100)]
configure: sanitise sparc vis check

It is wrong to force -mcpu=ultrasparc when checking for vis.

Signed-off-by: Mans Rullgard <mans@mansr.com>
6 years agoconfigure: recognise more sparc variants as --cpu argument
Michael Kostylev [Thu, 25 Oct 2012 10:38:51 +0000 (11:38 +0100)]
configure: recognise more sparc variants as --cpu argument

Signed-off-by: Mans Rullgard <mans@mansr.com>
6 years agobuild: Include HEADERS-yes in the HEADERS variable
Martin Storsjö [Thu, 25 Oct 2012 14:13:06 +0000 (17:13 +0300)]
build: Include HEADERS-yes in the HEADERS variable

This makes sure the previously always installed public header
lzo.h is installed if the LZO functionality is enabled.

Signed-off-by: Martin Storsjö <martin@martin.st>
6 years agopcm: change references to raw to pcm
Luca Barbato [Mon, 1 Jan 2001 00:08:20 +0000 (01:08 +0100)]
pcm: change references to raw to pcm

18 years agoffv1: set the range coder state in decode_slice_header
Luca Barbato [Thu, 25 Oct 2012 13:42:08 +0000 (15:42 +0200)]
ffv1: set the range coder state in decode_slice_header

6 years agopcmdec: change default of channels parameter to 1
Janne Grunau [Thu, 25 Oct 2012 13:10:22 +0000 (15:10 +0200)]
pcmdec: change default of channels parameter to 1

This was previously implicitly done in ff_raw_read_header().
Fixes fate tests with pcm input.

6 years agoavconv: fix bitrate report when writing to /dev/null
Janne Grunau [Tue, 9 Oct 2012 21:22:49 +0000 (23:22 +0200)]
avconv: fix bitrate report when writing to /dev/null

avio_size() reports the filesize which returns 0 for /dev/null.
avio_tell() reports the current position.

Also handle errors from avio_tell().

6 years agoavfilter: fix graphparser memleaks on error paths
Janne Grunau [Tue, 9 Oct 2012 19:28:32 +0000 (21:28 +0200)]
avfilter: fix graphparser memleaks on error paths

Fixes CID700635, CID700636 and CID732274.

6 years agorawdec: remove ff_raw_read_header
Luca Barbato [Wed, 24 Oct 2012 17:53:32 +0000 (19:53 +0200)]
rawdec: remove ff_raw_read_header

It is not used anymore and is a kludge.

6 years agopcmdec: remove dependency from rawdec
Luca Barbato [Wed, 24 Oct 2012 17:15:50 +0000 (19:15 +0200)]
pcmdec: remove dependency from rawdec

The code shared is not actually shared with anything else.

6 years agog722: refactor out of rawdec.c
Luca Barbato [Wed, 24 Oct 2012 16:18:18 +0000 (18:18 +0200)]
g722: refactor out of rawdec.c

6 years agorawvideo: use a specific read_header
Luca Barbato [Wed, 24 Oct 2012 12:18:49 +0000 (14:18 +0200)]
rawvideo: use a specific read_header

ff_raw_read_header is used only for this demuxer for video.

6 years agoavutil: Make LZO decoder code configure-time selectable
Diego Biurrun [Thu, 18 Oct 2012 17:48:27 +0000 (19:48 +0200)]
avutil: Make LZO decoder code configure-time selectable

6 years agoavutil: Move memcpy_backptr() to mem.c
Diego Biurrun [Thu, 18 Oct 2012 17:27:51 +0000 (19:27 +0200)]
avutil: Move memcpy_backptr() to mem.c

The function is used elsewhere and does not belong with the LZO code.

6 years agoconfigure: detect parisc64 automatically
Mans Rullgard [Tue, 23 Oct 2012 23:21:15 +0000 (00:21 +0100)]
configure: detect parisc64 automatically

Signed-off-by: Mans Rullgard <mans@mansr.com>
6 years agoconfigure: detect ppc64 automatically
Mans Rullgard [Tue, 23 Oct 2012 22:39:40 +0000 (23:39 +0100)]
configure: detect ppc64 automatically

Signed-off-by: Mans Rullgard <mans@mansr.com>
6 years agoconfigure: detect mips64 automatically
Mans Rullgard [Tue, 23 Oct 2012 22:34:35 +0000 (23:34 +0100)]
configure: detect mips64 automatically

Signed-off-by: Mans Rullgard <mans@mansr.com>
6 years agoconfigure: generalise 64-bit test
Mans Rullgard [Tue, 23 Oct 2012 22:33:44 +0000 (23:33 +0100)]
configure: generalise 64-bit test

Signed-off-by: Mans Rullgard <mans@mansr.com>
6 years agosmoothstreamingenc: Don't assume streams start from timestamp 0
Martin Storsjö [Tue, 23 Oct 2012 22:05:12 +0000 (01:05 +0300)]
smoothstreamingenc: Don't assume streams start from timestamp 0

Also use dts instead of pts for deciding where to split fragments.

Signed-off-by: Martin Storsjö <martin@martin.st>
6 years agoasfdec: cosmetics, reformat ff_asf_parse_packet()
Anton Khirnov [Sat, 20 Oct 2012 15:15:57 +0000 (17:15 +0200)]
asfdec: cosmetics, reformat ff_asf_parse_packet()

6 years agog.723.1: add missing CODEC_CAP_DR1
Anton Khirnov [Wed, 17 Oct 2012 10:16:00 +0000 (12:16 +0200)]
g.723.1: add missing CODEC_CAP_DR1

6 years agoavconv: remove now unneeded calls to avcodec_get_frame_defaults().
Anton Khirnov [Tue, 23 Oct 2012 06:32:56 +0000 (08:32 +0200)]
avconv: remove now unneeded calls to avcodec_get_frame_defaults().

6 years agolavc: initialize output AVFrame before decoding.
Anton Khirnov [Tue, 23 Oct 2012 06:22:23 +0000 (08:22 +0200)]
lavc: initialize output AVFrame before decoding.

Avoids memleaks with audio when extended_data is nontrivial and the user
doesn't reset the frame.
Shouldn't have any effect for video for now, but might be useful in the
future.

6 years agolavc: fix documentation for AVCodecContext.delay
Justin Ruggles [Tue, 2 Oct 2012 15:38:34 +0000 (11:38 -0400)]
lavc: fix documentation for AVCodecContext.delay

6 years agoatrac3: return an error if extradata_size is not a specific known size
Justin Ruggles [Mon, 22 Oct 2012 14:44:55 +0000 (10:44 -0400)]
atrac3: return an error if extradata_size is not a specific known size

Also fixes 3 compiler warnings about using uninitialized variables.

6 years agolavc: use the correct API version guard macro for avcodec_encode_audio()
Justin Ruggles [Tue, 23 Oct 2012 17:25:53 +0000 (13:25 -0400)]
lavc: use the correct API version guard macro for avcodec_encode_audio()

6 years agoMove Doxyfile into the doc/ subdirectory
Diego Biurrun [Mon, 22 Oct 2012 14:03:39 +0000 (16:03 +0200)]
Move Doxyfile into the doc/ subdirectory

6 years agodoxygen: Build Doxygen documentation in the doc/ subdirectory
Diego Biurrun [Mon, 22 Oct 2012 14:01:18 +0000 (16:01 +0200)]
doxygen: Build Doxygen documentation in the doc/ subdirectory

6 years agodfa: use av_memcpy_backptr() where previously impossible
Mans Rullgard [Tue, 23 Oct 2012 17:17:46 +0000 (18:17 +0100)]
dfa: use av_memcpy_backptr() where previously impossible

Since the requirement for output padding has been lifted, we can
use av_memcpy_backptr() here as well.

Signed-off-by: Mans Rullgard <mans@mansr.com>
6 years agoav_memcpy_backptr: Drop no longer necessary malloc padding
Diego Biurrun [Tue, 23 Oct 2012 17:22:52 +0000 (19:22 +0200)]
av_memcpy_backptr: Drop no longer necessary malloc padding

Signed-off-by: Mans Rullgard <mans@mansr.com>
6 years agoRemove need for padding in av_memcpy_backptr()
Mans Rullgard [Tue, 23 Oct 2012 17:05:45 +0000 (18:05 +0100)]
Remove need for padding in av_memcpy_backptr()

Signed-off-by: Mans Rullgard <mans@mansr.com>
6 years agolzo: Use AV_COPY*U macros where appropriate
Diego Biurrun [Mon, 22 Oct 2012 17:02:20 +0000 (19:02 +0200)]
lzo: Use AV_COPY*U macros where appropriate

6 years agoprepare 9_beta2 release
Reinhard Tartler [Tue, 23 Oct 2012 16:30:36 +0000 (18:30 +0200)]
prepare 9_beta2 release

6 years agodsputil: Replace AV_WNxx(AV_RNxx()) combinations by AV_COPYxxU
Diego Biurrun [Tue, 23 Oct 2012 12:37:16 +0000 (14:37 +0200)]
dsputil: Replace AV_WNxx(AV_RNxx()) combinations by AV_COPYxxU

6 years agointreadwrite: Add AV_COPYxxU macros for copying to/from unaligned addresses
Diego Biurrun [Tue, 23 Oct 2012 11:27:05 +0000 (13:27 +0200)]
intreadwrite: Add AV_COPYxxU macros for copying to/from unaligned addresses

6 years agodxtory: Replace AV_WN16A(AV_RN16A()) combination by AV_COPY16
Diego Biurrun [Tue, 23 Oct 2012 11:03:10 +0000 (13:03 +0200)]
dxtory: Replace AV_WN16A(AV_RN16A()) combination by AV_COPY16

6 years agomp3: properly forward mp_decode_frame errors
Luca Barbato [Mon, 22 Oct 2012 17:11:05 +0000 (19:11 +0200)]
mp3: properly forward mp_decode_frame errors

The function can return either a parsing error or a memory management
error.

6 years agomp3: exit on parsing error in mp_decode_frame
Luca Barbato [Mon, 22 Oct 2012 16:50:32 +0000 (18:50 +0200)]
mp3: exit on parsing error in mp_decode_frame

Properly forward mp_decode_layer3 errors, mp_decode_layer1 and
mp_decode_layer2 do not return errors.

Based on a patch by Michael Niedermayer.

6 years agortmppkt: Avoid unescaped backslash in Doxygen comment
Diego Biurrun [Mon, 22 Oct 2012 13:57:55 +0000 (15:57 +0200)]
rtmppkt: Avoid unescaped backslash in Doxygen comment

6 years agofate-lavfi: replace sed/grep/cut combos with awk
Mans Rullgard [Wed, 17 Oct 2012 02:22:51 +0000 (03:22 +0100)]
fate-lavfi: replace sed/grep/cut combos with awk

Signed-off-by: Mans Rullgard <mans@mansr.com>
6 years agobuild: Plan 9 support
Mans Rullgard [Mon, 15 Oct 2012 01:38:17 +0000 (02:38 +0100)]
build: Plan 9 support

This adds support for building on Plan 9 x86-32.  The compat/plan9
directory contains these items:

- replacements for the 'head' and 'printf' shell commands
- wrapper for main() to disable FPU exceptions

Larger required changes to the system are described in the
documentation.

Signed-off-by: Mans Rullgard <mans@mansr.com>
6 years agobuild: allow targets to specify extra objects to link with executables
Mans Rullgard [Mon, 15 Oct 2012 03:05:03 +0000 (04:05 +0100)]
build: allow targets to specify extra objects to link with executables

This allows targets to include special objects when linking
executables without including them in (shared) libraries.

Signed-off-by: Mans Rullgard <mans@mansr.com>
6 years agoswscale: avoid pointless use of compound literals
Mans Rullgard [Sat, 13 Oct 2012 23:26:15 +0000 (00:26 +0100)]
swscale: avoid pointless use of compound literals

Some compilers (e.g. old gcc) have trouble with these.

Signed-off-by: Mans Rullgard <mans@mansr.com>
6 years agolibm: add fallbacks for various single-precision functions
Mans Rullgard [Sat, 13 Oct 2012 21:54:53 +0000 (22:54 +0100)]
libm: add fallbacks for various single-precision functions

Signed-off-by: Mans Rullgard <mans@mansr.com>
6 years agonetwork: use getservbyport() only if available
Mans Rullgard [Sun, 14 Oct 2012 19:24:51 +0000 (20:24 +0100)]
network: use getservbyport() only if available

The absence of this function will only give a less informative
string back from our fallback implementation of getnameinfo().

Signed-off-by: Mans Rullgard <mans@mansr.com>
6 years agonetwork: add fallbacks for INADDR_LOOPBACK and INET_ADDRSTRLEN
Mans Rullgard [Sun, 14 Oct 2012 17:00:05 +0000 (18:00 +0100)]
network: add fallbacks for INADDR_LOOPBACK and INET_ADDRSTRLEN

Signed-off-by: Mans Rullgard <mans@mansr.com>
6 years agoInclude sys/time.h before sys/resource.h
Mans Rullgard [Sat, 13 Oct 2012 23:27:26 +0000 (00:27 +0100)]
Include sys/time.h before sys/resource.h

Some systems require sys/time.h being explicitly included before
sys/resource.h.  The configure check already does this.

Signed-off-by: Mans Rullgard <mans@mansr.com>
6 years agofate: check that dependencies actually exist
Mans Rullgard [Tue, 23 Oct 2012 02:28:08 +0000 (03:28 +0100)]
fate: check that dependencies actually exist

This causes make to exit with an error message if a nonexistent
dependency is specified rather than silently dropping the test.

Signed-off-by: Mans Rullgard <mans@mansr.com>
6 years agofate: fix ENCMUX macro
Mans Rullgard [Tue, 23 Oct 2012 02:23:43 +0000 (03:23 +0100)]
fate: fix ENCMUX macro

This matches how it is actually being called.

Signed-off-by: Mans Rullgard <mans@mansr.com>
6 years agompegaudiodec: Fix buffer handling on random access
Michael Niedermayer [Sun, 21 Oct 2012 18:48:21 +0000 (20:48 +0200)]
mpegaudiodec: Fix buffer handling on random access

6 years agompegaudio: Refactor mp3on4 flush function
Diego Biurrun [Mon, 22 Oct 2012 14:55:23 +0000 (16:55 +0200)]
mpegaudio: Refactor mp3on4 flush function

6 years agofate: Add dependencies for audio tests
Diego Biurrun [Fri, 19 Oct 2012 23:14:11 +0000 (01:14 +0200)]
fate: Add dependencies for audio tests

6 years agofate: cosmetics: Group idct8x8 test together with all other libavcodec tests
Diego Biurrun [Sat, 20 Oct 2012 14:12:30 +0000 (16:12 +0200)]
fate: cosmetics: Group idct8x8 test together with all other libavcodec tests

6 years agofate: More fine-grained dependencies for libavcodec test programs
Diego Biurrun [Fri, 19 Oct 2012 17:59:20 +0000 (19:59 +0200)]
fate: More fine-grained dependencies for libavcodec test programs

6 years agofate: Declare avcodec/avformat deps in the respective Makefile snippets
Diego Biurrun [Sat, 20 Oct 2012 19:58:43 +0000 (21:58 +0200)]
fate: Declare avcodec/avformat deps in the respective Makefile snippets

6 years agofate: Add dependencies for WMA and WavPack tests
Diego Biurrun [Fri, 19 Oct 2012 14:26:15 +0000 (16:26 +0200)]
fate: Add dependencies for WMA and WavPack tests

6 years agoImprove wording and spelling of av_log_missing_feature messages.
Diego Biurrun [Mon, 22 Oct 2012 12:35:13 +0000 (14:35 +0200)]
Improve wording and spelling of av_log_missing_feature messages.

6 years agolavu: remove disabled FF_API_AV_FIFO_PEEK cruft
Anton Khirnov [Mon, 22 Oct 2012 12:40:32 +0000 (14:40 +0200)]
lavu: remove disabled FF_API_AV_FIFO_PEEK cruft

6 years agolavu: remove disabled avoptions cruft
Anton Khirnov [Mon, 22 Oct 2012 12:39:43 +0000 (14:39 +0200)]
lavu: remove disabled avoptions cruft

6 years agolavu: remove disabled FF_API_GET_BITS_PER_SAMPLE_FMT cruft
Anton Khirnov [Mon, 22 Oct 2012 12:36:14 +0000 (14:36 +0200)]
lavu: remove disabled FF_API_GET_BITS_PER_SAMPLE_FMT cruft

6 years agoRevert "avutil: make some tables visible again"
Anton Khirnov [Mon, 22 Oct 2012 07:15:11 +0000 (09:15 +0200)]
Revert "avutil: make some tables visible again"

This reverts commit def8c94699877d015154a03d43e2b8f479cd89a0.

After the major bump this is no longer necessary.

6 years agoRevert "avutil: Add a copy of ff_sqrt_tab back into avutil to restore ABI compatibility"
Anton Khirnov [Mon, 22 Oct 2012 07:14:43 +0000 (09:14 +0200)]
Revert "avutil: Add a copy of ff_sqrt_tab back into avutil to restore ABI compatibility"

This reverts commit d15c21e5fa3961f10026da1a3080a3aa3cf4cec9.

After the major bump this is no longer necessary.

6 years agolavu: bump major to 52
Anton Khirnov [Mon, 22 Oct 2012 07:12:03 +0000 (09:12 +0200)]
lavu: bump major to 52

In addition to the recent tables mess, the AVOption defaults behavior
changed, so an old lavc used with a new lavu will get completely messed
up defaults.

6 years agolavu: postpone recent deprecations until the next major bump
Anton Khirnov [Mon, 22 Oct 2012 07:11:41 +0000 (09:11 +0200)]
lavu: postpone recent deprecations until the next major bump

6 years agoAPIchanges: update lavr bump date
Anton Khirnov [Mon, 22 Oct 2012 07:02:28 +0000 (09:02 +0200)]
APIchanges: update lavr bump date

6 years agoavconv: only apply presets when we have an encoder.
Anton Khirnov [Mon, 22 Oct 2012 20:40:22 +0000 (22:40 +0200)]
avconv: only apply presets when we have an encoder.

Fixes a crash when using a preset with stream copy.

CC: libav-stable@libav.org
6 years agoatrac3: replace a calculation with FFALIGN()
Justin Ruggles [Fri, 19 Oct 2012 03:51:37 +0000 (23:51 -0400)]
atrac3: replace a calculation with FFALIGN()

This allocates 4 bytes less than the previous code if avctx->block_align is
a multiple of 4, but the extra 4 bytes is not really needed.

6 years agoatrac3: remove unused ATRAC3Context field, sample_rate
Justin Ruggles [Fri, 19 Oct 2012 03:34:40 +0000 (23:34 -0400)]
atrac3: remove unused ATRAC3Context field, sample_rate

6 years agoatrac3: use sizeof(variable) instead of sizeof(type)
Justin Ruggles [Fri, 19 Oct 2012 03:25:44 +0000 (23:25 -0400)]
atrac3: use sizeof(variable) instead of sizeof(type)

6 years agoatrac3: simplify MDCT window calculation
Justin Ruggles [Fri, 19 Oct 2012 03:11:20 +0000 (23:11 -0400)]
atrac3: simplify MDCT window calculation

6 years agoatrac3: initialize static tables in AVCodec.init_static_data()
Justin Ruggles [Fri, 19 Oct 2012 03:04:03 +0000 (23:04 -0400)]
atrac3: initialize static tables in AVCodec.init_static_data()

6 years agoatrac3: separate window initialization from IMDCT initialization
Justin Ruggles [Fri, 19 Oct 2012 02:56:10 +0000 (22:56 -0400)]
atrac3: separate window initialization from IMDCT initialization

6 years agoatrac3: move the 'frame_factor' field from ATRAC3Context to where it is used
Justin Ruggles [Fri, 19 Oct 2012 02:53:13 +0000 (22:53 -0400)]
atrac3: move the 'frame_factor' field from ATRAC3Context to where it is used

6 years agoatrac3: remove unused ATRAC3Context field, bit_rate
Justin Ruggles [Fri, 19 Oct 2012 02:51:41 +0000 (22:51 -0400)]
atrac3: remove unused ATRAC3Context field, bit_rate

6 years agoatrac3: move the 'samples_per_frame' field from ATRAC3Context to where it is used
Justin Ruggles [Fri, 19 Oct 2012 02:50:40 +0000 (22:50 -0400)]
atrac3: move the 'samples_per_frame' field from ATRAC3Context to where it is used

6 years agoatrac3: remove unused ATRAC3Context field, samples_per_channel
Justin Ruggles [Fri, 19 Oct 2012 02:48:45 +0000 (22:48 -0400)]
atrac3: remove unused ATRAC3Context field, samples_per_channel

6 years agoatrac3: use AVCodecContext.block_align instead of keeping a private copy
Justin Ruggles [Fri, 19 Oct 2012 02:45:48 +0000 (22:45 -0400)]
atrac3: use AVCodecContext.block_align instead of keeping a private copy

6 years agoatrac3: move the 'delay' field from ATRAC3Context to where it is used
Justin Ruggles [Fri, 19 Oct 2012 02:42:21 +0000 (22:42 -0400)]
atrac3: move the 'delay' field from ATRAC3Context to where it is used

6 years agoatrac3: move the 'version' field from ATRAC3Context to where it is used
Justin Ruggles [Thu, 18 Oct 2012 21:14:59 +0000 (17:14 -0400)]
atrac3: move the 'version' field from ATRAC3Context to where it is used

6 years agoatrac3: use AVCodecContext.channels instead of keeping a private copy
Justin Ruggles [Thu, 18 Oct 2012 21:13:22 +0000 (17:13 -0400)]
atrac3: use AVCodecContext.channels instead of keeping a private copy

6 years agoatrac3: simplify some loop indexing
Justin Ruggles [Thu, 18 Oct 2012 21:07:04 +0000 (17:07 -0400)]
atrac3: simplify some loop indexing

6 years agoatrac3: cosmetics: pretty-printing and renaming
Justin Ruggles [Wed, 17 Oct 2012 15:59:40 +0000 (11:59 -0400)]
atrac3: cosmetics: pretty-printing and renaming

also does some minor refactoring.

6 years agopcm: define AVCodec instances only for enabled codecs
Mans Rullgard [Wed, 17 Oct 2012 21:26:55 +0000 (22:26 +0100)]
pcm: define AVCodec instances only for enabled codecs

This defines an AVCodec only if the corresponding CONFIG option is
enabled instead of using the broad CONFIG_ENCODERS/DECODERS.

Signed-off-by: Mans Rullgard <mans@mansr.com>
6 years agolibxvid: remove useless doxy comments.
Anton Khirnov [Mon, 22 Oct 2012 13:20:23 +0000 (15:20 +0200)]
libxvid: remove useless doxy comments.