Luca Barbato
22f7942fe7
ffv1: set the range coder state in decode_slice_header
2001-01-01 01:06:41 +01:00
Janne Grunau
dcdfb8ede3
pcmdec: change default of channels parameter to 1
...
This was previously implicitly done in ff_raw_read_header().
Fixes fate tests with pcm input.
2012-10-25 15:14:40 +02:00
Janne Grunau
1b891d17c5
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().
2012-10-25 15:00:15 +02:00
Janne Grunau
285b706b55
avfilter: fix graphparser memleaks on error paths
...
Fixes CID700635, CID700636 and CID732274.
2012-10-25 15:00:15 +02:00
Luca Barbato
587874ef1c
rawdec: remove ff_raw_read_header
...
It is not used anymore and is a kludge.
2012-10-25 14:05:13 +02:00
Luca Barbato
2ef4d586d6
pcmdec: remove dependency from rawdec
...
The code shared is not actually shared with anything else.
2012-10-25 14:05:13 +02:00
Luca Barbato
5f0e161dd6
g722: refactor out of rawdec.c
2012-10-25 14:05:05 +02:00
Luca Barbato
42c26a4864
rawvideo: use a specific read_header
...
ff_raw_read_header is used only for this demuxer for video.
2012-10-25 14:04:18 +02:00
Diego Biurrun
2a91ada828
avutil: Make LZO decoder code configure-time selectable
2012-10-25 11:49:49 +02:00
Diego Biurrun
5bac2d0c30
avutil: Move memcpy_backptr() to mem.c
...
The function is used elsewhere and does not belong with the LZO code.
2012-10-25 11:36:57 +02:00
Mans Rullgard
a6e9d64977
configure: detect parisc64 automatically
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-24 16:26:51 +01:00
Mans Rullgard
56203596ae
configure: detect ppc64 automatically
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-24 16:26:51 +01:00
Mans Rullgard
2acda282eb
configure: detect mips64 automatically
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-24 16:26:51 +01:00
Mans Rullgard
d4c99513f4
configure: generalise 64-bit test
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-24 16:26:51 +01:00
Martin Storsjö
c44cef978b
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>
2012-10-24 14:46:08 +03:00
Anton Khirnov
292a08cbab
asfdec: cosmetics, reformat ff_asf_parse_packet()
2012-10-24 08:46:45 +02:00
Anton Khirnov
5a9567631a
g.723.1: add missing CODEC_CAP_DR1
2012-10-24 08:46:45 +02:00
Anton Khirnov
8e84f2055c
avconv: remove now unneeded calls to avcodec_get_frame_defaults().
2012-10-24 08:46:45 +02:00
Anton Khirnov
1bc64c2814
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.
2012-10-24 08:46:45 +02:00
Justin Ruggles
c68317ebbe
lavc: fix documentation for AVCodecContext.delay
2012-10-23 14:35:27 -04:00
Justin Ruggles
44d854a518
atrac3: return an error if extradata_size is not a specific known size
...
Also fixes 3 compiler warnings about using uninitialized variables.
2012-10-23 14:35:27 -04:00
Justin Ruggles
a5ef830b12
lavc: use the correct API version guard macro for avcodec_encode_audio()
2012-10-23 14:35:27 -04:00
Diego Biurrun
5e28e97433
Move Doxyfile into the doc/ subdirectory
2012-10-23 20:25:41 +02:00
Diego Biurrun
d7a39b3340
doxygen: Build Doxygen documentation in the doc/ subdirectory
2012-10-23 20:25:30 +02:00
Mans Rullgard
a153e45b95
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>
2012-10-23 18:57:24 +01:00
Diego Biurrun
e831b3b852
av_memcpy_backptr: Drop no longer necessary malloc padding
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-23 18:57:24 +01:00
Mans Rullgard
d82f188504
Remove need for padding in av_memcpy_backptr()
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-23 18:57:24 +01:00
Diego Biurrun
ceb754d041
lzo: Use AV_COPY*U macros where appropriate
2012-10-23 18:45:50 +02:00
Reinhard Tartler
a9f0dce283
prepare 9_beta2 release
2012-10-23 18:30:36 +02:00
Diego Biurrun
330b864cda
dsputil: Replace AV_WNxx(AV_RNxx()) combinations by AV_COPYxxU
2012-10-23 16:54:17 +02:00
Diego Biurrun
af6dd6de08
intreadwrite: Add AV_COPYxxU macros for copying to/from unaligned addresses
2012-10-23 16:54:08 +02:00
Diego Biurrun
aa91fe8091
dxtory: Replace AV_WN16A(AV_RN16A()) combination by AV_COPY16
2012-10-23 16:53:42 +02:00
Luca Barbato
9ab0874ea8
mp3: properly forward mp_decode_frame errors
...
The function can return either a parsing error or a memory management
error.
2012-10-23 14:22:16 +02:00
Luca Barbato
0c03cc6838
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.
2012-10-23 14:22:16 +02:00
Diego Biurrun
c2dac8ac7a
rtmppkt: Avoid unescaped backslash in Doxygen comment
2012-10-23 13:36:58 +02:00
Mans Rullgard
2a222a7255
fate-lavfi: replace sed/grep/cut combos with awk
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-23 12:01:18 +01:00
Mans Rullgard
4ebc6a7410
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>
2012-10-23 12:01:18 +01:00
Mans Rullgard
80521c1997
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>
2012-10-23 12:00:22 +01:00
Mans Rullgard
a805cefd8b
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>
2012-10-23 12:00:21 +01:00
Mans Rullgard
fab0a8b2c6
libm: add fallbacks for various single-precision functions
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-23 12:00:21 +01:00
Mans Rullgard
c3e73100af
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>
2012-10-23 12:00:21 +01:00
Mans Rullgard
da0d0ae9a4
network: add fallbacks for INADDR_LOOPBACK and INET_ADDRSTRLEN
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-23 12:00:21 +01:00
Mans Rullgard
3f65eff408
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>
2012-10-23 12:00:21 +01:00
Mans Rullgard
a1f6ad69c7
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>
2012-10-23 11:12:24 +01:00
Mans Rullgard
6f9018fc5e
fate: fix ENCMUX macro
...
This matches how it is actually being called.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-23 11:12:24 +01:00
Michael Niedermayer
ec444c84cf
mpegaudiodec: Fix buffer handling on random access
2012-10-23 10:52:25 +02:00
Diego Biurrun
2f17f265ed
mpegaudio: Refactor mp3on4 flush function
2012-10-23 10:52:25 +02:00
Diego Biurrun
88bdec03b9
fate: Add dependencies for audio tests
2012-10-23 10:52:25 +02:00
Diego Biurrun
71f3eb4536
fate: cosmetics: Group idct8x8 test together with all other libavcodec tests
2012-10-23 10:52:15 +02:00
Diego Biurrun
7d420a4294
fate: More fine-grained dependencies for libavcodec test programs
2012-10-23 10:28:40 +02:00