Anton Khirnov
3799376dd3
lavfi/fifo: fix flushing when using request_samples
...
If any samples are still buffered when request_frame returns EOF, they
won't be returned currently.
11 years ago
Anton Khirnov
06cd4c5a68
avconv: fix usage of deprecated lavfi API
11 years ago
Anton Khirnov
612a5049d9
avserver: do not use a static string as a default for a string option
...
Fixes an invalid free.
Bug-id: 448
11 years ago
Alexandra Khirnova
7684a36113
mxfenc: switch to av_reallocp_array() and check allocation errors
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Luca Barbato
a10c4ce24b
aac: Forward errors properly in aac_decode_frame_int
...
Incidentally also remove a warning.
11 years ago
Luca Barbato
71953ebcf9
aac: Check init_get_bits return value
...
Some code paths can call it with invalid length.
CC: libav-stable@libav.org
11 years ago
Anton Khirnov
51fc88e746
avconv: improve some variable names
...
'filter' is too generic, since the functions in question deal with
several filters.
Also add const qualifiers to those variables.
11 years ago
Anton Khirnov
77cc958f60
lavfi: add const to the AVFilter parameter of avfilter_graph_create_filter()
...
This function should never modify the filter.
11 years ago
Diego Biurrun
6da5b57da1
configure: Check for GCC diagnostic pragma support inside of functions
...
The actual usage of the pragma is within functions and older versions
of gcc only support the pragma outside of functions.
11 years ago
Yusuke Nakamura
a8b19271c3
avcodec: Add output_picture_number to AVCodecParserContext
...
Set output_picture_number in H.264 parser.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years ago
Diego Biurrun
7950e519bb
Disable deprecation warnings for cases where a replacement is available
11 years ago
Diego Biurrun
3a7050ffed
build: Add _Pragma macro to disable deprecated declaration warnings
11 years ago
Diego Biurrun
79be2c325c
doc/print_options: Move options headers to a saner place
11 years ago
Diego Biurrun
b5a138652f
Give less generic names to global library option arrays
11 years ago
Gavriloaie Eugen-Andrei
0d6fa3977b
rtmp: Add seek support
...
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Vittorio Giovara
0d8b943d20
h264_sei: Return meaningful values
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years ago
Vittorio Giovara
b18412171f
h264_sei: K&R formatting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years ago
Diego Biurrun
4c7fd58f8a
h264_sei: Remove pointless old comment
11 years ago
Diego Biurrun
9ea24e927e
twinvq: Add proper twinvq prefixes to identifiers
11 years ago
Diego Biurrun
f900f35ac8
flvdec: Eliminate completely silly goto
11 years ago
Diego Biurrun
e4529df944
flvdec: K&R formatting cosmetics
11 years ago
Diego Biurrun
390b4d7088
flvdec: Fix = vs. == typo in sample rate check
11 years ago
Martin Storsjö
fd8f91e3f4
rtsp: Simplify code for forming the remote peer url
...
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Vittorio Giovara
3c8bff0740
avframe: have av_frame_get_side_data take const AVFrame*
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Martin Storsjö
ee37d5811c
rtpproto: Allow specifying a separate rtcp port in ff_rtp_set_remote_url
...
A separate rtcp port can already be set when opening the rtp
protocol normally, but when doing port setup as in RTSP (where
we first need to open the local ports and pass them to the peer,
and only then receive the remote peer port numbers), we didn't
check the same url parameter as in the normal open routine.
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Martin Storsjö
1851e1d05d
rtpproto: Check the size before reading buf[1]
...
I doubt that anyone ever would try to send a 1 byte packet
via the RTP protocol, but check just in case - it shouldn't
crash at least.
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Vittorio Giovara
7748dd41be
avconv: add -n option to immediately exit when output files already exist
...
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Martin Storsjö
b85dbe68e2
avconv: Call exit_program instead of exit in avconv_opt as well
...
This seems to have been missed in 636ced8e1d
.
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Martin Storsjö
c7e921a54f
avopt: Check whether the object actually has got an AVClass
...
AVIOContext has got an av_class member that only gets set if
opening the context using avio_open2, but not if allocating a
custom IO context. A caller that wants to read AVOptions from
an AVIOContext (recursively using AV_OPT_SEARCH_CHILDREN) may
not know if the AVIOContext actually has got a class set or not.
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Martin Storsjö
b7e6da988b
rtpproto: Move rtpproto specific function declarations to a separate header
...
Mixing these with the rtp depacketizer functions in rtpdec.h is
no good.
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Martin Storsjö
892b0be1df
rtpproto: Simplify the rtp_read function by looping over the fds
...
This avoids having duplicate code where only the fd parameter
differs.
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Martin Storsjö
7531588fff
rtpproto: Remove a misplaced comment
...
The fdset is a pollfd array nowadays, and it is already populated
at this point.
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Martin Storsjö
54e03ff6af
rtpproto: Support nonblocking reads
...
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Martin Storsjö
2e814d0329
rtpenc: Simplify code by introducing a macro for rescaling NTP timestamps
...
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Diego Biurrun
45dd1ae1b3
avfilter: Add some missing FF_API_AVFILTERBUFFER ifdefs
11 years ago
Diego Biurrun
c2e936de07
tree-test: Refactor and plug memory leaks
...
With the most annoying memory leak found by Derek Buitenhuis.
11 years ago
Diego Biurrun
a9b04b2c43
tree.h: K&R formatting and typo cosmetics
11 years ago
Michael Niedermayer
9696740af7
hls: Call avformat_find_stream_info() on the chained demuxers
...
This allows the chained demuxer (or more precisely, the lavf
utility code) to better fill in timestamps on packets from
these, especially for cases where one stream is a raw ADTS
stream.
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Diego Biurrun
78b4bfdb84
Replace remaining obsolete PIX_FMT names with AV_PIX_FMT equivalents
11 years ago
Ed Torbett
1f57d60129
rtsp: Support RFC4570 (source specific multicast) more properly.
...
Add support for domain names, for multiple source addresses,
for exclusions, and for session level specification of addresses.
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Ed Torbett
7497222090
rtpproto: Support more than one SSM include address, support excludes
...
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Ed Torbett
7d99c92945
udp: Keep track of include and exclude sources separately
...
This allows us to explicitly fail if the caller tried to set
both inclusions and exclusions at the same time.
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Ed Torbett
3357bccc5c
udp: Allow specifying multicast include/blocks as host names as well
...
Previously this only allowed literal IP addresses. When these
are conveyed in a SDP file as in RFC4570, host names are allowed
as well.
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Diego Biurrun
0e8c6f221a
avisynth: Fix a "AVISynth" vs. "AviSynth" struct name typo
...
Also fix some similar typos in comments and documentation.
11 years ago
Diego Biurrun
4822ee3ca6
configure: Detect AIX ar command instead of hardcoding it in the OS section
11 years ago
Diego Biurrun
711c4da1af
fate: Add tree test
11 years ago
Diego Biurrun
d99a2b6d0a
avutil/tree: Drop debug messages that clutter the output
11 years ago
Diego Biurrun
10db1a9bca
avutil/tree: K&R formatting cosmetics
11 years ago
Diego Biurrun
c47037c7a1
fate: Add timefilter test
11 years ago
Martin Storsjö
06205b5efd
hls: Free packets when skipping packets when seeking
...
This fixes memory leaks present since 2b3d041cdc
.
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago