avcodec/h264: avoid using lost frames as references
[ffmpeg.git] / libavcodec / mpegvideo.h
index afc9c51..8f7de9e 100644 (file)
@@ -204,6 +204,7 @@ typedef struct Picture{
     int reference;
     int shared;
     int recovered;              ///< Picture at IDR or recovery point + recovery count
+    int invalid_gap;
 
     int crop;
     int crop_left;