Mans Rullgard
4521645b1a
avio: fix pointer type mismatches in avio_enum_protocols()
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-27 13:43:44 +01:00
Mans Rullgard
cc64ec570c
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>
2012-10-27 13:11:49 +01:00
Mans Rullgard
be2efe0c7b
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>
2012-10-27 13:11:46 +01:00
Mans Rullgard
9efbfe57e0
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>
2012-10-27 13:11:17 +01:00
Mans Rullgard
67a68dcec2
af_channelmap: remove stray enum declaration
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-27 13:06:43 +01:00
Mans Rullgard
6b776c61da
buffersink: remove stray semicolon after function definition
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-27 13:06:27 +01:00
Mans Rullgard
1aa07aa21c
configure: fix tests for 2-arg math functions
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-26 22:50:42 +01:00
Diego Biurrun
ca7f59119b
doc: git-howto: Clarify comment about pushing series of commits
2012-10-26 18:28:38 +02:00
Diego Biurrun
87cdd7c694
ivi_common: Drop unused function parameter from decode_band()
2012-10-26 18:28:38 +02:00
Diego Biurrun
707f58f515
cook: Remove some silly Doxygen comments
2012-10-26 18:28:38 +02:00
Diego Biurrun
8a61ba0e81
cook: Remove senseless maybe_reformat_buffer32() function
2012-10-26 18:28:38 +02:00
Diego Biurrun
f23b4a0682
cook: cosmetics: Better names for joint_decode() function parameters
2012-10-26 18:28:38 +02:00
Diego Biurrun
20015379a4
cook: cosmetics: Better name for ccpl COOKSubpacket member
2012-10-26 18:28:38 +02:00
Diego Biurrun
13bbefd57e
doxygen: Add av_alloc_size to list of predefined macros
...
This avoids Doxygen believing the attribute is the function name.
2012-10-26 18:28:38 +02:00
Diego Biurrun
74e742d6ad
doxygen: Drop some pointless entries from PREDEFINED macros list
2012-10-26 18:28:38 +02:00
Janne Grunau
154ff81870
h263: avoid memcpys over array bound in motion vector caching for obmc
...
Fixes CID602232.
2012-10-26 17:38:07 +02:00
Mans Rullgard
6aa93689ab
configure: sanitise sparc vis check
...
It is wrong to force -mcpu=ultrasparc when checking for vis.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-26 12:29:03 +01:00
Michael Kostylev
eadfb0560a
configure: recognise more sparc variants as --cpu argument
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-26 12:29:03 +01:00
Martin Storsjö
121604b024
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>
2012-10-25 18:36:11 +03:00
Luca Barbato
254056c4ab
pcm: change references to raw to pcm
2012-10-25 17:08:58 +02:00
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