modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/pr32372.c (about)

     1  typedef struct AVCodecContext
     2  {
     3    int flags;
     4    void *priv_data;
     5    char codec_name[32];
     6  }
     7  AVCodecContext;
     8  typedef struct ScanTable
     9  {
    10    int obmc;
    11    int umvplus;
    12    int h263_aic;
    13  }
    14  MpegEncContext;
    15  MPV_encode_init (AVCodecContext *avctx)
    16  {
    17    MpegEncContext *s = avctx->priv_data;
    18    s->umvplus = (avctx->flags & 0x02000000) ? 1 : 0;
    19    s->h263_aic = (avctx->flags & 0x01000000) ? 1 : 0;
    20    s->h263_aic = s->obmc || s->umvplus;
    21  }