]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/h264dec.h
avcodec/cuvid: use pkt_timebase instead of time_base
[ffmpeg] / libavcodec / h264dec.h
index 9483efbc436f3ba1070d297ce7af838ba8c8feb5..c8b7e663b3d66268084c559e85aaa2205d83c729 100644 (file)
@@ -55,8 +55,6 @@
 
 #define MAX_DELAYED_PIC_COUNT  16
 
-#define MAX_MBPAIR_SIZE (256*1024) // a tighter bound could be calculated if someone cares about a few bytes
-
 /* Compiling in interlaced support reduces the speed
  * of progressive decoding by about 2%. */
 #define ALLOW_INTERLACE
@@ -384,6 +382,11 @@ typedef struct H264Context {
      */
     int postpone_filter;
 
+    /*
+     * Set to 1 when the current picture is IDR, 0 otherwise.
+     */
+    int picture_idr;
+
     int8_t(*intra4x4_pred_mode);
     H264PredContext hpc;