[FFmpeg-devel] [PATCH] lavf: add samba protocol via libsmbclient

Timothy Gu timothygu99 at gmail.com
Sat Jul 12 22:00:01 CEST 2014


On Jul 12, 2014 9:21 AM, "Lukasz Marek" <lukasz.m.luki2 at gmail.com> wrote:
>
> ---
>  Changelog                  |   1 +
>  configure                  |   5 ++
>  doc/general.texi           |   1 +
>  doc/protocols.texi         |  29 +++++++
>  libavformat/Makefile       |   1 +
>  libavformat/allformats.c   |   1 +
>  libavformat/libsmbclient.c | 207
+++++++++++++++++++++++++++++++++++++++++++++
>  7 files changed, 245 insertions(+)
>  create mode 100644 libavformat/libsmbclient.c
>
[...]
> diff --git a/configure b/configure
> index e39ecb9..3096a8f 100755
> --- a/configure
> +++ b/configure
> @@ -230,6 +230,7 @@ External library support:
>    --enable-libsoxr         enable Include libsoxr resampling [no]
>    --enable-libspeex        enable Speex de/encoding via libspeex [no]
>    --enable-libssh          enable SFTP protocol via libssh [no]
> +  --enable-libsmbclient    enable Samba protocol via libsmbclient [no]

m is before o

>    --enable-libstagefright-h264  enable H.264 decoding via libstagefright
[no]
>    --enable-libtheora       enable Theora encoding via libtheora [no]
>    --enable-libtwolame      enable MP2 encoding via libtwolame [no]
> @@ -1349,6 +1350,7 @@ EXTERNAL_LIBRARY_LIST="
>      librtmp
>      libschroedinger
>      libshine
> +    libsmbclient
>      libsoxr
>      libspeex
>      libssh
> @@ -2472,6 +2474,7 @@ librtmpe_protocol_deps="librtmp"
>  librtmps_protocol_deps="librtmp"
>  librtmpt_protocol_deps="librtmp"
>  librtmpte_protocol_deps="librtmp"
> +libsmbclient_protocol_deps="libsmbclient gpl"
>  libssh_protocol_deps="libssh"
>  mmsh_protocol_select="http_protocol"
>  mmst_protocol_select="network"
> @@ -4248,6 +4251,7 @@ die_license_disabled gpl libxavs
>  die_license_disabled gpl libxvid
>  die_license_disabled gpl libzvbi
>  die_license_disabled gpl x11grab
> +die_license_disabled gpl libsmbclient

Alphabetical order please.

>
>  die_license_disabled nonfree libaacplus
>  die_license_disabled nonfree libfaac
> @@ -4746,6 +4750,7 @@ enabled libschroedinger   && require_pkg_config
schroedinger-1.0 schroedinger/sc
>  enabled libshine          && require_pkg_config shine shine/layer3.h
shine_encode_buffer
>  enabled libsoxr           && require libsoxr soxr.h soxr_create -lsoxr
>  enabled libssh            && require_pkg_config libssh libssh/sftp.h
sftp_init
> +enabled libsmbclient      && require_pkg_config smbclient libsmbclient.h
smbc_init

Here too.

>  enabled libspeex          && require libspeex speex/speex.h
speex_decoder_init -lspeex
>  enabled libstagefright_h264 && require_cpp libstagefright_h264
"binder/ProcessState.h media/stagefright/MetaData.h
>      media/stagefright/MediaBufferGroup.h media/stagefright/MediaDebug.h
media/stagefright/MediaDefs.h

[...]

Timothy


More information about the ffmpeg-devel mailing list