Replace Libav with FFmpeg in license headers for files created by me

Signed-off-by: Paul B Mahol <onemda@gmail.com>
pixdesc: fix project reference in comment

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
formats.h: fix project reference in comment

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
vf_ass: fix table name to refer to correct lib.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
dca: fix project reference in table name

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avutil: fix project name reference in doxy section

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffplay: fix wrong reference to function in audio_decode_frame() comment

The comment now references swr_convert(), rather than audio_convert(),
which was deprecated and/or dropped.
ffplay: avoid useless NULL checks in swr_free()

swr_free() already checks for nullness, no need to add the check in
calling code.
dca: favor native over ffmpeg in table name

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
rtpdec: Don't explicitly include unistd.h any longer

unistd.h used to be required for gethostname. On windows, gethostname
is provided by winsock2.h. Now network.h includes both unistd.h and
winsock2.h if they exist.

Signed-off-by: Martin Storsjö <martin@martin.st>
doc: Indicate that RTMPT is natively implemented in libavformat

Signed-off-by: Martin Storsjö <martin@martin.st>
lavf/applehttp: add log message in case of applehttp_read_header() failure

Improve error reporting.
lavf/segment: fix command with missing -list option

Replace -list with the correct option -segment_list.
lavf/segment: add some debugging logs
random_seed: Only read /dev/*random if we have unistd.h

unistd.h is used for open/read/close, but if this header does not
exist, there's probably no use in trying to open /dev/*random
at all.

Signed-off-by: Martin Storsjö <martin@martin.st>
file: Only include unistd.h if it exists

It is included for the open/read/write/close functions. On
MSVC, where this header does not exist, the same functions
are provided by io.h, which is already included.

On windows, these functions are provided by io.h. Make sure
io.h is included if it exists, regardless of the setmode
function.

Signed-off-by: Martin Storsjö <martin@martin.st>
cosmetics: minor libavcodec spelling errors

Also update some common misspelled words in patcheck

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat: disable seeking on FIFOs/named pipes

Patch is addition to my previous patch
(https://lists.ffmpeg.org/pipermail/ffmpeg-cvslog/2012-June/051590.html)
and disables seeking on FIFOs/named pipes by setting
URLContext::is_streamed (same as pipe: protocol does for stdin/stdout pipes)

Fixes Ticket986

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
lavf: allow multiple names in output devices selected by av_guess_format()

Consistent with av_find_input_format().
lavf/segment: add stream_segment variant of the segment muxer

This simplifies usage for segment streaming formats with no global
headers, tipically MPEG 2 transport stream "ts" files.

The seg class duplication is required in order to avoid an infinite loop
in libavformat/utils.c:format_child_next_class().