X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Frtmpcrypt.c;h=dfdd029a53560a8fc67f363c73940a86dc877cbb;hb=1296b1f6c0631ab79464e22d48a6a1548450b943;hp=6a4332de865845e4b05146a65a6a8b45596a7685;hpb=08cd95e8a37674401ed24e5e6f4f7402edb7fdeb;p=ffmpeg diff --git a/libavformat/rtmpcrypt.c b/libavformat/rtmpcrypt.c index 6a4332de865..dfdd029a535 100644 --- a/libavformat/rtmpcrypt.c +++ b/libavformat/rtmpcrypt.c @@ -1,5 +1,7 @@ /* * RTMPE network protocol + * Copyright (c) 2008-2009 Andrej Stepanchuk + * Copyright (c) 2009-2010 Howard Chu * Copyright (c) 2012 Samuel Pitoiset * * This file is part of Libav. @@ -311,7 +313,7 @@ static int rtmpe_write(URLContext *h, const uint8_t *buf, int size) #define DEC AV_OPT_FLAG_DECODING_PARAM static const AVOption ffrtmpcrypt_options[] = { - {"ffrtmpcrypt_tunneling", "Use a HTTP tunneling connection (RTMPTE).", OFFSET(tunneling), AV_OPT_TYPE_INT, {0}, 0, 1, DEC}, + {"ffrtmpcrypt_tunneling", "Use a HTTP tunneling connection (RTMPTE).", OFFSET(tunneling), AV_OPT_TYPE_INT, {.i64 = 0}, 0, 1, DEC}, { NULL }, };