Diego Biurrun
381dc1a5ec
fate: ac3: Place E-AC-3 tests and AC-3 tests in different groups
12 years ago
Diego Biurrun
e519990ced
fate: Add shorthands for acodec PCM and ADPCM tests
12 years ago
Diego Biurrun
70478746a9
avconv: Drop unused function argument from do_video_stats()
12 years ago
Diego Biurrun
ab79966475
cmdutils: Conditionally compile libswscale-related bits
...
This fixes compilation with libswscale disabled.
12 years ago
Diego Biurrun
72c758f1fd
aacenc: Drop some unused function arguments
12 years ago
Martin Storsjö
f21d5c905d
rtsp: Avoid a cast when calling strtol
...
This gets rid of this warning:
libavformat/rtsp.c: In function ‘rtsp_parse_transport’:
libavformat/rtsp.c:794: warning: cast discards qualifiers from pointer target type
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Luca Barbato
d4bff9f1ab
nut: support textual data
...
Plain text (utf8 encoded) data can be muxed and demuxed in nut.
12 years ago
Luca Barbato
07585ffa62
nutenc: verbosely report unsupported negative pts
...
Additionally use the correct error number.
12 years ago
Anton Khirnov
f174fbac3c
lavc: add CODEC_CAP_DR1 to all video decoders missing them
12 years ago
Martin Storsjö
48f01398ba
rtpdec: Cosmetic cleanup
...
Mainly clean up the RTP statistics code, plus a few other obviously
misindentend lines.
Remove some useless comments, de-doxygenize some comments,
add spacing around operators and fix a typo.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
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