]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/eatgq.c
h264.c: constify all uses of H264Context in slice and lower-level functions
[ffmpeg] / libavcodec / eatgq.c
index d8320c9f1d56d19a8465fb9fc70259d8c8fa3293..3d20c6c8ea21329dee286463a8490eb8b17fcab7 100644 (file)
@@ -51,9 +51,9 @@ static av_cold int tgq_decode_init(AVCodecContext *avctx)
     TgqContext *s = avctx->priv_data;
     uint8_t idct_permutation[64];
     s->avctx = avctx;
-    ff_init_scantable_permutation(idct_permutation, FF_NO_IDCT_PERM);
+    ff_init_scantable_permutation(idct_permutation, FF_IDCT_PERM_NONE);
     ff_init_scantable(idct_permutation, &s->scantable, ff_zigzag_direct);
-    avctx->time_base = (AVRational){1, 15};
+    avctx->framerate = (AVRational){ 15, 1 };
     avctx->pix_fmt   = AV_PIX_FMT_YUV420P;
     return 0;
 }