diff --git a/ffmpeg.c b/ffmpeg.c
index 9ae197acec9e24adc1aff3fa33abd1b44b164740..fe8b3446b8b0221204ea8d1a1244692a9b145d33 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -306,7 +306,6 @@ typedef struct InputStream {
     AVStream *st;
     int discard;             /* true if stream data should be discarded */
     int decoding_needed;     /* true if the packets must be decoded in 'raw_fifo' */
-    int64_t sample_index;      /* current sample */
     AVCodec *dec;
 
     int64_t       start;     /* time when read started */
@@ -317,10 +316,6 @@ typedef struct InputStream {
     int is_start;            /* is 1 at the start and after a discontinuity */
     int showed_multi_packet_warning;
     int is_past_recording_time;
-#if CONFIG_AVFILTER
-    AVFrame *filter_frame;
-    int has_filter_frame;
-#endif
 } InputStream;
 
 typedef struct InputFile {