#define BOUNDARY_TAG "ffserver"
+#ifdef CONFIG_ENCODERS
static int mpjpeg_write_header(AVFormatContext *s)
{
uint8_t buf1[256];
}
static int mpjpeg_write_packet(AVFormatContext *s, int stream_index,
- uint8_t *buf, int size, int force_pts)
+ const uint8_t *buf, int size, int64_t pts)
{
uint8_t buf1[256];
}
static int single_jpeg_write_packet(AVFormatContext *s, int stream_index,
- uint8_t *buf, int size, int force_pts)
+ const uint8_t *buf, int size, int64_t pts)
{
put_buffer(&s->pb, buf, size);
put_flush_packet(&s->pb);
av_register_output_format(&single_jpeg_format);
return 0;
}
+#endif //CONFIG_ENCODERS