+ static int write_srt_packet_thunk(void *opaque, uint8_t *buf, int buf_size);
+ int write_srt_packet(uint8_t *buf, int buf_size);
+ int open_srt_socket(); // Returns -1 on error.
+ int connect_to_srt(); // Returns -1 on error.
+
+ const AVOutputFormat *oformat, *srt_oformat;