diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2015-11-20 03:08:34 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-11-20 20:01:05 +0100 |
commit | 3444c00aab6e187360a5aa66216abeb15d26ddc6 (patch) | |
tree | d527da358ab65c39fb15052932d188fce36afbb5 /libavformat/ffm.h | |
parent | bf2590aed3e64d44a5e2430fdbe89f91f5e55bfe (diff) |
avformat/ffmdec: Add cleaner API for ffserver to interface without depending on internal ABI
Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/ffm.h')
-rw-r--r-- | libavformat/ffm.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ |