Justin Ruggles
2fe804f316
bink: set channel layout
12 years ago
Justin Ruggles
ff50d27a63
bfi: set channel layout
12 years ago
Justin Ruggles
b5d1a15d1b
bethsoftvid: set channel layout
12 years ago
Justin Ruggles
39f0e9b8c6
apc: set channel layout
12 years ago
Justin Ruggles
5595368bcc
amr: set channel_layout
12 years ago
Justin Ruggles
a903f8f087
Include libavutil/channel_layout.h instead of libavutil/audioconvert.h
...
Also reorder some other #include when applicable.
12 years ago
Luca Abeni
e004d175fe
rtpenc_aac: Fix calculation of the header size
...
Previously the high end byte was always set to zero. Also get
rid of an unnecessary multiplication (which in practice couldn't
overflow) before shifting.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Diego Biurrun
92fec47d69
build: The A64 muxer depends on rawenc.o for ff_raw_write_packet()
12 years ago
Martin Storsjö
d578f94746
rtmp: Use av_strlcat instead of strncat
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Anton Khirnov
34871beb5e
matroskadec: do not use avpacket internals
12 years ago
Anton Khirnov
9221efef79
lavf: fix av_interleaved_write_frame() doxy.
...
A sentence was mistakenly inserted in the middle of another sentence.
12 years ago
Anton Khirnov
717a450993
lavf: clarify the lifetime of demuxed packets.
12 years ago
Martin Storsjö
2b831a59d9
rtpdec_vp8: Don't parse fields that aren't used
...
This avoids warnings about unused variables.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Anton Khirnov
fdc8672886
audiointerleave: deobfuscate a function call.
...
right above there is if (pkt) {<do stuff>; pkt = NULL}, so pkt is just a
fancy name for NULL at this point.
12 years ago
Anton Khirnov
179a5c37e0
rtpdec: factorize identical code used in several handlers
12 years ago
Anton Khirnov
f70381ab9d
a64: remove interleaved mode.
...
It has been disabled since it was added two years ago.
12 years ago
Luca Barbato
7658295ba3
pixfmt: support more yuva formats
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Anton Khirnov
ede4cedf47
dv: fix indentation
12 years ago
Anton Khirnov
14f031d7ec
dv: use AVStream.index instead of abusing AVStream.id
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
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
4521645b1a
avio: fix pointer type mismatches in avio_enum_protocols()
...
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
Luca Barbato
254056c4ab
pcm: change references to raw to pcm
12 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
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
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
Diego Biurrun
c2dac8ac7a
rtmppkt: Avoid unescaped backslash in Doxygen comment
12 years ago
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>
12 years ago
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>
12 years ago
Mans Rullgard
da0d0ae9a4
network: add fallbacks for INADDR_LOOPBACK and INET_ADDRSTRLEN
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Diego Biurrun
8f4c414df6
Improve wording and spelling of av_log_missing_feature messages.
12 years ago
Anton Khirnov
6173a8fe5d
riff: remove a write-only variable
12 years ago
Martin Storsjö
c3e15f7b39
rtpdec: Don't pass a non-AVClass pointer as log context
...
The log context is assumed to start with an AVClass pointer.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
e0d5ac6ae3
rtsp: Update a comment to the current filename scheme
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
2f41eaa9c6
rtsp: Make sure the ret variable is initialized in ff_rtsp_fetch_packet
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
3f055f8f5f
rtsp: Allow setting the reordering buffer size via an AVOption
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
1c37744963
rtsp: Vertically align a constant definition
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
0de9380be5
rtp: Update the check for distinguishing between RTP and RTCP
...
Also add enums for more RTCP packet types, according to the IANA
list of registered types.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago