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

Michael Niedermayer michaelni at gmx.at
Sat Jul 12 22:31:53 CEST 2014


On Sat, Jul 12, 2014 at 06:20:46PM +0200, Lukasz Marek 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
[...]

> +static int libsmbc_open(URLContext *h, const char *url, int flags)
> +{
> +    LIBSMBContext *libsmbc = h->priv_data;
> +    int access, ret;
> +    struct stat st;
> +
> +    libsmbc->fd = -1;
> +    libsmbc->filesize = -1;
> +

> +    if ((ret = libsmbc_connect(h) < 0))
> +        goto fail;

the () look wrong here


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The greatest way to live with honor in this world is to be what we pretend
to be. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140712/ae15125f/attachment.asc>


More information about the ffmpeg-devel mailing list