]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/rtmpcrypt.c
AVFrame: deprecate all now unused fields
[ffmpeg] / libavformat / rtmpcrypt.c
index 6a4332de865845e4b05146a65a6a8b45596a7685..dfdd029a53560a8fc67f363c73940a86dc877cbb 100644 (file)
@@ -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 },
 };