From 3444c00aab6e187360a5aa66216abeb15d26ddc6 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 20 Nov 2015 03:08:34 +0100 Subject: avformat/ffmdec: Add cleaner API for ffserver to interface without depending on internal ABI Reviewed-by: Andreas Cadhalpun Signed-off-by: Michael Niedermayer --- libavformat/ffm.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavformat/ffm.h') diff --git a/libavformat/ffm.h b/libavformat/ffm.h index b392b8d8d8..c445f472f7 100644 --- a/libavformat/ffm.h +++ b/libavformat/ffm.h @@ -42,6 +42,7 @@ enum { }; typedef struct FFMContext { + const AVClass *class; /* only reading mode */ int64_t write_index, file_size; int read_state; @@ -55,6 +56,7 @@ typedef struct FFMContext { uint8_t *packet_ptr, *packet_end; uint8_t packet[FFM_PACKET_SIZE]; int64_t start_time; + int server_attached; } FFMContext; #endif /* AVFORMAT_FFM_H */ -- cgit v1.2.3