]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/intrax8.c
h264: allocate hwaccel privdata after the frame buffer
[ffmpeg] / libavcodec / intrax8.c
index a57e1f9bb71dec8afb3ab328ff2fa87679261583..b81a9ca9c4b76b5c02b9965ed919216ba0769d6d 100644 (file)
@@ -22,6 +22,7 @@
  */
 
 #include "avcodec.h"
+#include "error_resilience.h"
 #include "get_bits.h"
 #include "mpegvideo.h"
 #include "msmpeg4data.h"
@@ -773,7 +774,7 @@ int ff_intrax8_decode_picture(IntraX8Context * const w, int dquant, int quant_of
                 /*emulate MB info in the relevant tables*/
                 s->mbskip_table [mb_xy]=0;
                 s->mbintra_table[mb_xy]=1;
-                s->current_picture.f.qscale_table[mb_xy] = w->quant;
+                s->current_picture.qscale_table[mb_xy] = w->quant;
                 mb_xy++;
             }
             s->dest[0]+= 8;