Luca Barbato
424b1e7642
yuv4mpeg: reject unsupported codecs
...
The muxer already rejects unsupported pixel formats, reject also
unsupported codecs to prevent dangerous misuses.
12 years ago
Luca Barbato
fce4450dec
nutenc: K&R formatting cosmetics
12 years ago
Mans Rullgard
4cbae57cef
assdec: fix qsort() callback signature
...
This changes the event_cmp() function to the correct signature,
avoiding an ugly cast.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
4cd217c065
configure: detect sparc64 automatically
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
4471a24207
vp8: fix memset() crossing array boundary
...
Indexing across array boundaries is not allowed by C99.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
c4cccc8d3f
h264: fix invalid pointer arithmetic
...
Subtracting a (positive) value from the address of an array violates
C99 section 6.5.6:
If both the pointer operand and the result point to elements of the
same array object, or one past the last element of the array object,
the evaluation shall not produce an overflow; otherwise, the
behavior is undefined.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
50be207759
amrwbdec: fix invalid pointer arithmetic
...
Subtracting a (positive) value from the address of an array violates
C99 section 6.5.6:
If both the pointer operand and the result point to elements of the
same array object, or one past the last element of the array object,
the evaluation shall not produce an overflow; otherwise, the
behavior is undefined.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
4521645b1a
avio: fix pointer type mismatches in avio_enum_protocols()
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
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>
12 years ago
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>
12 years ago
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>
12 years ago
Mans Rullgard
67a68dcec2
af_channelmap: remove stray enum declaration
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
6b776c61da
buffersink: remove stray semicolon after function definition
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
1aa07aa21c
configure: fix tests for 2-arg math functions
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Diego Biurrun
ca7f59119b
doc: git-howto: Clarify comment about pushing series of commits
12 years ago
Diego Biurrun
87cdd7c694
ivi_common: Drop unused function parameter from decode_band()
12 years ago
Diego Biurrun
707f58f515
cook: Remove some silly Doxygen comments
12 years ago
Diego Biurrun
8a61ba0e81
cook: Remove senseless maybe_reformat_buffer32() function
12 years ago
Diego Biurrun
f23b4a0682
cook: cosmetics: Better names for joint_decode() function parameters
12 years ago
Diego Biurrun
20015379a4
cook: cosmetics: Better name for ccpl COOKSubpacket member
12 years ago
Diego Biurrun
13bbefd57e
doxygen: Add av_alloc_size to list of predefined macros
...
This avoids Doxygen believing the attribute is the function name.
12 years ago
Diego Biurrun
74e742d6ad
doxygen: Drop some pointless entries from PREDEFINED macros list
12 years ago
Janne Grunau
154ff81870
h263: avoid memcpys over array bound in motion vector caching for obmc
...
Fixes CID602232.
12 years ago
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>
12 years ago
Michael Kostylev
eadfb0560a
configure: recognise more sparc variants as --cpu argument
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
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>
12 years ago
Luca Barbato
254056c4ab
pcm: change references to raw to pcm
12 years ago
Luca Barbato
22f7942fe7
ffv1: set the range coder state in decode_slice_header
24 years ago
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.
12 years ago
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().
12 years ago
Janne Grunau
285b706b55
avfilter: fix graphparser memleaks on error paths
...
Fixes CID700635, CID700636 and CID732274.
12 years ago
Luca Barbato
587874ef1c
rawdec: remove ff_raw_read_header
...
It is not used anymore and is a kludge.
12 years ago
Luca Barbato
2ef4d586d6
pcmdec: remove dependency from rawdec
...
The code shared is not actually shared with anything else.
12 years ago
Luca Barbato
5f0e161dd6
g722: refactor out of rawdec.c
12 years ago
Luca Barbato
42c26a4864
rawvideo: use a specific read_header
...
ff_raw_read_header is used only for this demuxer for video.
12 years ago
Diego Biurrun
2a91ada828
avutil: Make LZO decoder code configure-time selectable
12 years ago
Diego Biurrun
5bac2d0c30
avutil: Move memcpy_backptr() to mem.c
...
The function is used elsewhere and does not belong with the LZO code.
12 years ago
Mans Rullgard
a6e9d64977
configure: detect parisc64 automatically
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
56203596ae
configure: detect ppc64 automatically
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
2acda282eb
configure: detect mips64 automatically
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
d4c99513f4
configure: generalise 64-bit test
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
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>
12 years ago
Anton Khirnov
292a08cbab
asfdec: cosmetics, reformat ff_asf_parse_packet()
12 years ago
Anton Khirnov
5a9567631a
g.723.1: add missing CODEC_CAP_DR1
12 years ago
Anton Khirnov
8e84f2055c
avconv: remove now unneeded calls to avcodec_get_frame_defaults().
12 years ago
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.
12 years ago
Justin Ruggles
c68317ebbe
lavc: fix documentation for AVCodecContext.delay
12 years ago
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.
12 years ago
Justin Ruggles
a5ef830b12
lavc: use the correct API version guard macro for avcodec_encode_audio()
12 years ago
Diego Biurrun
5e28e97433
Move Doxyfile into the doc/ subdirectory
12 years ago