*
* This is free software; see GPL.txt
*/
-#include <avformat.h>
+#include <libavformat/avformat.h>
AVFormatContext *open_output_stream(const char *dst, int port, enum CodecType codec_type)
return s;
}
+int close_output_stream(AVFormatContext *s)
+{
+ url_fclose(s->pb);
+ return 0;
+}
+
int pkt_send(AVFormatContext *ctx, AVPacket *pkt)
{
static int inited; /* FIXME: HACK! */